Bitmovin Player React Native SDK - v1.1.0
    Preparing search index...

    Interface MediaControlConfig

    Configures the media control information for the application. This information will be displayed wherever current media information typically appears, such as the lock screen, in notifications, and and inside the control center.

    interface MediaControlConfig {
        isEnabled?: boolean;
    }
    Index

    Properties

    Properties

    isEnabled?: boolean

    Enable the default behavior of displaying media information on the lock screen, in notifications, and within the control center.

    Default is true.

    For a detailed list of the supported features in the default behavior, check the Default Supported Features section.

    Enabling this flag will automatically treat TweaksConfig.updatesNowPlayingInfoCenter as false.


    • Android: If an app creates multiple player instances, the player shown in media controls is the latest one created having media controls enabled.
    • At the moment, the current media information is disabled during casting.

    iOS:

    • There is unexpected behavior when using the IMA SDK. The Google IMA SDK adds its own commands for play/pause as soon as the ad starts loading (not when it starts playing). Within this window (approximately around 10 seconds), it is possible that both the ad and the main content are playing at the same time when a user interacts with the media control feature.

    Here is the list of features supported by the default behavior.

    • media type (to visualize the correct kind of data — e.g. a waveform for audio files)
    • title
    • artwork
    • elapsed time
    • duration

    Android-only

    • source description

    iOS-only

    • live or VOD status
    • playback rate
    • default playback rate
    • toggle play/pause
    • change playback position

    iOS-only

    • skip forward
    • skip backward
    • play
    • pause