I'm exploring WebRTC, I made a demo using it and it works perfectly, but now I want to share my app screen using WebRTC in my native project.
Is it possible?. I searched many documents but I didn't find any solution.
I'm exploring WebRTC, I made a demo using it and it works perfectly, but now I want to share my app screen using WebRTC in my native project.
Is it possible?. I searched many documents but I didn't find any solution.
Yes, it is possible (not sure about existing open source projects). But you can refactor the apprtc-ios into streaming the screen snapshots instead of the camera feed. Here are some useful resources:
Apple's ReplayKit/ReplayKit2 allows you to stream from the screen or the camera to the air. You should try using that with WebRTC.
Have a look here :- https://github.com/StraaS/StraaS-iOS-sdk/wiki/Live-Streaming-with-Apple's-ReplayKit
You may want to look Apple's ReplayKit. Since iOS 11, you can record your screen but also choose to which ReplayKit Provider. I think TeamViewer already uses this on iOS.
https://developer.apple.com/documentation/replaykit/rpscreenrecorder https://forums.developer.apple.com/thread/89165