Desktop Capture API that can be used to capture content of screen, individual windows or tabs.
Desktop Capture API that can be used to capture content of screen, individual windows or tabs. * available since Chrome 34 * https://developer.chrome.com/extensions/desktopCapture
(cancel-choose-desktop-media desktop-media-request-id)
Hides desktop media picker dialog shown by chooseDesktopMedia().
|desktop-media-request-id| - Id returned by chooseDesktopMedia()
https://developer.chrome.com/extensions/desktopCapture#method-cancelChooseDesktopMedia.
Hides desktop media picker dialog shown by chooseDesktopMedia(). |desktop-media-request-id| - Id returned by chooseDesktopMedia() https://developer.chrome.com/extensions/desktopCapture#method-cancelChooseDesktopMedia.
(cancel-choose-desktop-media* config desktop-media-request-id)
(choose-desktop-media sources)
(choose-desktop-media sources target-tab)
Shows desktop media picker UI with the specified set of sources.
|sources| - Set of sources that should be shown to the user. The sources order in the set decides the tab order in the picker. |target-tab| - Optional tab for which the stream is created. If not specified then the resulting stream can be used only by the calling extension. The stream can only be used by frames in the given tab whose security origin matches tab.url. The tab's origin must be a secure origin, e.g. HTTPS.
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 [stream-id options] where:
|stream-id| - An opaque string that can be passed to getUserMedia() API to generate media stream that corresponds to the source selected by the user. If user didn't select any source (i.e. canceled the prompt) then the callback is called with an empty streamId. The created streamId can be used only once and expires after a few seconds when it is not used. |options| - Contains properties that describe the stream.
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/desktopCapture#method-chooseDesktopMedia.
Shows desktop media picker UI with the specified set of sources. |sources| - Set of sources that should be shown to the user. The sources order in the set decides the tab order in the picker. |target-tab| - Optional tab for which the stream is created. If not specified then the resulting stream can be used only by the calling extension. The stream can only be used by frames in the given tab whose security origin matches tab.url. The tab's origin must be a secure origin, e.g. HTTPS. 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 [stream-id options] where: |stream-id| - An opaque string that can be passed to getUserMedia() API to generate media stream that corresponds to the source selected by the user. If user didn't select any source (i.e. canceled the prompt) then the callback is called with an empty streamId. The created streamId can be used only once and expires after a few seconds when it is not used. |options| - Contains properties that describe the stream. 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/desktopCapture#method-chooseDesktopMedia.
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.ext.desktop-capture namespace.
Taps all valid non-deprecated events in chromex.ext.desktop-capture namespace.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close