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)

  • width - width in pixels
  • height - height in pixels

Returns

Nothing.

Events

None.

Also See

ixnx/wrtc/js/api/call/setvideosize.txt · Last modified: by tibor
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0