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
?
During this year's WWDC keynote, Apple announced the availability of FaceTime in web browsers, making it available to Android and Windows users.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With