Reputation: 45
Can I build an application that uses the sharing screen feature of the replaykit. This feature is similar to the Mobcrush application. This means that instead of using 3rd party services like Mocbrush, Youtube, Facebook ... then Can I use my own server to connect with streaming data. Is this feasible?
Upvotes: 2
Views: 3596
Reputation: 324
You can use the startCapture
and stopCapture
in RPScreenRecorder
to record app screen. The handler in startCapture
will get continuously called to return you the buffer data you need for the live stream.
You can then send that buffer data to your server or a third party streaming service. One example is Wowza, which has an iOS SDK you can integrate.
RPScreenRecorder Documentation: https://developer.apple.com/documentation/replaykit/rpscreenrecorder
Wowza: https://www.wowza.com/docs/how-to-connect-to-wowza-streaming-cloud-with-gocoder-sdk-for-ios More streaming options: https://www.quora.com/Which-server-solution-for-a-Live-video-streaming-app
Upvotes: 2