Is buffering possible in WebRTC?

2019-08-12 15:32发布

问题:

Is it possible to buffer the video/audio in WebRTC (of course, having then a delay on the other side) to improve the quality?

回答1:

WebRtc does buffering automatically when it is necessary. You don't have to think about it.



回答2:

There's no exact way to fully control this, but there are some settings in the Opus codec that can influence it, like, minptime, ptime, maxptime. Please check https://tools.ietf.org/html/draft-spittka-payload-rtp-opus-03#page-12 for more info.



标签: webrtc