mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-14 03:39:57 +01:00
Set SRT Latency to 200ms
TODO: make it configurable
This commit is contained in:
@@ -23,7 +23,7 @@ void SrtReceiverSource::setConnection(const std::string &ip, const std::string &
|
||||
port_ = port;
|
||||
Log::Notify("Creating Source SRT receiving from '%s'", uri().c_str());
|
||||
|
||||
std::string description = "srtsrc uri=" + uri() + " ! tsdemux ! decodebin ! videoconvert";
|
||||
std::string description = "srtsrc uri=" + uri() + " latency=200 ! tsdemux ! decodebin ! videoconvert";
|
||||
|
||||
// open gstreamer
|
||||
stream_->open(description);
|
||||
|
||||
Reference in New Issue
Block a user