not able to stream the video on server

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

not able to stream the video on server

Kirti Goel
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