Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebRTC iOS: Audio/Video stream recording [closed]

Tags:

ios

swift

webrtc

I am trying to record incoming/outgoing audio/video streams in my iOS app that uses GoogleWebRTC pod. so far I haven't found any api that allows us to record Audio/Video streams. I tried to record local video feed from the camera using AVCaptureSession, but doing this freezes the outgoing video stream. this happens probably because multiple AVCaptureSession instances cannot use the same input device.

Is there any other way to record local and/or remote streams from WebRTC in iOS?

like image 734
Rezwan Avatar asked Nov 20 '17 08:11

Rezwan


People also ask

Does Apple use WebRTC?

During this year's WWDC keynote, Apple announced the availability of FaceTime in web browsers, making it available to Android and Windows users.

Does WebRTC work on Safari?

WebRTC Peer-to-peer connections is Not Supported on Safari 10, which means that any user who'd be accessing your page through Safari 10 can see it perfectly.

What is RecordRTC?

RecordRTC is WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.


1 Answers

Replay kit, but that has limitations.

The alternative method is using the actual lib, no the cocoa pods, and extract audio/video from each incoming stream.

Once you have the actual video/audio currently being displayed/played you can combine and mux as you see fit.

Very complex though

like image 174
John Lanzivision Avatar answered Oct 13 '22 00:10

John Lanzivision