conference: fix preview and peer display after conference

Change-Id: Ie82f2adaa1976fc33bd1c6d016d7981ab3476893
Reviewed-by: Sébastien Blin <sebastien.blin@savoirfairelinux.com>
This commit is contained in:
Pierre Lespagnol
2019-10-01 17:06:26 -04:00
committed by Sébastien Blin
parent 3b2f30e9f0
commit 0819bce58c

View File

@ -327,6 +327,11 @@ void VideoRtpSession::exitConference()
videoMixer_.reset();
}
// videoLocal_ is reset when a conference is created (only mixer need videoInput)
// when the conference is removed, we need to set videoLocal_ for the remaining call
if (!videoLocal_)
videoLocal_ = getVideoCamera();
if (videoLocal_)
videoLocal_->attach(sender_.get());