com.mp4parser.streaming.extensions.NameTrackExtension Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of isoparser Show documentation
Show all versions of isoparser Show documentation
A generic parser and writer for all ISO 14496 based files (MP4, Quicktime, DCF, PDCF, ...)
package com.mp4parser.streaming.extensions;
import com.mp4parser.streaming.TrackExtension;
/**
* Gives a track a name.
*/
public class NameTrackExtension implements TrackExtension {
private String name;
public static NameTrackExtension create(String name) {
NameTrackExtension nameTrackExtension = new NameTrackExtension();
nameTrackExtension.name = name;
return nameTrackExtension;
}
public String getName() {
return name;
}
}