VideoStreamRendererView interface
The view for a video stream.
- Extends
Properties
is |
Weather this view is mirrored. |
scaling |
The current scale mode for this view. |
target | The target html element in which the video stream is rendering on. Use this property and attach it to any UI html element. Example: document.getElement('someDiv').appendChild(rendererView.target); |
Methods
update |
Update the scale mode for this view. |
Inherited Methods
dispose() |
Property Details
isMirrored
Weather this view is mirrored.
isMirrored: boolean
Property Value
boolean
scalingMode
target
The target html element in which the video stream is rendering on. Use this property and attach it to any UI html element. Example: document.getElement('someDiv').appendChild(rendererView.target);
target: HTMLElement
Property Value
HTMLElement
Method Details
updateScalingMode(ScalingMode)
Update the scale mode for this view.
function updateScalingMode(scalingMode: ScalingMode): Promise<void>
Parameters
- scalingMode
- ScalingMode
The new scale mode.
Returns
Promise<void>
Inherited Method Details
dispose()
function dispose()
Inherited From Disposable.dispose