Class FakeMediaClockRenderer

    • Constructor Detail

      • FakeMediaClockRenderer

        public FakeMediaClockRenderer​(int trackType)
    • Method Detail

      • getMediaClock

        public MediaClock getMediaClock()
        Description copied from interface: Renderer
        If the renderer advances its own playback position then this method returns a corresponding MediaClock. If provided, the player will use the returned MediaClock as its source of time during playback. A player may have at most one renderer that returns a MediaClock from this method.
        Specified by:
        getMediaClock in interface Renderer
        getMediaClock in class BaseRenderer
        The MediaClock tracking the playback position of the renderer, or null.