使用OpenVidu和电子进行视频录制 [英] Video recording with OpenVidu and electron

查看:587
本文介绍了使用OpenVidu和电子进行视频录制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须能够将传入的视频通话记录到文件中。录制必须在电子版的桌面应用程序上完成。我正在使用OpenVidu作为流媒体平台。有什么方法吗?

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?

推荐答案

@Vasniktel从技术上讲,可以录制视频客户端,因为在客户端本地记录的WebRTC示例的数量,但是这对于openvidu而言并非难事。但是在electronjs上录制是...

@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

github.com/hokein/electron-screen-recorder

tutorialspoint .com / electron /…您可以在openvidu应用程序旁边单独集成录音。

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

这里的主要区别是您要记录来电,而您可能会赢得不能只编写传入的webrtc数据,就应该能够记录渲染视频播放器的应用区域(画布)。您将重新编码解码后的渲染视频流,但这不应该对性能造成太大影响。

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.

这篇关于使用OpenVidu和电子进行视频录制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆