VideoStreamRendererView interface

The view for a video stream.

Extends

Properties

isMirrored

Weather this view is mirrored.

scalingMode

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

updateScalingMode(ScalingMode)

Update the scale mode for this view.

Inherited Methods

dispose()

Property Details

isMirrored

Weather this view is mirrored.

isMirrored: boolean

Property Value

boolean

scalingMode

The current scale mode for this view.

scalingMode: ScalingMode

Property Value

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