Skip to content

Commit

Permalink
Desktop Capture for macOS.
Browse files Browse the repository at this point in the history
[Mac] feat: Support screen capture for macOS. (webrtc-sdk#24) (webrtc-sdk#36)
fix: Get thumbnails asynchronously. (webrtc-sdk#37)
fix: Use CVPixelBuffer to build DesktopCapture Frame, fix the crash caused by non-CVPixelBuffer frame in RTCVideoEncoderH264 that cannot be cropped. (webrtc-sdk#63)
Fix the crash when setting the fps of the virtual camera. (webrtc-sdk#62)
  • Loading branch information
cloudwebrtc authored and npazkevich committed Jun 24, 2024
1 parent 28a843c commit e473d78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/objc/native/src/objc_video_track_source.mm
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ - (void)capturer:(RTC_OBJC_TYPE(RTCVideoCapturer) *)capturer
ObjCVideoTrackSource::ObjCVideoTrackSource() : ObjCVideoTrackSource(false) {}

ObjCVideoTrackSource::ObjCVideoTrackSource(bool is_screencast)
: AdaptedVideoTrackSource(/* required resolution alignment */ 2),
: AdaptedVideoTrackSource(/* required resolution alignment */ is_screencast? 16 : 2),
is_screencast_(is_screencast) {}

ObjCVideoTrackSource::ObjCVideoTrackSource(RTC_OBJC_TYPE(RTCObjCVideoSourceAdapter) *adapter) : adapter_(adapter) {
Expand Down

0 comments on commit e473d78

Please sign in to comment.