com.mp4parser.streaming.extensions.TrackIdTrackExtension 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;
/**
* Specifies the track ID of a track - if not set it's up to the StreamingMp4Writer to assume one.
*/
public class TrackIdTrackExtension implements TrackExtension {
private long trackId = 1;
public TrackIdTrackExtension(long trackId) {
this.trackId = trackId;
}
public long getTrackId() {
return trackId;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy