4k streaming to webrtc

evaluat0r volatileconst at gmail.com
Fri Aug 7 05:55:16 UTC 2020


kaladin 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 .freedesktop

> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

For 4K, you need to support at least 20-25mbps. Is that the case? Otherwise
you aren't dealing with a 4K stream.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list