DescriptionAdd WebrtcFrameScheduler interface.
WebrtcFrameScheduler is used by WebrtcVideoStream to schedule video
frames. WebrtcFrameScheduler implementations now are also responsible
for top-off logic that previously resided in WebrtcVideoCapturerVpx.
This will allow to switch between different frame scheduling strategies
in runtime.
WebrtcFrameSchedulerSimple implements the old scheduling logic with
the following two exceptions:
- VPX active map is cleaned only after top-off is finished (top-off
wasn't always working properly due to this issue).
- Removed min limit for FPS.
In the future WebrtcFrameSchedulerSimple will need to be replaced
with a new scheduler that allows processing multiple frames in parallel.
BUG=645656
Committed: https://crrev.com/0eaa5139dbab93ed41deefc56633d1ee19f0b832
Cr-Commit-Position: refs/heads/master@{#419632}
Patch Set 1 #
Total comments: 15
Patch Set 2 : address feedback #Patch Set 3 : FrameScheduler #Patch Set 4 : include <algorithm> #Messages
Total messages: 26 (15 generated)
|