Liking cljdoc? Tell your friends :D

chromex.ext.cast.streaming.session

clj

The chrome.cast.streaming.session API creates a Cast session using WebMediaStreamTrack as sources. The session is composed by RTP streams and a network transport.

Calling this API will generate corresponding resources for use with chrome.cast.streaming.rtpStream and chrome.cast.streaming.udpTransport APIs.

Valid resource IDs are positive and non-zero.

The chrome.cast.streaming.session API creates a Cast
session using WebMediaStreamTrack as sources. The session is composed
by RTP streams and a network transport.

Calling this API will generate corresponding resources for use with
chrome.cast.streaming.rtpStream and chrome.cast.streaming.udpTransport
APIs.

Valid resource IDs are positive and non-zero.

  * available since Chrome 72
  * https://developer.chrome.com/extensions/cast.streaming.session
raw docstring

api-tableclj

source

createclj/smacro

(create)
(create audio-track)
(create audio-track video-track)

Creates a Cast session using the provided audio and video track as source. The tracks must be of type MediaStreamTrack. This will create two RTP streams and a UDP transport that builds the session. Either |audioTrack| or |videoTrack| can be null but not both. This means creating a session with only audio or video. If a given track is null then the created stream ID will be null.

|audio-track| - the source audio track. |video-track| - the source video track.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [audio-stream-id video-stream-id udp-transport-id] where:

|audio-stream-id| - The audio RTP stream ID. |video-stream-id| - The video RTP stream ID. |udp-transport-id| - The UDP transport ID.

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

https://developer.chrome.com/extensions/cast.streaming.session#method-create.

Creates a Cast session using the provided audio and video track as source. The tracks must be of type MediaStreamTrack.
This will create two RTP streams and a UDP transport that builds the session. Either |audioTrack| or |videoTrack| can be
null but not both. This means creating a session with only audio or video. If a given track is null then the created stream
ID will be null.

  |audio-track| - the source audio track.
  |video-track| - the source video track.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [audio-stream-id video-stream-id udp-transport-id] where:

  |audio-stream-id| - The audio RTP stream ID.
  |video-stream-id| - The video RTP stream ID.
  |udp-transport-id| - The UDP transport ID.

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.

https://developer.chrome.com/extensions/cast.streaming.session#method-create.
sourceraw docstring

create*cljs

(create* config audio-track video-track)
source

gen-callclj

source

gen-wrapclj/smacro

(gen-wrap kind item-id config & args)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.ext.cast.streaming.session namespace.

Taps all valid non-deprecated events in chromex.ext.cast.streaming.session namespace.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close