Screen content simulcast layers should not be downscaled.
Fix config so, size isn't downscaled, add unit test coverage. BUG=webrtc:7171, webrtc:4172 Review-Url: https://codereview.webrtc.org/2692343007 Cr-Commit-Position: refs/heads/master@{#16648}
This commit is contained in:
@ -230,8 +230,10 @@ std::vector<webrtc::VideoStream> GetSimulcastConfig(size_t max_streams,
|
||||
streams[s].max_framerate = max_framerate;
|
||||
}
|
||||
|
||||
width /= 2;
|
||||
height /= 2;
|
||||
if (!is_screencast) {
|
||||
width /= 2;
|
||||
height /= 2;
|
||||
}
|
||||
if (s == 0)
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user