4k streaming to webrtc

Patrick Cusack patrickcusack at mac.com
Fri Jul 31 12:44:49 UTC 2020


Stupid question. Why does Chrome not work? I don’t use Firefox, but I use its webRtC-internals facility to check jitter / nacks etc.  Do you have a nack count?

Sent from my iPhone

> On Jul 31, 2020, at 5:03 AM, kaladin <pausanchez1998 at gmail.com> wrote:
> 
> Hey everyone!
> 
> I'm developing an app that's supposed to stream a video coming from a
> pipeline to several browser clients. This works perfectly fine for 720p and
> 1080p but when upgrading to 4k I start to see some freezing in the video
> played by clients. 
> 
> The host for this project is an Nvidia TX2 and profiling the main program
> doesn't seem to show any bottlenecks (gpu, cpu and memory usage are all low
> and watching the stream before launching doesn't look nearly as bad as at
> clients), so the bottleneck seems to be somewhere in webrtc. The pipeline
> used by webrtc is the following in case it helps:
> 
> udpsrc multicast-group=224.1.1.1 auto-multicast=true port=5000 ! queue
> max-size-bytes=0 !
> application/x-rtp,media=video,clock-rate=90000,encoding-name=VP8,payload=96,
> framerate=25/1 ! webrtcbin name=sendrecv latency=0
> 
> I've tried to find the reason using Firefox about:webrtc tool (We haven't
> managed to make webrtc work with chrome yet) and FPS, packet loss and
> bitrate all seem normal: Source is 25fps +-4Mbps and we receive  22 FPS and
> +-4Mbps (on average). However, sometimes fps drop a lot and quality overall
> seems to be lower than before streaming. Client pc has higher cpu and gpu
> consumption thatn the jetson host but it's only around 80% for both. 
> 
> Is there any way I could debug further to find performance or something that
> could help improving webrtc  performance?
> 
> Thank you for your attention!
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list