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.
