twilio / twilio-video-ios

Programmable Video SDK by Twilio
http://twilio.com/video
Other
64 stars 22 forks source link

Local persistence of the user video/audio to iOS PhotoLibrary #112

Open PPacie opened 4 years ago

PPacie commented 4 years ago

Description

I would like to know if it might be possible for you to add the option to persist the video/audio from the user mic/camera. (Not the entire screen via ReplayKit).

As we cannot use our own instance of AVCaptureSession at the same time, we cannot add a AVCaptureMovieFileOutput to the Twilio SDK current AVCaptureSession.

Expected Behavior

Local persistence of the user video/audio to iOS PhotoLibrary after exiting the room.

Video iOS SDK

3.4.1 via Carthage

Xcode

11.5

iOS Version

13.5.1

iOS Device

All the iOS 13 compatible devices: iPhone X, iPhone 11, etc.

piyushtank commented 3 years ago

@PPacie Apologies for not following up on this earlier. You can definitely record audio and video to a file - see this video rendering and audio recording example, but if you can save them in photos library - I have not tried it. Let me know if you have any further questions.

PPacie commented 3 years ago

Hi @piyushtank thanks for pointing out to the issues. Right now it looks like doable but kind of fragile to be implemented in production. I would like to know if it will be officially supported by Twilio Video SDK anytime soon and if you think the following issues might be sorted: