How to enable H264 on Android webRTC

2020-07-18 03:05发布

问题:

How to enable H264 on Android WebRTC.
PeerConnection to createOffer there was no h264 description in SDP.

回答1:

Google's current WebRTC implementation only supports hardware H.264 decoding and encoding on Android, and with select chipsets only. So if a particular device doesn't have hardware H.264 support or has an unsupported chipset, you'll only get VP8/VP9.



回答2:

H.264 works with WebRTC in Chrome on Android M57.