not able to stream the video on server

Kirti Goel kirti2.goel at
Wed Mar 17 07:40:07 UTC 2021


I am referring to the repo

I am getting this error on server
1) gcc -o test-launch test-record.c `pkg-config --cflags --libs
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 ():
Got error response: 415 (Unsupported Media Type).*

Sent from:

More information about the gstreamer-devel mailing list