How do I solve the problem that QQ Browser on some Android devices fail to pull and ingest streams?
On some Android devices, such as Huawei P20 and vivo iQOO, QQ Browser may fail to start the X5 kernel when opened for the first time. This causes a WebRTC compatibility issue that prevents stream pulling and ingestion, with the error: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection. To initialize the X5 kernel, perform the following steps:
- Connect to a WI-FI network.
- Refresh the page and wait about 30 seconds.
- Restart the browser and visit the page again. The problem is solved.
Why do some browsers not support Web RTS SDK?
A browser may not support Web RTS SDK for one of the following reasons:
- The browser does not implement WebRTC-related API operations, or implements them incorrectly. Examples: Microsoft Internet Explorer and UC Browser.
- The browser supports WebRTC-related API operations but only supports VP8 encoding, not H.264 encoding. Examples: the built-in browser of some Android devices.
Why does Safari on iOS report the error message "Failed to set remote answer sdp"?
The following error message is displayed:
Failed to set remote answer sdp: The order of m-lines in answer doesn't match order in offer.This error occurs when other WebRTC SDKs are integrated alongside RTS SDK, causing webrtc-adapter conflicts. Starting from V2.2.4, RTS SDK excludes the adapter to prevent this issue. Use RTS SDK V2.2.4 or later with other WebRTC-related SDKs.
- To integrate RTS SDK by using JavaScript, directly include RTS SDK V2.2.4 or later.
- To integrate RTS SDK by using npm, add the following code:
import { AliRTS } from 'aliyun-rts-sdk/dist/aliyun-rts-sdk-without-adapter.js';For TypeScript projects, declare the module to obtain type support:// Create file typings.d.ts in the root directory of the project. declare module 'aliyun-rts-sdk/dist/aliyun-rts-sdk-without-adapter.js' { import {AliRTS} from 'aliyun-rts-sdk'; export {AliRTS} }