Class HttpAudioTrack

    • Constructor Detail

      • HttpAudioTrack

        public HttpAudioTrack​(AudioTrackInfo trackInfo,
                              MediaContainerDescriptor containerTrackFactory,
                              HttpAudioSourceManager sourceManager)
        Parameters:
        trackInfo - Track info
        containerTrackFactory - Container track factory - contains the probe with its parameters.
        sourceManager - Source manager used to load this track
    • Method Detail

      • getContainerTrackFactory

        public MediaContainerDescriptor getContainerTrackFactory()
        Returns:
        The media probe which handles creating a container-specific delegated track for this track.
      • process

        public void process​(LocalAudioTrackExecutor localExecutor)
                     throws java.lang.Exception
        Description copied from interface: InternalAudioTrack
        Perform any necessary loading and then enter the read/seek loop
        Parameters:
        localExecutor - The local executor which processes this track
        Throws:
        java.lang.Exception - In case anything explodes.