not able to stream the video on server

Marc Leeman marc.leeman at gmail.com
Thu Mar 18 16:50:28 UTC 2021


I don't know this particular tool by heart, but I seem to remember
that you need to specify the pipeline up until the RTP payloader *and*
you need to pass it the name pay0 (or more if you mux multiple streams
into one session).


On Wed, 17 Mar 2021 at 14:45, Kirti Goel <kirti2.goel at altran.com> wrote:
>
> hi,
>
> I am referring to the repo
> https://github.com/GStreamer/gst-rtsp-server/tree/master/examples
>
> I am getting this error on server
> 1) gcc -o test-launch test-record.c `pkg-config --cflags --libs
> gstreamer-rtsp-server-1.0`
> 2)./test-launch -p 7081 filesrc location=Relaxing_highway_traffic_777.mp4 !
> decodebin ! x264enc ! fakesink
>
> after running client, error it shows:
> *(test-launch:37329): GLib-GObject-WARNING **: 12:41:21.811: invalid cast
> from 'GstFileSrc' to 'GstBin'
>
> (test-launch:37329): GStreamer-CRITICAL **: 12:41:21.811:
> gst_bin_get_by_name: assertion 'GST_IS_BIN (bin)' failed*
>
> on client side error
> *ERROR: from element
> /GstPipeline:pipeline0/GstRTSPClientSink:rtspclientsink0: Could not read
> from resource.
> Additional debug info:
> ../gst/rtsp-sink/gstrtspclientsink.c(3092): gst_rtsp_client_sink_send ():
> /GstPipeline:pipeline0/GstRTSPClientSink:rtspclientsink0:
> Got error response: 415 (Unsupported Media Type).*
>
>
>
>
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



-- 
g. Marc


More information about the gstreamer-devel mailing list