All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mp4parser.streaming.extensions.TrackIdTrackExtension Maven / Gradle / Ivy

Go to download

A generic parser and writer for all ISO 14496 based files (MP4, Quicktime, DCF, PDCF, ...)

There is a newer version: 1.1.22
Show newest version
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