Gstreamer not able to connect with RTSP source

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Gstreamer not able to connect with RTSP source

kvs-streamer
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/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer not able to connect with RTSP source

RK29
Did you find the answer? I am not getting the audio only video
gst-launch-1.0 rtspsrc location="rtsp://192.168.1.111:554/"
short-header=TRUE ! rtph264depay ! video/x-h264, format=avc,alignment=au !
h264parse ! kvssink stream-name="test-stream" aws-region="east-1"
retention-period=1

any thoughts for audio?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel