Comments on: Tweaking WebRTC video quality: unpacking bitrate, resolution and frame rates https://bloggeek.me/tweaking-webrtc-video-quality-unpacking-bitrate-resolution-and-frame-rates/ The leading authority on WebRTC Wed, 24 Jul 2024 08:30:56 +0000 hourly 1 By: Tsahi Levent-Levi https://bloggeek.me/tweaking-webrtc-video-quality-unpacking-bitrate-resolution-and-frame-rates/#comment-152809 Fri, 19 Aug 2022 12:46:42 +0000 https://bloggeek.me/?p=72855#comment-152809 In reply to S.

That’s a good question and I don’t have an answer for.

If I had to guess, I’d say it depends on all of them. Bitrate is just the incoming stream. A decoder generates an outgoing stream of raw frames. The higher the frame rate, the more pixels are needed to be generated. The higher the resolution – the same.

]]>
By: S https://bloggeek.me/tweaking-webrtc-video-quality-unpacking-bitrate-resolution-and-frame-rates/#comment-152800 Fri, 19 Aug 2022 08:08:41 +0000 https://bloggeek.me/?p=72855#comment-152800 Great article. I was wondering about how bitrate/resolution/framerate affect the decoder burden – is it faster to decode a high-res low fps stream compared to a low-res high fps stream at the same bitrate, for instance? Or is decoding work mostly just a flat function of bitrate? I'm thinking about a many-to-one usecase so decoder burden is my priority.

]]>
By: Tsahi Levent-Levi https://bloggeek.me/tweaking-webrtc-video-quality-unpacking-bitrate-resolution-and-frame-rates/#comment-145272 Tue, 08 Mar 2022 12:54:17 +0000 https://bloggeek.me/?p=72855#comment-145272 In reply to Tim.

Bitrate/babdwidth estimation is done using REMB and TWCC. Both are specs/drafts of the IETF.

In WebRTC, prioritization for webcams is more towards FPS (motion) and for screen sharing it is mostly resolution (quality). You can add constraints to getUserMedia() to change this for the webcam.

]]>
By: Tim https://bloggeek.me/tweaking-webrtc-video-quality-unpacking-bitrate-resolution-and-frame-rates/#comment-145270 Tue, 08 Mar 2022 12:27:38 +0000 https://bloggeek.me/?p=72855#comment-145270 Great article! This is the only place where I can find such detailed information on tweaking the video quality.

I am trying to better understand the mechanisms that WebRTC uses by default. For example does it prioritize fps over resolution or how does it determine the encoder bitrate?

Do you know where I could find more information on this? Or is it proprietary source code?

Regards,
Tim

]]>
By: Tsahi Levent-Levi https://bloggeek.me/tweaking-webrtc-video-quality-unpacking-bitrate-resolution-and-frame-rates/#comment-144827 Sat, 05 Feb 2022 09:03:52 +0000 https://bloggeek.me/?p=72855#comment-144827 In reply to Adam.

I mention it here: https://bloggeek.me/webrtc-trends-for-2022/

]]>
By: Adam https://bloggeek.me/tweaking-webrtc-video-quality-unpacking-bitrate-resolution-and-frame-rates/#comment-144826 Sat, 05 Feb 2022 08:59:41 +0000 https://bloggeek.me/?p=72855#comment-144826 Can you talk in future blogs about mediasoup!

]]>
By: Tsahi Levent-Levi https://bloggeek.me/tweaking-webrtc-video-quality-unpacking-bitrate-resolution-and-frame-rates/#comment-136717 Tue, 05 Oct 2021 11:15:54 +0000 https://bloggeek.me/?p=72855#comment-136717 In reply to Neil Young.

I don’t believe in giving set recipes. They tend not to work in complex systems.

This is why I try as much as possible to explain a topic along with the side effects on what each decision you make will have.

In the case of video quality, it is mostly about finding what your budget of bitrate is and going from there to decide on resolution and frame rate (as opposed to the other way around which I see happening too often).

]]>
By: Neil Young https://bloggeek.me/tweaking-webrtc-video-quality-unpacking-bitrate-resolution-and-frame-rates/#comment-136715 Tue, 05 Oct 2021 11:08:23 +0000 https://bloggeek.me/?p=72855#comment-136715 The title is pretty misleading. Where are the tweaks?

]]>