Commit 53f19d55 authored by Margaux Clerc's avatar Margaux Clerc
Browse files

fix crash in call (on hold)

parent fd36dd6b
...@@ -1378,8 +1378,8 @@ void call_state_changed(::LinphoneCore *lc, ::LinphoneCall *call, ::LinphoneCall ...@@ -1378,8 +1378,8 @@ void call_state_changed(::LinphoneCore *lc, ::LinphoneCall *call, ::LinphoneCall
} }
else if (state == CallState::Paused || state == CallState::PausedByRemote) { else if (state == CallState::Paused || state == CallState::PausedByRemote) {
VoipPhoneCall^ platformCall = lCall->CallContext; VoipPhoneCall^ platformCall = lCall->CallContext;
if (platformCall != nullptr) //if (platformCall != nullptr)
platformCall->NotifyCallHeld(); //platformCall->NotifyCallHeld();
} }
else if (state == CallState::StreamsRunning) { else if (state == CallState::StreamsRunning) {
VoipPhoneCall^ platformCall = lCall->CallContext; VoipPhoneCall^ platformCall = lCall->CallContext;
......
Markdown is supported
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