Webcam Private API.
Webcam Private API. * available since Chrome 40
(close-webcam webcam-id)
Close a serial port connection to a webcam.
|webcam-id| - ?
Close a serial port connection to a webcam. |webcam-id| - ?
(get webcam-id)
|webcam-id| - ?
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 [configuration] where:
|configuration| - ?
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.
|webcam-id| - ? 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 [configuration] where: |configuration| - ? 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.
(open-serial-webcam path protocol)
Open a serial port that controls a webcam.
|path| - ? |protocol| - ?
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 [webcam-id] where:
|webcam-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.
Open a serial port that controls a webcam. |path| - ? |protocol| - ? 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 [webcam-id] where: |webcam-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.
(reset webcam-id config)
Reset a webcam. Note: the value of the parameter have no effect, it's the presence of the parameter that matters. E.g.: reset(webcamId, {pan: 0, tilt: 1}); will reset pan & tilt, but not zoom.
|webcam-id| - ? |config| - ?
Reset a webcam. Note: the value of the parameter have no effect, it's the presence of the parameter that matters. E.g.: reset(webcamId, {pan: 0, tilt: 1}); will reset pan & tilt, but not zoom. |webcam-id| - ? |config| - ?
(set webcam-id config)
|webcam-id| - ? |config| - ?
|webcam-id| - ? |config| - ?
(tap-all-events chan)
Taps all valid non-deprecated events in chromex.ext.webcam-private namespace.
Taps all valid non-deprecated events in chromex.ext.webcam-private namespace.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close