admin管理员组

文章数量:1417420

I created this post because I have an app in which one I do webrtc call.

I use this library :

I would like to know : Is there a simple way to start to record remote video track and remote audio track and save it in one file locally in our phone ? for example mp4 ?

I saw that there is VideoFileRenderer to save a video and JavaAudioDevice to record audio. But I would like to start to record only when I want to start (not when the call starts).

Is there a possibility to use MediaRecorder class to do that ?

I tried to search on internet but I didn't find a solution that can be used for my use case.

If you have code snipet it will really help me.

Thank you in advance for your help.

本文标签: Android WebRtchow to save video and audio in one file mp4Stack Overflow