I am using gstreamer and I want to send SRT to media (enterprise version). The tutorial uses OBS or FFmpeg; however, we are doing real-time streamming analytics and cannot introduce such a tool as the AI pipeline introduces a lot of lag between ingestion from cameras to sending to antmedia server (we program things ourself).
1. Is there any examples on how to send SRT using gstreamer to AntMedia server using `gst-launch-1.0`?
2. What types of connections do you support (caller, sender, rendezvous) and does ant media server act as the UDP server?
I have struggled for quick a while now and searched through all your documentation but it seems that most of the suggestions for ingestion involve using programs like FFMPEG or OSB.
For me, I am programmatically creating gstreamer pipelines and need to configure many of the underlaying properties.
- here is a simple pipeline I use to test sending SRT to the antmedia server (dockerized, and in
# exports in linux terminal
export LOCAL_IP=172.23.0.11
export LOCAL_PORT=20001
export HOST_IP=172.23.0.4
export HOST_PORT=4200
export STREAM=stream
# attempt to launch a simplified pipeline using gstreamer's gst-launch to test connectivity (before programmatically creating it)
GST_DEBUG=3 gst-launch-1.0 -v filesrc location=$VID ! qtdemux ! queue ! h264parse ! avdec_h264 ! videoconvert ! x264enc tune=zerolatency ! "video/x-h264, profile=high" ! mpegtsmux alignment=7 ! srtsink uri="srt://$HOST_IP:$HOST_PORT/$STREAM?streamid=WebRTCAppEE/stream1" latency=1000 localaddress=$LOCAL_IP localport=$LOCAL_PORT
- this fails with `cannot get pbkeylen` and `Connection does not exist`
As SRT ingestion and extremely low latency WebRTC are two features that are offered with Ant Media, it was an easy choice of technology; however, the SRT ingestion is difficult to work out. Can I get some support on this? Has anyone else sent SRT to AntMedia with gstreamer before?
Question
matmccann
I am using gstreamer and I want to send SRT to media (enterprise version). The tutorial uses OBS or FFmpeg; however, we are doing real-time streamming analytics and cannot introduce such a tool as the AI pipeline introduces a lot of lag between ingestion from cameras to sending to antmedia server (we program things ourself).
1. Is there any examples on how to send SRT using gstreamer to AntMedia server using `gst-launch-1.0`?
2. What types of connections do you support (caller, sender, rendezvous) and does ant media server act as the UDP server?
I have struggled for quick a while now and searched through all your documentation but it seems that most of the suggestions for ingestion involve using programs like FFMPEG or OSB.
For me, I am programmatically creating gstreamer pipelines and need to configure many of the underlaying properties.
- here is a simple pipeline I use to test sending SRT to the antmedia server (dockerized, and in
# exports in linux terminal export LOCAL_IP=172.23.0.11 export LOCAL_PORT=20001 export HOST_IP=172.23.0.4 export HOST_PORT=4200 export STREAM=stream # attempt to launch a simplified pipeline using gstreamer's gst-launch to test connectivity (before programmatically creating it) GST_DEBUG=3 gst-launch-1.0 -v filesrc location=$VID ! qtdemux ! queue ! h264parse ! avdec_h264 ! videoconvert ! x264enc tune=zerolatency ! "video/x-h264, profile=high" ! mpegtsmux alignment=7 ! srtsink uri="srt://$HOST_IP:$HOST_PORT/$STREAM?streamid=WebRTCAppEE/stream1" latency=1000 localaddress=$LOCAL_IP localport=$LOCAL_PORT
- this fails with `cannot get pbkeylen` and `Connection does not exist`
As SRT ingestion and extremely low latency WebRTC are two features that are offered with Ant Media, it was an easy choice of technology; however, the SRT ingestion is difficult to work out. Can I get some support on this? Has anyone else sent SRT to AntMedia with gstreamer before?
Link to comment
Share on other sites
Top Posters For This Question
3
2
Popular Days
Sep 12
1
Sep 13
1
Sep 26
1
Sep 28
1
Top Posters For This Question
matmccann 3 posts
Selim 2 posts
Popular Days
Sep 12 2022
1 post
Sep 13 2022
1 post
Sep 26 2022
1 post
Sep 28 2022
1 post
Posted Images
4 answers to this question
Recommended Posts