logo
On this page

When the camera supports it, the preview is set to 1920 * 1080, but the actual published stream is only 640 * 480. How should this be handled?

2022-04-28
Products / Plugins:Video Call
Platform / Framework:Web

Problem Cause

Before calling the createStream interface to create and publish a stream, the previous preview video stream was not destroyed. Therefore, when users check the current published stream resolution through the getusermedia interface, it will be reduced.

Solution

Before calling the SDK interface createStream to create a stream, please first call the destroyStream interface to destroy the previous preview video stream.

Previous

Compilation error after upgrading to Express v2.20.0 or later?

Next

How to set the environment for Web platform Interactive Whiteboard SDK and File Transcoding SDK?

On this page

Back to top