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