No description
Find a file
Steve Anton add7ef974e 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}
2019-07-31 19:19:56 +00:00
api Adds default for PeerConnectionObserver::OnIceConnectionChange 2019-07-31 11:33:34 +00:00
audio Revert "Reporting of decoding_codec_plc events" 2019-07-30 14:39:09 +00:00
build_overrides Remove crbug.com/904400 workaround. 2019-03-15 18:36:23 +00:00
call Revert "Reporting of decoding_codec_plc events" 2019-07-30 14:39:09 +00:00
common_audio Format almost everything. 2019-07-08 13:45:15 +00:00
common_video Format almost everything. 2019-07-08 13:45:15 +00:00
crypto Adding new top-level directory crypto/ 2019-03-08 00:35:05 +00:00
data Remove old data files. 2018-10-05 14:40:21 +00:00
examples Disable -Wunguarded-availability for apprtc_signaling. 2019-07-30 10:08:34 +00:00
logging Make it possible to reuse RTCEventLog conversion functions. 2019-07-30 13:48:04 +00:00
media Revert "Reporting of decoding_codec_plc events" 2019-07-30 14:39:09 +00:00
modules Fix potential crash if nack is being processed when media gets disabled 2019-07-31 12:28:04 +00:00
p2p Move datagram_dtls_adaptor from p2p/base/ to pc/ 2019-07-10 18:54:20 +00:00
pc Sanitize the codec list before sending it to the media engine 2019-07-31 19:19:56 +00:00
resources Cleanup of resources from removed remote bitrate estimate test framework. 2019-06-18 10:22:01 +00:00
rtc_base Skip empty strings in ToUtf(8|16). 2019-07-30 19:35:37 +00:00
rtc_tools Finish migrating rtc_tools/testing to python3. 2019-07-26 09:58:13 +00:00
sdk Roll chromium_revision 67eba1f62b..3c3851d3ca (681379:681486) + JNI fix 2019-07-29 14:08:49 +00:00
stats Format almost everything. 2019-07-08 13:45:15 +00:00
style-guide Add style guide rule about paired .h and .cc files 2018-03-14 13:02:35 +00:00
system_wrappers Format almost everything. 2019-07-08 13:45:15 +00:00
test Adds simulated network node builder. 2019-07-31 17:05:01 +00:00
tools_webrtc Switch neteq_rtpplay into an executable. 2019-07-25 08:45:21 +00:00
video Use total_decode_time_ms in VideoAnalyzer 2019-07-31 11:53:24 +00:00
.clang-format Tune ObjC clang-format configuration 2017-05-11 09:14:18 +00:00
.git-blame-ignore-revs Let git-hyper-blame ignore new format cleanup. 2019-07-11 16:18:51 +00:00
.gitignore Add Visual Studio Code project folder to gitignore file. 2019-01-21 18:42:33 +00:00
.gn Remove last mention of ortc from the codebase. 2019-05-25 07:28:05 +00:00
.vpython Add vpython dependencies needed to run presubmit tests on LUCI 2018-05-18 08:10:25 +00:00
abseil-in-webrtc.md Allowing buffering a LNTF (loss notification) feedback message in RTCPSender 2019-06-03 16:28:34 +00:00
AUTHORS Stun server should return XOR-MAPPED-ADDRESS/MAPPED-ADDRESS correctly 2019-06-28 19:12:14 +00:00
BUILD.gn Migrate WebRTC test infra to ABSL_FLAG. 2019-07-19 06:54:04 +00:00
CODE_OF_CONDUCT.md Add code of conduct to WebRTC repo 2017-05-16 12:09:13 +00:00
codereview.settings Don't add webrtc-reviews@ to CC, it can be added globally on Gerrit 2018-10-25 08:19:53 +00:00
common_types.h Format almost everything. 2019-07-08 13:45:15 +00:00
DEPS Roll chromium_revision 6ba1e90223..1bdd79185b (682701:682806) 2019-07-31 18:36:57 +00:00
ENG_REVIEW_OWNERS Enforce LGTM from owners of depends-on paths in DEPS via presubmit. 2018-09-28 12:49:54 +00:00
LICENSE Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
license_template.txt Update template to follow chromium copyright style 2013-04-24 01:01:28 +00:00
native-api.md Delete unused I420 "codec" 2018-12-18 12:30:58 +00:00
OWNERS Add juberti@ to webrtc root owners 2019-05-17 18:11:58 +00:00
PATENTS Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
PRESUBMIT.py Convert file objects to strings, before passing to PresubmitNotifyResult 2019-06-26 11:31:21 +00:00
presubmit_test.py Fixing py lint errors 2018-07-23 15:28:48 +00:00
presubmit_test_mocks.py Reland: Add presubmit check for changes in 3pp 2018-05-22 13:11:18 +00:00
pylintrc Fixing py lint errors 2018-07-23 15:28:48 +00:00
README.chromium Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
README.md Tell users where they can find the native API headers 2017-11-14 10:36:46 +00:00
style-guide.md Remove rule that discourages passing optional by const reference 2019-02-05 11:58:05 +00:00
WATCHLISTS Remove myself from OWNERS in a few places. 2019-06-10 07:57:46 +00:00
webrtc.gni Migrate WebRTC test infra to ABSL_FLAG. 2019-07-19 06:54:04 +00:00
whitespace.txt Whitespace change 2018-02-23 10:34:16 +00:00

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.

Development

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.

More info