Browse Source

Merge pull request #4613 from NaterGator/gstfixes

Fix rtspsrc timeout storage type, add a few ms of jitterbuffer
QGC4.4
Gus Grubba 8 years ago committed by GitHub
parent
commit
8d5151b896
  1. 2
      src/VideoStreaming/VideoReceiver.cc

2
src/VideoStreaming/VideoReceiver.cc

@ -208,7 +208,7 @@ void VideoReceiver::start() @@ -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) {

Loading…
Cancel
Save