Commit d11d5998 authored by Éloi Bail's avatar Éloi Bail Committed by gerrit2

daemon: remove sleep from video receiver

This patchset remove a sleep introduced in
9b88077c. We see sometimes that first frames are
missed on receiver side. This is definitely a cause.

Change-Id: I7af1c8511ddc824b812dffb09896d0606076f197
parent 5abe6b57
......@@ -113,10 +113,6 @@ bool VideoReceiveThread::setup()
videoDecoder_->setIOContext(demuxContext_.get());
}
// FIXME: this is a hack because our peer sends us RTP before
// we're ready for it, and we miss the SPS/PPS. We should be
// ready earlier.
sleep(1);
if (requestKeyFrameCallback_)
requestKeyFrameCallback_(id_);
......
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