Gstreamer not able to connect with RTSP source

kvs-streamer jason.shen190 at gmail.com
Fri Mar 27 04:57:18 UTC 2020


Hi,

I was setting it up by following AWS document
https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/examples-rtsp.html

However I ran into this issue when I was using HTTP proxy with my container.

0:00:00.036969643    34 0x557742e52800 INFO              GST_STATES
gstbin.c:2954:gst_bin_change_state_func:<rtsp-kinesis-pipeline> child
'source' changed state to 4(PLAYING) successfully
0:00:00.068207976    34 0x557743005320 ERROR                default
gstrtspconnection.c:1004:gst_rtsp_connection_connect_with_response: failed
to connect: HTTP proxy connection not allowed
0:00:00.068437352    34 0x557743005320 ERROR                rtspsrc
gstrtspsrc.c:4702:gst_rtsp_conninfo_connect:<source> Could not connect to
server. (Generic error)
0:00:00.068621477    34 0x557743005320 WARN                 rtspsrc
gstrtspsrc.c:7469:gst_rtspsrc_retrieve_sdp:<source> error: Failed to
connect. (Generic error)
0:00:00.068806289    34 0x557743005320 INFO        GST_ERROR_SYSTEM
gstelement.c:2145:gst_element_message_full_with_details:<source> posting
message: Could not open resource for reading and writing.
Error received from element source: Could not open resource for reading and
writing.
Debugging information: gstrtspsrc.c(7469): gst_rtspsrc_retrieve_sdp ():
/GstPipeline:rtsp-kinesis-pipeline/GstRTSPSrc:source:
Failed to connect. (Generic error)
0:00:00.069365475    34 0x557742e52800 INFO              GST_STATES
gstbin.c:2506:gst_bin_element_set_state:<appsink> current READY pending
PAUSED, desired next READY

I could not figure out why it happened. 

I tested with curl from host and container. Both returned with 200 with my
RTSP endpoint.

Appreciate any help looking into this. 



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list