webrtcbin latency

antchi antchien at gmail.com
Tue Jun 26 21:56:23 UTC 2018


I've been testing out the new webrtcbin plugin and am encountering a
noticeable addition in latency when streaming.  I used two machines with
gstreamer to stream h264 video from one to the other via the webrtcbin
plugin (pipelines look like this - sender: fdsrc ! h264parse ! rtph264pay !
webrtcbin.  receiver: webrtcbin ! decodebin ! videoconvert ! autovideosink),
which works like a charm.  If I replace the webrtcbin's with udpsink and
udpsrc's, however, I get about a 150-200ms decrease in latency.  Has anybody
else experienced the same?

I'm under the impression that most of the work webrtcbin does is setting up
the connection, and once that connection is set up, information should flow
with very little overhead.  I'm wondering if this overhead is typical, or if
there is anything that can be done to optimize this.

150-200ms may not seem that long, but depending on the real-time
application, it could have a significant impact on experience.

Thanks!



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


More information about the gstreamer-devel mailing list