forked from JumpingYang001/webrtc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start consolidating management/querying of stats on the Call thread.
Call is instantiated on what we traditionally call the 'worker thread' in PeerConnection terms. Call statistics are however gathered, processed and reported in a number of different ways, which results in a lot of locking, which is also unpredictable due to the those actions themselves contending with other parts of the system. Designating the worker thread as the general owner of the stats, helps us keeps things regular and avoids loading unrelated task queues/threads with reporting things like histograms or locking up due to a call to GetStats(). This is a reland of remaining changes from https://webrtc-review.googlesource.com/c/src/+/172847: This applies the changes from the above CL to the forked files and switches call.cc over to using the forked implementation. Bug: webrtc:11489 Change-Id: I93ad560500806ddd0e6df1448b1bcf5a1aae7583 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/174000 Reviewed-by: Mirko Bonadei <[email protected]> Reviewed-by: Magnus Flodman <[email protected]> Reviewed-by: Danil Chapovalov <[email protected]> Commit-Queue: Tommi <[email protected]> Cr-Commit-Position: refs/heads/master@{#31186}
- Loading branch information
Tommi
authored and
Commit Bot
committed
May 8, 2020
1 parent
04e1bab
commit 553c869
Showing
11 changed files
with
211 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.