RTPBin issue?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

RTPBin issue?

scraper
Hey,

I'm attempting to stream video/audio through gstreamer and I tried
replicating the code used in this example
https://github.com/versatica/mediasoup-demo/blob/v3/broadcasters/gstreamer.sh
however, I seem to be getting an error with this command.

<nabbled_embed>
gst-launch-1.0 -v pulsesrc ! queue ! audioconvert ! decodebin !
audioresample ! audioconvert ! audio/x-raw,channels=2,rate=24000 ! opusenc !
rtpopuspay pt=101 ssrc=11111111 ! rtpbin.send_rtp_sink_1
rtpbin.send_rtp_src_1 ! udpsink host=rtc-eu-2.giggl.app port=40606
rtpbin.send_rtcp_src_1 ! udpsink host=rtc-eu-2.giggl.app port=43353
sync=false async=false
</nabbled_embed>
I seem to be getting

<nabbled_embed>
WARNING: erroneous pipeline: No sink-element named "(null)" - omitting link
</nabbled_embed>

I've boiled this down to the exact line <nabbled_embed>!
rtpbin.send_rtp_sink_1</nabbled_embed>
 I believe this is the crux of the problem but I'm unsure why? Any help is
greatly appreciated <3



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: RTPBin issue?

Matthew Waters
You don't have an actual rtpbin element in your pipeline but yet I
assume you are referencing one by the name rtpbin.  You need to have a
'rtpbin name=rtpbin' before you can use the 'rtpbin.' syntax.

On 22/6/20 9:01 am, scraper wrote:

> Hey,
>
> I'm attempting to stream video/audio through gstreamer and I tried
> replicating the code used in this example
> https://github.com/versatica/mediasoup-demo/blob/v3/broadcasters/gstreamer.sh
> however, I seem to be getting an error with this command.
>
> <nabbled_embed>
> gst-launch-1.0 -v pulsesrc ! queue ! audioconvert ! decodebin !
> audioresample ! audioconvert ! audio/x-raw,channels=2,rate=24000 ! opusenc !
> rtpopuspay pt=101 ssrc=11111111 ! rtpbin.send_rtp_sink_1
> rtpbin.send_rtp_src_1 ! udpsink host=rtc-eu-2.giggl.app port=40606
> rtpbin.send_rtcp_src_1 ! udpsink host=rtc-eu-2.giggl.app port=43353
> sync=false async=false
> </nabbled_embed>
> I seem to be getting
>
> <nabbled_embed>
> WARNING: erroneous pipeline: No sink-element named "(null)" - omitting link
> </nabbled_embed>
>
> I've boiled this down to the exact line <nabbled_embed>!
> rtpbin.send_rtp_sink_1</nabbled_embed>
>  I believe this is the crux of the problem but I'm unsure why? Any help is
> greatly appreciated <3
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (499 bytes) Download Attachment