forked from mirrors/linphone-iphone
Enable camera on conference calls when app comes to foreground
This commit is contained in:
parent
8b5668e8ce
commit
0fc1f024d3
1 changed files with 1 additions and 1 deletions
|
|
@ -131,7 +131,7 @@
|
|||
const LinphoneCallParams *params =
|
||||
linphone_call_get_current_params(call);
|
||||
if (linphone_call_params_video_enabled(params)) {
|
||||
linphone_call_enable_camera(call, [CallManager.instance backgroundContextCameraIsEnabled]);
|
||||
linphone_call_enable_camera(call, [CallManager.instance backgroundContextCameraIsEnabled] || (linphone_call_get_call_log(call) && linphone_call_log_was_conference(linphone_call_get_call_log(call))));
|
||||
}
|
||||
[CallManager.instance setBackgroundContextCallWithCall:nil];
|
||||
} else if (linphone_call_get_state(call) == LinphoneCallIncomingReceived) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue