-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video capture function missing #13
Comments
Hi @HarshSurati-Jio and thanks for your interest to our library. Both mediasoup-ios-client and mediasoup-client-swift are wrappers for libmediasoupclient, while To help you with integration, I need more info on your project setup:
|
currently we made it work by changing one setting in pod install but looks like it is a risk.
|
[Update]
Looks like these functions are not available when trying to access using pod extensions.
any reason why?
Earlier we were using objc version of this lib.
(https://github.com/ethand91/mediasoup-ios-client
https://github.com/VLprojects/libmediasoupclient)
In this we were able to capture and send the camera feed using below code -
self.videoCapture = RTCCameraVideoCapturer(delegate: videoSource) guard let format = RTCCameraVideoCapturer.supportedFormats(for: cameraDevice).last else{return} let fps:Int = Int(format.videoSupportedFrameRateRanges.first?.maxFrameRate ?? 30) self.videoCapture?.startCapture(with: cameraDevice, format:format, fps: fps)
The text was updated successfully, but these errors were encountered: