简体   繁体   中英

WebRTC remote audio recording solution

I am working on video-conferencing with WebRTC (javascript/php). I want to record whole screen ie all videos in single video and store it on server. I am able to record single video at a time but not all videos at a time(whole screen). Can I achieve it?

And one big issue is Remote Audio recording ! Is there any solution to record remote audio??

I have taken the code from here .

I do not think php is going to make a difference here, I can see only two ways.

The Easy Way:

Use an MCU for recording( even as an alternative for mesh network for conferences). You can try Kurento , Licode or Intel CS .

The Hard Way :

if firefox browser: use MediaRecorder api to record each remote stream, send them to server and merge them together( may be with ffmpeg) and provide a link to user to see/download...

if chrome browser: you can record through each remote video stream canvas( what happens in RecordRTC internally), simultaneously request the remote peers to record their own audio on their side, upload them all to the server and provide link... yeah, good luck with syncing them all.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM