Commit e5d1749c authored by Ghislain MARY's avatar Ghislain MARY

Always notify call state change in linphone-daemon.

parent ba441492
......@@ -519,20 +519,7 @@ bool Daemon::pullEvent() {
}
void Daemon::callStateChanged(LinphoneCall *call, LinphoneCallState state, const char *msg) {
switch (state) {
case LinphoneCallIncomingReceived:
linphone_call_enable_camera (call,mAutoVideo);
case LinphoneCallOutgoingProgress:
case LinphoneCallIncomingEarlyMedia:
case LinphoneCallConnected:
case LinphoneCallStreamsRunning:
case LinphoneCallError:
case LinphoneCallEnd:
mEventQueue.push(new EventResponse(this, call, state));
break;
default:
break;
}
mEventQueue.push(new EventResponse(this, call, state));
}
void Daemon::callStatsUpdated(LinphoneCall *call, const LinphoneCallStats *stats) {
......
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