Commit c47e376e authored by Olivier Crête's avatar Olivier Crête

Remove mode=listener from printed URI

parent 4f196023
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#define GST_USE_UNSTABLE_API #define GST_USE_UNSTABLE_API
#include <gst/webrtc/rtcsessiondescription.h> #include <gst/webrtc/rtcsessiondescription.h>
#define DEFAULT_SRT_URI "srt://127.0.0.1:7001?mode=listener" #define DEFAULT_SRT_URI "srt://127.0.0.1:7001"
#define DEFAULT_RIST_ADDRESSES "127.0.0.1:5004" #define DEFAULT_RIST_ADDRESSES "127.0.0.1:5004"
static gchar *srt_uri = NULL; static gchar *srt_uri = NULL;
...@@ -224,9 +224,9 @@ int main (int argc, char *argv[]) ...@@ -224,9 +224,9 @@ int main (int argc, char *argv[])
http_server = mss_http_server_new (); http_server = mss_http_server_new ();
pipeline_str = g_strdup_printf ("srtsrc uri=%s ! tsparse ! tee name=t ! "
"queue ! decodebin ! videoconvert ! autovideosink " "queue ! decodebin ! videoconvert ! autovideosink "
"t. ! queue leaky=downstream ! tsdemux ! mpegtsmux ! hlssink location=%s/segment%%05d.ts playlist-location=%s/playlist.m3u8 target-duration=5 playlist-length=3 " "t. ! queue leaky=downstream ! tsdemux ! mpegtsmux ! hlssink location=%s/segment%%05d.ts playlist-location=%s/playlist.m3u8 target-duration=5 playlist-length=3 "
pipeline_str = g_strdup_printf ("srtsrc uri=%s?mode=listener ! tsparse ! tee name=t"
"t. ! queue leaky=downstream max-size-buffers=400 ! rtpmp2tpay ! ristsink bonding-addresses=%s " "t. ! queue leaky=downstream max-size-buffers=400 ! rtpmp2tpay ! ristsink bonding-addresses=%s "
"t. ! queue leaky=downstream ! tsdemux ! h264parse ! rtph264pay ! application/x-rtp,payload=96 ! tee name=webrtctee allow-not-linked=true " "t. ! queue leaky=downstream ! tsdemux ! h264parse ! rtph264pay ! application/x-rtp,payload=96 ! tee name=webrtctee allow-not-linked=true "
"t. ! queue leaky=downstream max-size-buffers=400 ! srtsink uri=srt://:7002?mode=listener", "t. ! queue leaky=downstream max-size-buffers=400 ! srtsink uri=srt://:7002?mode=listener",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment