Skip to content

Commit

Permalink
Fix local track
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple committed Nov 28, 2024
1 parent 03fd95b commit cd15945
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class VideoCapturer: CameraVideoCapturing {
#else
let handler = StreamVideoCaptureHandler(source: videoSource, filters: videoFilters)
videoCaptureHandler = handler
videoCapturer = RTCCameraVideoCapturer(delegate: handler)
videoCapturer = RTCCameraVideoCapturer(delegate: handler, captureSession: AVCaptureSession())
checkForBackgroundCameraAccess()
#endif
}
Expand Down

0 comments on commit cd15945

Please sign in to comment.