4k streaming to webrtc
volatileconst at gmail.com
Fri Aug 7 05:55:16 UTC 2020
> 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
> 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
> 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=184.108.40.206 auto-multicast=true port=5000 ! queue
> max-size-bytes=0 !
> 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
> +-4Mbps (on average). However, sometimes fps drop a lot and quality
> 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
> 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
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