Questions regarding WebRTC codecs, supported resolutions and hardware accelerated video streaming

148 views
Skip to first unread message

Alan Rostem

unread,
Mar 6, 2024, 10:12:58 AM3/6/24
to discuss-webrtc
Hi,

I have been digging around the internet for several weeks trying to get 4K and 1080p video streaming to work through a simple WebRTC application using Chromium, but my application is stuck with 720p and below. My network conditions are near-perfect, with two nodes connected through 10Gb/s Ethernet in a VLAN. Despite my near-perfect network conditions, I am not able to get the resolutions I specify to the video track constraints, as suggested by this documentation: https://developer.mozilla.org/en-US/docs/Web/API/Media_Capture_and_Streams_API/Constraints

 Thus, I have several questions before I spend any more time debugging:
- Could this be a hardware acceleration issue?
- If the problem is related to hardware acceleration, then does hardware acceleration work with the default codec (VP8)?
- Do all Chromium-supported WebRTC video codecs (VP8, VP9 and H.264) work with hardware acceleration? If not, then which ones and why?
- Is 4K and 1080p video streaming even possible with WebRTC?
- Is hardware acceleration even possible with WebRTC?

My application is a modified version of this example: https://github.com/fireship-io/webrtc-firebase-demo

Please to not hesitate to ask for more details related to my issue. If you need an example code, I will try to provide it.

Reply all
Reply to author
Forward
0 new messages