Class OggTrackLoader


  • public class OggTrackLoader
    extends java.lang.Object
    Track loader for an OGG packet stream. Automatically detects the track codec and loads the specific track handler.
    • Constructor Detail

      • OggTrackLoader

        public OggTrackLoader()
    • Method Detail

      • loadTrackBlueprint

        public static OggTrackBlueprint loadTrackBlueprint​(OggPacketInputStream packetInputStream)
                                                    throws java.io.IOException
        Parameters:
        packetInputStream - OGG packet input stream
        Returns:
        The track handler detected from this packet input stream. Returns null if the stream ended.
        Throws:
        java.io.IOException - On read error
        java.lang.IllegalStateException - If the track uses an unknown codec.