Working on implementing Screen Sharing(Replay Kit) in iOS app using Kurento Media Server. I get CMSampleBuffer which follows RTMP protocol. But Kurento doesn't support RTMP. It does support RTP. Is there a way to convert from RTMP to RTP. I read about ffmpeg but it seems to need to be implemented on server side which require a lot of change in current flow something like below [Browser] -> RTMP -> [Node_Media_Server(srs)] -> RTMP ->
[FFmpeg] -> RtpEndpoint -> [Kurento] -> WebrtcEndpoint -> [Browser]
Will this flow be efficient enough ?
Is there a way to convert it from client side i.e iOS application?