When a Web client and a Native client communicate with each other the receiving end sees a black, green, or pixelated screen.
The Native SDK encodes video streams in the H.264 format, and the issue is mainly caused by errors decoding the H.264 video streams.
Troubleshoot the problem by following the steps below:
getSupportedCodec to get the codecs supported by both the Web SDK and the browser. If H.264 is not supported, the Web client cannot communicate with the Native client.
Ask the user to use the latest official version of the Chrome browser, and disable the hardware‑accelerated video decoding and encoding:
chrome://flagsin the browser address bar.
Upgrade the Native SDK to the latest version.
If the client sending the video stream is a Web client on desktop, ask the user to launch Chrome with the following command:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --force-fieldtrials="WebRTC-SpsPpsIdrIsH264Keyframe/Enabled/"