CDPotion.Domain.Cast (cdpotion v0.1.0)
Summary
Functions
Stops observing for sinks and issues.
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.
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.
Starts mirroring the desktop to the sink.
Starts mirroring the tab to the sink.
Stops the active Cast session on the sink.
Functions
disable()
Stops observing for sinks and issues.
enable(presentation_url \\ nil)
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.
Parameters:
presentationUrl:string
: (Optional) description not provided :(
set_sink_to_use(sink_name)
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.
Parameters:
sinkName:string
: description not provided :(
start_desktop_mirroring(sink_name)
Starts mirroring the desktop to the sink.
Parameters:
sinkName:string
: description not provided :(
start_tab_mirroring(sink_name)
Starts mirroring the tab to the sink.
Parameters:
sinkName:string
: description not provided :(
stop_casting(sink_name)
Stops the active Cast session on the sink.
Parameters:
sinkName:string
: description not provided :(