Skip to main content

Module cast

Module cast 

Source
Expand description

A domain for interacting with Cast, Presentation API, and Remote Playback API functionalities.

Method names for the Cast domain, for use with CdpClient::call.

This domain is experimental and may change without notice.

Constantsยง

DISABLE
Stops observing for sinks and issues.
ENABLE
Starts observing for sinks that can be used for tab mirroring, and if set, sinks compatible with |presentationUrl| as well. When sinks are found, a |sinksUpdated| event is fired. Also starts observing for issue messages. When an issue is added or removed, an |issueUpdated| event is fired.
SET_SINK_TO_USE
Sets a sink to be used when the web page requests the browser to choose a sink via Presentation API, Remote Playback API, or Cast SDK.
START_DESKTOP_MIRRORING
Starts mirroring the desktop to the sink.
START_TAB_MIRRORING
Starts mirroring the tab to the sink.
STOP_CASTING
Stops the active Cast session on the sink.