mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-23 16:48:32 +00:00
Always notify call state change in linphone-daemon.
This commit is contained in:
parent
ba441492c3
commit
e5d1749cc2
1 changed files with 1 additions and 14 deletions
|
|
@ -519,20 +519,7 @@ bool Daemon::pullEvent() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Daemon::callStateChanged(LinphoneCall *call, LinphoneCallState state, const char *msg) {
|
void Daemon::callStateChanged(LinphoneCall *call, LinphoneCallState state, const char *msg) {
|
||||||
switch (state) {
|
mEventQueue.push(new EventResponse(this, call, 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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Daemon::callStatsUpdated(LinphoneCall *call, const LinphoneCallStats *stats) {
|
void Daemon::callStatsUpdated(LinphoneCall *call, const LinphoneCallStats *stats) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue