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 [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 <[hidden email]> 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 > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel -- g. Marc _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |