No description
Find a file
Johannes Kron fc5d2762f5 Fix dropped frames not counted issue
There's been reports of dropped frames that are not counted and
correctly reported by getStats().

If a HW decoder is used and the system is provoked by stressing
the system, I've been able to reproduce this problem. It turns out
that we've missed frames that are dropped because there is no
callback to the Decoded() function.

This CL restructures the code so that dropped frames are counted
even in cases where there's no corresponding callback for some frames.

Bug: webrtc:11229
Change-Id: I0216edba3733399c188649908d459ee86a9093d0
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/214783
Commit-Queue: Johannes Kron <kron@webrtc.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33671}
2021-04-09 14:47:52 +00:00
api VideoReceiveStream2: AV1 encoded sink support. 2021-04-08 20:07:22 +00:00
audio Remove assoc_send_channel_lock_ from ChannelReceive. 2021-04-01 21:49:02 +00:00
build_overrides Allow webrtc mac cross compile 2021-03-10 18:42:58 +00:00
call Update WebRTC code version (2021-04-09T04:04:26). 2021-04-09 05:30:50 +00:00
common_audio Remove from chromium build targets that are not compatible with it. 2021-02-01 13:46:19 +00:00
common_video Provide a default implementation of NV12BufferInterface::CropAndScale. 2021-03-22 11:09:36 +00:00
data Remove old data files. 2018-10-05 14:40:21 +00:00
docs Create a VideoFrameTrackingId RTP header extension. 2021-03-25 17:25:18 +00:00
examples Expose addIceCandidate with completion handler. 2021-03-11 16:15:44 +00:00
g3doc Improve webrtc documentation infra. Preview at: 2021-03-30 10:29:30 +00:00
logging Remove use of istream in RTC event log parser. 2021-03-31 13:21:58 +00:00
media sctp: Move SctpTransportFactory to a separate file 2021-04-08 20:49:44 +00:00
modules Fix dropped frames not counted issue 2021-04-09 14:47:52 +00:00
net/dcsctp dcsctp: Add Data Generator 2021-04-09 09:53:34 +00:00
p2p Reland "Use the new DNS resolver API in PeerConnection" 2021-04-08 08:44:14 +00:00
pc Add locking to UniqueRandomIdGenerator. 2021-04-09 10:04:25 +00:00
resources Disable high-pass filtering of the AEC reference 2021-02-23 07:06:11 +00:00
rtc_base Add locking to UniqueRandomIdGenerator. 2021-04-09 10:04:25 +00:00
rtc_tools Reland "Enable use of rtc::SystemTimeNanos() provided by Chromium" 2021-02-25 10:48:55 +00:00
sdk Expose setLocalDescription() in SDK for Android. 2021-04-07 15:58:16 +00:00
stats Remove RTCRemoteInboundRtpStreamStats duplicate members. 2021-04-08 09:06:24 +00:00
style-guide Remove kwiberg@webrtc.org from OWNERS files 2020-12-04 15:11:26 +00:00
system_wrappers Consolidate the different NTP clocks into one. 2021-04-08 13:54:04 +00:00
test dcsctp: Add SCTP packet fuzzer 2021-04-09 12:23:42 +00:00
tools_webrtc Add dcsctp_unittests to gn_isolate_map. 2021-03-31 10:33:17 +00:00
video VideoReceiveStream2: AV1 encoded sink support. 2021-04-08 20:07:22 +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 Rename PlayoutDelay --> VideoPlayoutDelay, move to api/video/video_timing.h 2020-09-07 08:37:14 +00:00
.vpython Reland "Add protobuf-py2_py3 3.13.0 to .vpython." 2020-11-20 07:52:26 +00:00
abseil-in-webrtc.md Polish the "Using Abseil in WebRTC" docs 2020-10-16 13:42:00 +00:00
AUTHORS Adds missing header to fix compilation error when compiling with use_custom_libcxx set to false. 2021-03-25 09:57:00 +00:00
BUILD.gn Move RTC_ENABLE_WIN_WGC define to the top level BUILD.gn 2021-04-08 16:31:49 +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
DEPS Roll chromium_revision 89d90d6094..34f3c82122 (867063:867171) 2021-03-29 12:38:19 +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 kwiberg@webrtc.org from OWNERS files 2020-12-04 15:11:26 +00:00
g3doc.lua Improve webrtc documentation infra. Preview at: 2021-03-30 10:29:30 +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 Make the remote_bitrate_estimator build target private 2020-11-26 12:21:22 +00:00
OWNERS Move metadata in OWNERS files to DIR_METADATA files. 2021-02-08 19:09:33 +00:00
PATENTS Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
PRESUBMIT.py Add deprecation section to webrtc style guide 2021-02-22 13:34:40 +00:00
presubmit_test.py Reformat python files checked by pylint (part 1/2). 2020-10-30 10:13:11 +00:00
presubmit_test_mocks.py Reformat python files checked by pylint (part 1/2). 2020-10-30 10:13:11 +00:00
pylintrc Undo enforcing of PEP-8 pylint changes for method and function names. 2020-11-10 18:26:25 +00:00
README.chromium Add CPEPrefix. 2020-07-13 11:42:07 +00:00
README.md doc: move bug reporting instructions to the repository 2020-10-21 14:47:49 +00:00
style-guide.md Add deprecation section to webrtc style guide 2021-02-22 13:34:40 +00:00
WATCHLISTS Add hta@ to rtc_base/ and api/ WATCHLISTS. 2021-01-06 09:43:34 +00:00
webrtc.gni build: improve rtc_include_tests documentation 2021-03-05 13:54:20 +00:00
webrtc_lib_link_test.cc Rewrite the lib link test to just be a binary. 2019-10-18 07:42:20 +00:00
whitespace.txt Reland "Triggering CI." 2021-03-22 11:57:23 +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