DescriptionThis cl do a major cleanup of the VideoAdapter and make sure it does care about the VideoSinkWants.max_pixel_count and VideoSinkWants.max_pixel_count_step_up.
Unit tests are updated to test that screen share is not adapted but it does not change the VideoSinkWants in WebRtcVideoEngine2::SendStream due to a switch to screen share. The reason is that it works anyway and sprang is looking into how to do adaptation based on frame rate as well and use the adapter for screen share as well.
BUG=webrtc:5688, webrtc:5426
R=nisse@webrtc.org, pbos@webrtc.org, sprang@google.com
Committed: https://chromium.googlesource.com/external/webrtc/+/766ad3b9899f0d7a61e9de13ac070ca44f9dcc49
Patch Set 1 #Patch Set 2 : Fix test. Reset wants when setting options. #Patch Set 3 : #Patch Set 4 : #
Total comments: 16
Patch Set 5 : Addressed comments. #
Total comments: 2
Patch Set 6 : Removed scale size 0. #
Total comments: 6
Patch Set 7 : Addressed nits. #
Total comments: 7
Patch Set 8 : Addressed sprangs comments. #
Total comments: 20
Patch Set 9 : Addressed pbos comments #
Total comments: 5
Patch Set 10 : Addressed nits #
Messages
Total messages: 28 (9 generated)
|