mediasoup-client-swift icon indicating copy to clipboard operation
mediasoup-client-swift copied to clipboard

Video capture function missing

Open HarshSurati-Jio opened this issue 1 year ago • 3 comments

[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)

    Now in this swift version, there is nothing called as **RTCCameraVideoCapturer**.
    We can find **RTCVideoCapturer** but it doesn't have capture function and neither works directly. 
    
    please suggest here. _(In example also only audio transmission is present)_

HarshSurati-Jio avatar Jun 21 '23 11:06 HarshSurati-Jio