Colibrio Reader Framework API - Cloud license
    Preparing search index...

    Interface ISyncMediaObjectRenderer

    SyncMediaObjectRenderers are responsible for playback of MediaObjects from a SyncMediaTimeline. For example, the SyncMediaAudioRenderer implementation can be used for playback of audio in a SyncMediaTimeline. A ISyncMediaObjectRenderer is typically responsible for one type of media and may support multiple formats.

    You create and configure SyncMediaObjectRenderers as you setup a SyncMediaPlayer using SyncMediaPlayer.addMediaObjectRenderer()

    When the SyncMediaPlayer plays a SyncMediaTimelineSegment, each SyncMediaObjectRenderer added to the SyncMediaPlayer inspects the segment's SyncMediaObjectRef list to check if there are any SyncMediaObjectRefType compatible with the renderer.

    interface ISyncMediaObjectRenderer {
        getSupportedMediaObjectRefType(): string;
    }

    Hierarchy (View Summary)

    Implemented by

    Methods

    • Get the list of SyncMediaObjectRefTypes that this renderer supports.

      Returns string