There was an error while loading. Please reload this page.
1 parent 703ae40 commit e958e66Copy full SHA for e958e66
sdk/objc/native/src/objc_video_track_source.mm
@@ -37,7 +37,7 @@ - (void)capturer:(RTC_OBJC_TYPE(RTCVideoCapturer) *)capturer
37
ObjCVideoTrackSource::ObjCVideoTrackSource() : ObjCVideoTrackSource(false) {}
38
39
ObjCVideoTrackSource::ObjCVideoTrackSource(bool is_screencast)
40
- : AdaptedVideoTrackSource(/* required resolution alignment */ 2),
+ : AdaptedVideoTrackSource(/* required resolution alignment */ is_screencast? 16 : 2),
41
is_screencast_(is_screencast) {}
42
43
ObjCVideoTrackSource::ObjCVideoTrackSource(RTCObjCVideoSourceAdapter *adapter) : adapter_(adapter) {
0 commit comments