The chrome.webrtc.castUdpTransport API represents a UDP transport for Cast RTP streams. This API is not useful when standalone since it does not have send and receive methods. It is used to configure the UDP transport used in Cast session.
Valid transport IDs are positive and non-zero.
The chrome.webrtc.castUdpTransport API represents a UDP transport for Cast RTP streams. This API is not useful when standalone since it does not have send and receive methods. It is used to configure the UDP transport used in Cast session. Valid transport IDs are positive and non-zero. * available since Chrome 81 * https://developer.chrome.com/extensions/cast.streaming.udpTransport
(destroy transport-id)
Destroys a UDP transport.
|transport-id| - The transport ID.
https://developer.chrome.com/extensions/cast.streaming.udpTransport#method-destroy.
Destroys a UDP transport. |transport-id| - The transport ID. https://developer.chrome.com/extensions/cast.streaming.udpTransport#method-destroy.
(set-destination transport-id destination)
Sets parameters for this UDP transport. This can only be called once per transport.
|transport-id| - The transport ID. |destination| - The address and port to send packets to.
https://developer.chrome.com/extensions/cast.streaming.udpTransport#method-setDestination.
Sets parameters for this UDP transport. This can only be called once per transport. |transport-id| - The transport ID. |destination| - The address and port to send packets to. https://developer.chrome.com/extensions/cast.streaming.udpTransport#method-setDestination.
(set-options transport-id options)
Sets the options. Attributes of this object will be used to activate optional behaviours in the transport. Normally this is only used for experimentation. Must be called before setDestination.
|transport-id| - The transport ID that is created by chrome.cast.streaming.session.create(). |options| - A dictionary of key-value pairs of options. See media/cast/net/cast_transport_sender_impl.h for supported options.
https://developer.chrome.com/extensions/cast.streaming.udpTransport#method-setOptions.
Sets the options. Attributes of this object will be used to activate optional behaviours in the transport. Normally this is only used for experimentation. Must be called before setDestination. |transport-id| - The transport ID that is created by chrome.cast.streaming.session.create(). |options| - A dictionary of key-value pairs of options. See media/cast/net/cast_transport_sender_impl.h for supported options. https://developer.chrome.com/extensions/cast.streaming.udpTransport#method-setOptions.
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.ext.cast.streaming.udp-transport namespace.
Taps all valid non-deprecated events in chromex.ext.cast.streaming.udp-transport namespace.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close