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: 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: 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.

type

type: "googlecast"

Generated using TypeDoc