webrtc - WebRTC 是否支持视频的自适应比特率流媒体?

标签 webrtc webm vp8 adaptive-bitrate vp9

我正在使用 WebRTC 来开发我的应用程序之一。
WebRTC 是否原生支持视频数据包的自适应比特率流,目前尚不清楚? VP8/VP9 是否支持自适应比特率编码? bitrate_controller WebRTC 是 ABR 的实现吗?

任何人都可以对此多加说明吗?我发现没有确凿的证据表明 WebRTC 本身支持视频的自适应流。

最佳答案

基于在此网站上找到的 WebRTC 文档:https://hpbn.co/webrtc/#audio-opus-and-video-vp8-bitrates我找到了这个:

When requesting audio and video from the browser, pay careful attention to the size and quality of the streams. While the hardware may be capable of capturing HD quality streams, the CPU and bandwidth must be able to keep up! Current WebRTC implementations use Opus and VP8 codecs:

  • The Opus codec is used for audio and supports constant and variable bitrate encoding and requires 6–510 Kbit/s of bandwidth. The good
    news is that the codec can switch seamlessly and adapt to variable
    bandwidth.
  • The VP8 codec used for video encoding also requires 100–2,000+ Kbit/s of bandwidth, and the bitrate depends on the quality of the streams: 720p at 30 FPS: 1.0~2.0 Mbps 360p at 30 FPS: 0.5~1.0 Mbps 180p at 30 FPS: 0.1~0.5 Mbps

As a result, a single-party HD call can require up to 2.5+ Mbps of network bandwidth. Add a few more peers, and the quality must drop to account for the extra bandwidth and CPU, GPU, and memory processing requirements.



因此,据我所知,两个编解码器都会使音频和视频流适应可用带宽。希望这可以帮助。

关于webrtc - WebRTC 是否支持视频的自适应比特率流媒体?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37128928/

相关文章:

javascript - Chrome WebRTC 在使用adapter.js 进行浏览器更新时中断

cmd - FFMPEG 屏幕捕获输出非常差且不一致的帧速率作为没有音频的 webm

c++ - MediaFoundation + VP8 + 颜色格式

android - 在安卓上构建 vp8

javascript - 如何将视频从我的 WebRTC 直接流式传输到 Facebook RTMP 服务器?

javascript - Webrtc 如何在收到回复后设置视频 Remote

javascript - 在 WebRTC 连接中检测离线对等体

C# 播放 MPEG 音频文件

video - 将 PNG 转换为透明的 webm 视频

c++ - 我应该为游戏中的过场动画使用哪种视频解码器?