H5 SDK
Frequently Asked Questions
- Some browsers, especially mobile browsers, require user interaction to play digital human videos. It is recommended that the start event be triggered by user clicks, even if muted is a silent state, otherwise some browsers may not display the digital human.
- Some WeChat browsers on iOS systems require calling navigator.mediaDevices.getUserMedia for authorization before playing remote streams.
- If ASR recognition is enabled, user authorization for getUserMedia will be needed. Due to browser restrictions, local debugging requires an HTTPS environment.
- For WeChat Mini Program integration, it can be connected through the web-view component.
- Some mobile browsers still cannot adapt to the browser’s autoplay policy even if start is called by user click. When receiving a 4009 error, you can trigger the resume method through a user event.
- If you need to use opening remarks, wake words, interrupt words and other configurations, you can obtain them through the openapi - Get Session Details interface. The SDK itself does not provide business logic.
- Some browsers do not support RTC. Currently, it has been verified that Xiaomi Browser does not support it.
- Since webrtc does not support the http protocol and ip address access, please use https and domain name access.