Skip to content

rtsp-stream: preroll on gap events

This allows negotiating a SDP with all streams present, but only start sending packets at some later point in time

Tested with gstreamer!594 (merged) and:

test-launch "videotestsrc ! x264enc ! rtph264pay name=pay0 pt=96 audiotestsrc ! opusenc ! opusparse ! valve drop=true drop-mode=transform-to-gap ! rtpopuspay name=pay1 pt=97"

and on the client side:

gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:8554/test name=r r. ! application/x-rtp, media=video ! decodebin ! autovideosink r. ! fakesink async=false

Requires gst-plugins-base!797 (merged)

Edited by Mathieu Duponchelle

Merge request reports

Loading