Camera
Wisej.Web.Ext.Camera.Camera
Last updated
Was this helpful?
Wisej.Web.Ext.Camera.Camera
Last updated
Was this helpful?
Namespace: Wisej.Web.Ext.Camera
Assembly: Wisej.Web.Ext.Camera (3.2.0.0)
The Camera component makes it possible to take pictures with the device's camera and upload them to the server.
Initializes a new instance of the class.
: Specifies whether audio should be recorded. (Default: False
)
If not specified or invalid it will use the first device returned by the browser.
Returns the names of the available video devices.
callback
Callback method to receive the device names.
Throws:
Returns the names of the available video devices.
refresh
Refreshes the list of devices from the browser.
callback
Callback method to receive the device names.
Throws:
Returns the names of the available video devices.
refresh
Refreshes the list of devices from the browser. Default is false.
Returns the current image from the camera.
callback
Throws:
Returns the current image from the camera asynchronously.
Starts recording.
format
bitsPerSecond
updateInterval
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
: Indicates the border style for the control. (Default: Solid
)
: Specifies the video device to use. (Default: ""
)
: Specifies whether the video is front-facing (mobile-only). (Default: True
)
: Video capture resolution - Height (Default: True
)
: Specifies whether the media should be mirrored. (Default: False
)
: Specifies the object-fit to apply to the video. (Default: True
)
See .
: Specifies whether video should be recorded. (Default: True
)
: Returns or sets the filter () to apply to the video. (Default: null
)
: Video capture resolution - Width (Default: True
)
callback is null.
callback is null.
Returns: . An awaitable .
Callback method to receive the or null.
callback is null.
Returns: . An awaitable .
The video encoding mime type format, .
Audio and video bits per second. .
Update interval in seconds. The default is zero causing the video to be uploaded on .
You must call to end recording.
Stops recording and uploads the recorded stream to the event.
Fired when an error occurs in the camera setup or usage.
Fired while the control receives the recording stream being uploaded.
Fired when the current recording is available for download.