[Android] Force HW H264 to advise ConstrainedBaseLine
Currently Chrome on Android can only advise BaseLine H264 for HW H264 encoder, while some third party peers only expect ConstrainedBaseLine during negotiation. This will break down the intercommunication with others a lot. Changing the profile id in SDP to CBP can solve this problem, which means the peer can actually decode the stream from Android HW H264. So the easiest solution is to fake the H264 profile id to CBP on Android, which will violate the spec a bit, but can solve major intercommunication compatibility issues right now. Bug: 793038 Change-Id: I8480aa624c445f30c5defe75bdc378dca63e130a Reviewed-on: https://chromium-review.googlesource.com/815294Reviewed-by:Pawel Osciak <posciak@chromium.org> Commit-Queue: Weiyong Yao <braveyao@chromium.org> Cr-Commit-Position: refs/heads/master@{#523980}
Showing
Please register or sign in to comment