logo
On this page

Web platform SDK publish stream error "stream not from zego", how to handle?

2023-10-25
Products / Plugins:Video Call / Audio Call / Live streaming
Platform / Framework:Web

Please follow the steps below to handle:

  1. First call the createStream or createZegoStream interface to get the media stream object or ZegoLocalStream instance object.
  2. Since the createStream/createZegoStream interface is an asynchronous operation, please ensure that after then or await, call startPublishingStream to publish stream.
Note

The createStream interface is supported in Express Web SDK versions before 3.0.0. Version 3.0.0 and above are deprecated and replaced by createZegoStream. For details, please refer to Upgrade Guide for Version 3.0.0 and Above.

Previous

Can the parameters "audioInput" and "videoInput" be passed as empty strings when calling the createStream method on the Web platform?

Next

When using the "uni-app" framework, "playerStateUpdate" shows successful stream pulling, but using "srcObject" cannot render the video?