Commit 7f5e8c9a authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #13731: videortp: hack around unimplemented video hold for now

parent cf45db71
......@@ -138,10 +138,13 @@ void VideoRtpSession::start()
DEBUG("Video sending disabled");
if (receiving_) {
if (receiveThread_.get())
WARN("Restarting video receiver");
receiveThread_.reset(new VideoReceiveThread(callID_, rxArgs_));
receiveThread_->start();
if (receiveThread_.get()) {
// FIXME: this is just until we fix onhold/offhold
WARN("Not restarting video receiver");
} else {
receiveThread_.reset(new VideoReceiveThread(callID_, rxArgs_));
receiveThread_->start();
}
}
else
DEBUG("Video receiving disabled");
......
Supports Markdown
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