-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media/mojo/VideoEncoderMetricsProvider: Add encoder id
Only a javascript main thread can establish mojo connection with a browser process with a URL key. In the webrtc scenario, however, a thread of creating a video encoder is different from a javascript main thread. This CL adds the encoder id to the VideoEncoderMetricsProvider mojo calls so that one VideoEncoderMetricsProvider can handle multiple video encoders simultaneously. With it, we enable deal with the webrtc case by passing the class of owning VideoEncoderMetricsProvider to the webrtc encoders. Bug: b:275663480 Test: chrome://ukm in Cast and MediaRecorder Change-Id: I0b07b9575798e5e1ebc5052c8f9e369bfb8c9a6c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4729246 Reviewed-by: Ken Buchanan <kenrb@chromium.org> Reviewed-by: Mark Foltz <mfoltz@chromium.org> Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Cr-Commit-Position: refs/heads/main@{#1187007}
- Loading branch information
Hirokazu Honda
authored and
Chromium LUCI CQ
committed
Aug 23, 2023
1 parent
19e20fb
commit a5d3e6d
Showing
6 changed files
with
376 additions
and
135 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
Oops, something went wrong.