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

    Represents a segment within a SyncMediaTimeline, containing information about all SyncMediaObjectRefs that will be played in parallel.

    interface ISyncMediaSegmentData {
        approximateDurationMs: number;
        durationType: SyncMediaSegmentDurationType;
        readerDocumentIndexInSpine: number;
        refs: ISyncMediaObjectRef[];
    }

    Properties

    approximateDurationMs: number

    The approximate duration of this segment. It is possible that the duration is updated during runtime as media is loaded and more information is available. If that happens, a syncMediaSegmentDurationChanged engine event will fire.

    The duration type of this segment. If UNKNOWN the approximateDurationMs is set to 0

    readerDocumentIndexInSpine: number

    The index in spine of the reader document the segment is associated with.

    The SyncMediaObjectRefs that belong to this segment.