Video recording with OpenVidu and electron

℡╲_俬逩灬. 提交于 2020-03-23 07:51:29

问题


I have to be able to record an incoming video call into a file. The recording must be done on the desktop application, built with electron. I'm using OpenVidu as a streaming platform. Is there any way to do that?


回答1:


@Vasniktel Technically it could be possible to record the video client side as there are a number of WebRTC examples that record locally on the client, however this is not natvie to openvidu. However recording on electronjs is...

github.com/hokein/electron-screen-recorder

tutorialspoint.com/electron/… You could integrate recording separately along side your openvidu app.

The main difference here is that you want to record an incoming call and while you likely won't be able to just write the incoming webrtc data you should be able to record the area of the app (canvas) where the video player is rendered. You will be re-encoding the decoded rendered video stream, but it shouldn't be too much of a hit performance wise.



来源:https://stackoverflow.com/questions/60258352/video-recording-with-openvidu-and-electron

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!