Problem with NDISRC, WHIPSINK, and audio

GST Developer gstreamer at gallery.co.uk
Fri Jul 14 21:59:32 UTC 2023


Hi Folks.

I am attempting use gstreamer to send content from an NDI Source to a WHIP end point at Dolby.io.

If I just send VIDEO, its working fine:

gst-launch-1.0 ndisrc ndi-name="NDIPE8 (SIGGEN)" !  ndisrcdemux name=demux demux.video ! queue ! videoconvert ! x264enc ! video/x-h264,format=byte-stream,profile=baseline ! rtph264pay !   'application/x-rtp,media=video,encoding-name=H264,payload=97,clock-rate=90000' !   whip.sink_0 whipsink name=whip   auth-token=“…redacted….."  whip-endpoint="https://director.millicast.com/api/whip/myStreamName”

This works FINE !! we get the signal to the WHIP server and the end to end latency is about 2 seconds.

Now I want to add AUDIO to that pipeline, and I am trying: 

gst-launch-1.0 ndisrc ndi-name="NDIPE8 (SIGGEN)" !  ndisrcdemux name=demux demux.video ! queue ! videoconvert ! x264enc ! video/x-h264,format=byte-stream,profile=baseline ! rtph264pay !   'application/x-rtp,media=video,encoding-name=H264,payload=97,clock-rate=90000' !  whip.sink_0 demux.audio ! audioconvert ! opusenc ! rtpopuspay ! 'application/x-rtp,media=audio,encoding-name=OPUS,payload=96,clock-rate=48000,encoding-params=(string)2'  ! whip.sink_1  whipsink name=whip   auth-token="…redacted….."  whip-endpoint="https://director.millicast.com/api/whip/myStreamName”

Now, it starts up with:

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Redistribute latency...
Redistribute latency...
Redistribute latency…

But it stalls right there, and never gets to counting time, and we dont see anything arrive at the WHIP server.

Might anyone know what I am doing wrong ?

Many thanks !!!



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230714/f0dd2c06/attachment.htm>


More information about the gstreamer-devel mailing list