No description
Find a file
Mirko Bonadei 2da85916ab Revert "Reland "Remove stopped_ from AudioRtpReceiver and VideoRtpReceiver.""
This reverts commit 3ed36c0521.

Reason for revert: Breaks downstream project.

Original change's description:
> Reland "Remove `stopped_` from AudioRtpReceiver and VideoRtpReceiver."
>
> This is a reland of bb57e2d7aa
>
> The difference from the original CL is that a check for
> `state_ == kLive` inside of RemoteAudioSource::AddSink has been removed.
> This caused a side effect that registering the sink while the source
> was in an "initializing" state, failed. The last remaining state
> however, is `kEnded` - but since there's no logic in the class around
> the expected value of the states, the check inside of AddSink()
> doesn't provide an additional value - it's rather a surprise for
> developers if it doesn't succeed. So, now removed.
>
> Original change's description:
> > Remove `stopped_` from AudioRtpReceiver and VideoRtpReceiver.
> >
> > This simplifies the logic in these classes a bit, which makes upcoming
> > change easier. The `stopped_` flag in these classes was essentially
> > the same thing as `media_channel_ == nullptr`, which is what's
> > consistently used now for the same checks.
> >
> > Bug: webrtc:13540
> > Change-Id: Ib60bfad9f28d5ddee8a8d5170c3f2a7ef017a5ca
> > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/250163
> > Reviewed-by: Harald Alvestrand <hta@webrtc.org>
> > Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
> > Cr-Commit-Position: refs/heads/main@{#35907}
>
> Bug: webrtc:13540
> Change-Id: I3e5b3046fae11cb56b50c38c5f08972a6f283dd5
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/251326
> Auto-Submit: Tomas Gunnarsson <tommi@webrtc.org>
> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
> Reviewed-by: Harald Alvestrand <hta@webrtc.org>
> Commit-Queue: Harald Alvestrand <hta@webrtc.org>
> Cr-Commit-Position: refs/heads/main@{#35958}

TBR=ilnik@webrtc.org,tommi@webrtc.org,hta@webrtc.org,webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com

Change-Id: Ieb7235d88c808c78ad0847403be991d4dce1ace6
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:13540
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/251383
Owners-Override: Mirko Bonadei <mbonadei@webrtc.org>
Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35963}
2022-02-09 10:55:25 +00:00
api Reland "Delete implicit conversion from raw pointer to scoped_ref_ptr" 2022-02-08 08:40:44 +00:00
audio Add the possibility to output a json gtest output to the perf tests. 2022-02-07 20:59:33 +00:00
build_overrides Roll chromium + fix: blacklist -> ignorelist for sanitizers suppressions 2021-05-27 16:16:01 +00:00
call Add support for time-varying constraints in DegradedCall. 2022-02-08 14:41:24 +00:00
common_audio Reland "Remove RTC_DISALLOW_COPY_AND_ASSIGN usages completely" 2022-01-27 12:55:44 +00:00
common_video Revert "Added support for H264 YUV444 (I444) decoding." 2022-01-29 10:45:39 +00:00
data Remove old data files. 2018-10-05 14:40:21 +00:00
docs Add contributing.md 2021-11-03 14:59:46 +00:00
examples WebRTC examples/ should not depend on base/ 2022-02-07 12:22:46 +00:00
g3doc Update link to chromium modern c++ page 2022-01-25 11:07:43 +00:00
logging Reland "Mark all bool conversion operators as explicit" 2022-02-09 09:40:05 +00:00
media Fix for payload type id collision 2022-02-08 09:13:33 +00:00
modules Reland "Mark all bool conversion operators as explicit" 2022-02-09 09:40:05 +00:00
net/dcsctp Use kHigh timer precision for 'delayed-ack' timers. 2022-01-27 11:09:24 +00:00
p2p stun/turn: use hostname when reconstructing the url 2022-02-03 12:18:50 +00:00
pc Revert "Reland "Remove stopped_ from AudioRtpReceiver and VideoRtpReceiver."" 2022-02-09 10:55:25 +00:00
resources AEC3: Changing the default for the use_conservative_tail_frequency_response flag. 2021-12-21 17:35:26 +00:00
rtc_base Reland "Mark all bool conversion operators as explicit" 2022-02-09 09:40:05 +00:00
rtc_tools Reland "Remove RTC_DISALLOW_COPY_AND_ASSIGN usages completely" 2022-01-27 12:55:44 +00:00
sdk Reland "Mark all bool conversion operators as explicit" 2022-02-09 09:40:05 +00:00
stats Implement missing candidate pair packets/bytes sent/received stats. 2021-09-28 23:27:05 +00:00
system_wrappers Remove RTC_DISALLOW_COPY_AND_ASSIGN more. 2022-01-20 11:00:18 +00:00
test Remove //base from //test/BUILD.gn. 2022-02-08 12:56:45 +00:00
tools_webrtc Use binary mode for proto ingestion 2022-02-09 07:19:35 +00:00
video Remove more top-level const from parameters in function declarations 2022-02-01 09:15:50 +00:00
.clang-format Add IncludeBlocks to clang-format. 2021-02-03 16:29:07 +00:00
.git-blame-ignore-revs Let git-hyper-blame ignore new format cleanup. 2019-07-11 16:18:51 +00:00
.gitignore Add .cache to .gitignore. 2021-01-20 15:01:07 +00:00
.gn Roll chromium_revision 867b87eb29..b56d8868f3 (933713:941610) 2021-11-15 17:34:08 +00:00
.style.yapf Fix mb.py presubmit issues. 2021-12-08 08:53:00 +00:00
.vpython Update links to point at main branch 2021-07-22 16:41:26 +00:00
.vpython3 tools_webrtc dir converted to py3 + top level PRESUBMIT script 2022-02-08 14:42:26 +00:00
AUTHORS Fix for payload type id collision 2022-02-08 09:13:33 +00:00
BUILD.gn Remove definition of WEBRTC_MOZILLA_BUILD. 2022-02-01 16:53:48 +00:00
CODE_OF_CONDUCT.md Reference "main" branches instead of "master" branches. 2021-07-15 11:07:44 +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
DEPS Roll chromium_revision f85538e9c5..1d65e161b8 (967938:968255) 2022-02-08 10:46:34 +00:00
DIR_METADATA Move metadata in OWNERS files to DIR_METADATA files. 2021-02-08 19:09:33 +00:00
ENG_REVIEW_OWNERS Remove phoglund from ENG_REVIEW_OWNERS 2021-10-08 08:29:42 +00:00
g3doc.lua Improve webrtc documentation infra. Preview at: 2021-03-30 10:29:30 +00:00
LICENSE
license_template.txt
native-api.md Reference "main" branches instead of "master" branches. 2021-07-15 11:07:44 +00:00
OWNERS Fix mb.py presubmit issues. 2021-12-08 08:53:00 +00:00
PATENTS
PRESUBMIT.py tools_webrtc dir converted to py3 + top level PRESUBMIT script 2022-02-08 14:42:26 +00:00
presubmit_test.py tools_webrtc dir converted to py3 + top level PRESUBMIT script 2022-02-08 14:42:26 +00:00
presubmit_test_mocks.py tools_webrtc dir converted to py3 + top level PRESUBMIT script 2022-02-08 14:42:26 +00:00
pylintrc tools_webrtc dir converted to py3 + top level PRESUBMIT script 2022-02-08 14:42:26 +00:00
README.chromium Add CPEPrefix. 2020-07-13 11:42:07 +00:00
README.md doc: add g3doc sitemap to toplevel readme 2021-07-23 07:55:17 +00:00
WATCHLISTS Update WATCHLISTS 2021-08-23 13:37:55 +00:00
webrtc.gni APM: Make echo detector an optionally compilable and injectable component 2021-12-16 17:39:11 +00:00
webrtc_lib_link_test.cc Deprecate PeerConnectionFactory::CreatePeerConnection 2021-05-10 08:47:48 +00:00
whitespace.txt Trigger CI bots 2021-12-16 17:45:31 +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 here 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