Interface PlaybackSettingsAPI

The playback settings for all instances of THEOplayer.

interface PlaybackSettingsAPI {
    setLipSyncCorrection(correctionMs): void;
    useFastStartup(useFastStartup): void;
}

Methods

  • Experimental

    Sets the lip sync correction delay.

    This method adjusts the synchronization between audio and video playback for all instances of THEOplayer by applying a specified correction delay.

    Parameters

    • correctionMs: number

      The correction delay in milliseconds. Positive values advance the audio, while negative values delay it.

    Returns void

    Since

    Native THEOplayer SDK v8.1.0.

    Remarks

    • This API is experimental.
    • This property is supported on Android platforms only.
  • Experimental

    The player starts the playback as soon as the first video data is available related to the initial playback position.

    • Using this feature will sacrifice the accuracy of the initial seek position
    • This API is in an experimental stage and may be subject to breaking changes.

    Parameters

    • useFastStartup: boolean

      Whether fast startup is enabled.

    Returns void

    Remarks

    • This API is experimental.
    • This property is supported on Android platforms only.