ScreenCapture by WebRTC in Swift

94 Views Asked by At

I want to share screen to other users by WebRTC in Swift.

I have established webrtc connections. What I need is this, I need to send RTCVideoTrack via connection. I can get the user's videotracks from the camera with RTCVideoCapturer. However, when I screen share, I need to convert the screenshots to Videotrack and send them.

What's the best way to do this? Is ReplayKit the right method for this? Thank you for your answers.

0

There are 0 best solutions below