Liking cljdoc? Tell your friends :D

chromex.ext.webrtc-audio-private

clj

The chrome.webrtcAudioPrivate API allows enumeration of audio output (sink) devices.

Note that device IDs as used in this API are opaque (i.e. they are not the hardware identifier of the device) and while they are unique and persistent across sessions, they are valid only to the extension calling this API (i.e. they cannot be shared between extensions).

See http://goo.gl/8rOmgk for further documentation of this API.

  • available since Chrome 32
The chrome.webrtcAudioPrivate API allows enumeration
of audio output (sink) devices.

Note that device IDs as used in this API are opaque (i.e. they are
not the hardware identifier of the device) and while they are
unique and persistent across sessions, they are valid only to the
extension calling this API (i.e. they cannot be shared between
extensions).

See http://goo.gl/8rOmgk for further documentation of this API.

  * available since Chrome 32
raw docstring

api-tableclj

source

gen-callclj

source

gen-wrapclj/smacro

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

get-associated-sinkclj/smacro

(get-associated-sink security-origin source-id-in-origin)

Given a security origin and an input device ID valid for that security origin, retrieve an audio sink ID valid for the extension, or the empty string if there is no associated audio sink.The associated sink ID can be used as a sink ID for setActiveSink. It is valid irrespective of which process you are setting the active sink for.

|security-origin| - ? |source-id-in-origin| - ?

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 [sink-id] where:

|sink-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.

Given a security origin and an input device ID valid for that security origin, retrieve an audio sink ID valid for the
extension, or the empty string if there is no associated audio sink.The associated sink ID can be used as a sink ID for
setActiveSink. It is valid irrespective of which process you are setting the active sink for.

  |security-origin| - ?
  |source-id-in-origin| - ?

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 [sink-id] where:

  |sink-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.
sourceraw docstring

get-associated-sink*cljs

(get-associated-sink* config security-origin source-id-in-origin)
source

get-sinksclj/smacro

(get-sinks)

Retrieves a list of available audio sink devices.

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 [sink-info] where:

|sink-info| - ?

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.

Retrieves a list of available audio sink devices.

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 [sink-info] where:

  |sink-info| - ?

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.
sourceraw docstring

get-sinks*cljs

(get-sinks* config)
source

on-sinks-changed*cljs

(on-sinks-changed* config channel & args)
source

set-audio-experimentsclj/smacro

(set-audio-experiments request security-origin audio-experiments)

Sets the active audio experiments.

|request| - Information about the requesting process. |security-origin| - The origin to restrict the settings to. |audio-experiments| - The experiments to enable or disable.

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 [].

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.

Sets the active audio experiments.

  |request| - Information about the requesting process.
  |security-origin| - The origin to restrict the settings to.
  |audio-experiments| - The experiments to enable or disable.

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 [].

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.
sourceraw docstring

set-audio-experiments*cljs

(set-audio-experiments* config request security-origin audio-experiments)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.ext.webrtc-audio-private namespace.

Taps all valid non-deprecated events in chromex.ext.webrtc-audio-private namespace.
sourceraw docstring

tap-on-sinks-changed-eventsclj/smacro

(tap-on-sinks-changed-events channel & args)

Fired when audio sink devices are added or removed.

Events will be put on the |channel| with signature [::on-sinks-changed []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Fired when audio sink devices are added or removed.

Events will be put on the |channel| with signature [::on-sinks-changed []].

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

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

× close