Table of Contents

setVideoSize()

call.setVideoSize() is used to resize the video element call.remoteVideo displaying the received video stream.

As the video element call.remoteVideo used to display the received video stream is in some browsers replaced with custom HTML elements you cannot set its width and height manually. Both .width and .style.width must be set to same values.

To resize the video element call.remoteVideo to other sizes than its initial size you must use call.setVideoSize()

Arguments

call.setVideoSize(width, height)

Returns

Nothing.

Events

None.

Also See

call.remoteVideo