-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
H264 not supported in Chrome on Android devices (with JS sdk 2.7.0 and Chrome 83.XXX) #1095
Comments
Hi @jackychow Thanks for reporting this!
In both cases validated that video track is using H264 using getStats()
Basically no luck reproducing the problem so far. It does seem like the devices you used indeed did not support H264. Could you please share a couple of room sids and ideally a debug browser log for us to be able to investigate further? |
Hi @anna-vasilko what kind of browser debug log would be useful? I do have console logs from but that's nothing but twilio error with no supported codec. This is an example Room session id that I setup with the following conditions:
The room session id is I probably doubt we would find anything from the room's log because I got clear error on the chrome console that there is no supported codec. Were you able to open the |
Hi @anna-vasilko upon further testings, I probably found what's the problem. In the case of the OnePlus and Huawei I think it's the hardware decoder that's not recognized by webRTC in chrome as H264. those are shipped with the hisilicon chips and it seems webrtc only recognize those made by qcom and a few others. |
I am using small-group rooms and just forced my room video-codecs to
H264
yesterday in order to support Safari 11.Then my android devices stops showing and receiving videos from others on Chrome.
Remote debugging on Android Chrome shows error :
So I found a prior issue thread that was solving similar problem in Chrome 81.XXX for H264.
I then created a codepen to check for the H264 profiles for my failing devices. Instead of having anything relating to wrong profile-level-id, the tested devices actually did not have any
profile-level-id
at all, nor is there mentioning of H264 support.I found an SO thread that could be related to this issue
All of them are using Chrome 83.XXXX, the dump of the description from
createOffer()
is below:(Note: I [Masked] the lines with ids)
The Android Devices we've tested so far are Huawei P30, Pixel 3, Oneplus 5T, Samsung Galaxy A70
I know at least the Huawei P30 ships with H.264 hardware decoder
or sensitive account information (API keys, credentials, etc.) when reporting this issue.
Code to reproduce the issue:
https://codepen.io/jackychow/pen/oNbyvqB
Expected behavior:
H.264 encoding/decoding supported on android devices with H.264 hardware capability
Actual behavior:
twilio-video
unable to use H.264 on Android devicesSoftware versions:
The text was updated successfully, but these errors were encountered: