Commit 8d5151b8 authored by Gus Grubba's avatar Gus Grubba Committed by GitHub

Merge pull request #4613 from NaterGator/gstfixes

Fix rtspsrc timeout storage type, add a few ms of jitterbuffer
parents b1686c1f 2c30ce84
......@@ -208,7 +208,7 @@ void VideoReceiver::start()
}
g_object_set(G_OBJECT(dataSource), "uri", qPrintable(_uri), "caps", caps, NULL);
} else {
g_object_set(G_OBJECT(dataSource), "location", qPrintable(_uri), "latency", 0, "udp-reconnect", 1, "timeout", 5000000, NULL);
g_object_set(G_OBJECT(dataSource), "location", qPrintable(_uri), "latency", 17, "udp-reconnect", 1, "timeout", static_cast<guint64>(5000000), NULL);
}
if ((demux = gst_element_factory_make("rtph264depay", "rtp-h264-depacketizer")) == NULL) {
......
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