Reputation: 1
gst-launch-1.0 videotestsrc
! queue ! vp8enc ! rtpvp8pay
! application/x-rtp,media=video,encoding-name=VP8,payload=96
! webrtcbin name=sendrecv
In this pipeline I don't understand the need for queue element after videotestsrc ?
Can someone throw some light on the same ?
Upvotes: 0
Views: 509
Reputation: 140
Its mostly for the buffering purpose. queue can hold the frames until vp8enc is done encoding current frame and ready to consume next one.
You read more about buffering in gstreamer here https://gstreamer.freedesktop.org/documentation/application-development/advanced/buffering.html?gi-language=c
Upvotes: 0