本文介绍了vLine(WebRTC)中的音频或视频优先级约束的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我开发基于vLine API的视频聊天应用程序时(到目前为止很不错),我处理了许多高延迟和较低带宽的连接.

As I am developing a video chat application based on the vLine API (fantastic so far), I deal with a lot of high latency and lower bandwidth connections.

我知道很多东西都被抽象到浏览器中,在幕后进行工作,但是我试图找出在质量和带宽方面是否能够优先于音频优先于视频.

I know that a lot of this is abstracted to the browser doing the work behind the scenes, but I am trying to find out if one is able to prioritize audio over video, in regards to quality and bandwidth.

即使视频变差,也能听到别人的声音总是更好.尤其是在WebRTC和vLine中,是否有执行此操作的功能?理想情况下,我想实现带有预定义约束的滑块控件或复选框.

It's always better to be able to hear someone even if the video becomes poor. Are there any abilities to do this in WebRTC and vLine in particular? Ideally, I would like to implement a slider control or checkbox with pre-defined constraints.

推荐答案

当前,尚无办法通过视频通话中的约束优先于视频优先处理音频.在这种情况下,浏览器将尝试做正确的事情".

Currently there is no way to prioritize audio over video via constraints in a video call. The browser will try to do the 'right thing' in this scenario.

这篇关于vLine(WebRTC)中的音频或视频优先级约束的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-25 04:32