Set SRT Latency to 200ms

TODO: make it configurable
This commit is contained in:
Bruno Herbelin
2022-08-01 12:39:55 +02:00
parent 3eec07fac1
commit ea7786a002
2 changed files with 3 additions and 3 deletions

View File

@@ -101,9 +101,9 @@ std::string VideoBroadcast::init(GstCaps *caps)
}
// TODO Configure options
// setup SRT streaming sink properties
// setup SRT streaming sink properties (latency)
g_object_set (G_OBJECT (gst_bin_get_by_name (GST_BIN (pipeline_), "sink")),
"latency", 1000,
"latency", 200,
"wait-for-connection", false,
NULL);