Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GoogleCastRemoteControlConfig

Configuration interface for remote control of Google Cast (e.g. Chromecast) receivers.

Example (enable casting with Bitmovin receiver app and custom style):

{
  type: 'googlecast',
  customReceiverConfig: {
    receiverStylesheetUrl: 'https://mycdn.com/mycustomreceiverstyle.css',
  },
}

Example (custom receiver):

{
  type: 'googlecast',
  receiverApplicationId: '1234ABCD',
  customReceiverConfig: {
    customPropertyName: 'customValue',
  },
}

Hierarchy

  • GoogleCastRemoteControlConfig
    • GoogleCastRemoteControlConfig

Index

Properties

Optional customReceiverConfig

customReceiverConfig: RemoteControlCustomReceiverConfig

An arbitrary configuration object that is sent to the receiver when a connection is established. This object can carry configuration values that are of no concern to and are handled outside of the RemoteControl/ RemoteControlReceiver architecture.

Optional messageNamespace

messageNamespace: undefined | string

The message namespace for communication of advanced player functionality not covered by the Cast media controls. Only overwrite this if you are implementing your own custom receiver.

Optional receiverApplicationId

receiverApplicationId: undefined | string

The application ID of the Cast application that should be launched when connecting to a Cast receiver. Set this if you want to use your own custom receiver application. If unset, the Bitmovin player cast application is used.

Optional receiverVersion

receiverVersion: "v2" | "v3"

The receiver app version. This is only necessary if providing custom receiverApplicationId and it is using receiver app v3.

Default is 'v2'

since

8.43.0

Optional rejoinActiveSession

rejoinActiveSession: undefined | false | true

Specifies, whether an existing Cast session shall be re-joined rather than creating a new one when casting starts.

Default is false.

since

8.67.0

type

type: "googlecast"

Generated using TypeDoc