commit | 334b1fd3215d78bacdb6b7ed25a9524b480dead0 | [log] [tgz] |
---|---|---|
author | Markus Handell <handellm@webrtc.org> | Sun Dec 13 23:08:11 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Dec 16 11:25:41 2020 |
tree | 449d6c178bd2af4e1a1e43373572e690e55a7e5a | |
parent | f964dea554a42a32d5689ecd8a67166f12ce7b07 [diff] |
VideoReceiveStream: eliminate task post in decode path. VideoReceiveStream2 unnecessarily posts a decode complete call to its own queue while already being executed on it. A popular use case in downstream project has a large amount of decoders in use so the cost of this is multiplied by the number of active decoders. Fix this by removing the unnecessary task post. To allow for this, this change also changes the frame buffer to call out to it's handler without any locks held. Bug: webrtc:12297 Change-Id: Ib2e26445458228a44c53dad9d585d4025f2f2945 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/197420 Reviewed-by: Philip Eliasson <philipel@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Markus Handell <handellm@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32845}
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 here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.