commit | add7ef974ee2642a3b55a36ec80be50a615bc60a | [log] [tgz] |
---|---|---|
author | Steve Anton <steveanton@webrtc.org> | Wed Jul 31 01:04:40 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jul 31 19:19:56 2019 |
tree | f247154c01dd6a6c6d5fa332565ee138e571fab2 | |
parent | f6f3ecf4bbb72a586f74489d63bc72f184d33b3d [diff] |
Sanitize the codec list before sending it to the media engine The SDP can assign the same codec to two different payload types which gets represented as two separate codecs in the SDP structure. The media engine assumes that the client does not pass down duplicate codecs. This change adds logic to BaseChannel to filter out codecs of the same name with different payload types, picking the one which is listed first in the m= line. Bug: chromium:987598 Change-Id: I6fa813db1769e572ff7c3f322dc9b1de39817ea2 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/147602 Reviewed-by: Amit Hilbuch <amithi@webrtc.org> Commit-Queue: Steve Anton <steveanton@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28726}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.