Fixed issue preventing reinvite with video
This commit is contained in:
parent
e97a68dda5
commit
f2893093d1
1 changed files with 5 additions and 3 deletions
|
@ -347,15 +347,17 @@ public class CallManager {
|
||||||
Log.e("[Call Manager] Remote has low bandwidth, won't be able to do video");
|
Log.e("[Call Manager] Remote has low bandwidth, won't be able to do video");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (call.getCurrentParams().videoEnabled()) {
|
||||||
|
Log.e("[Call Manager] Video is already enabled");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
CallParams params = core.createCallParams(call);
|
CallParams params = core.createCallParams(call);
|
||||||
if (params.videoEnabled()) return false;
|
|
||||||
|
|
||||||
// Check if video possible regarding bandwidth limitations
|
// Check if video possible regarding bandwidth limitations
|
||||||
mBandwidthManager.updateWithProfileSettings(params);
|
mBandwidthManager.updateWithProfileSettings(params);
|
||||||
|
|
||||||
// Abort if not enough bandwidth...
|
// Abort if not enough bandwidth...
|
||||||
if (!params.videoEnabled()) {
|
if (!params.videoEnabled()) {
|
||||||
|
Log.e("[Call Manager] Video can't be enabled");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue