Update current_call before notifiying call state change for LinphoneCallStreamsRunning

This commit is contained in:
Pierre-Eric Pelloux-Prayer 2012-03-26 15:21:32 +02:00
parent 680fbbf024
commit 35ab327fb2

View file

@ -368,9 +368,9 @@ static void call_accepted(SalOp *op){
}
}
linphone_core_update_streams (lc,call,md);
linphone_call_set_state(call, LinphoneCallStreamsRunning, "Streams running");
if (!call->current_params.in_conference)
lc->current_call=call;
linphone_call_set_state(call, LinphoneCallStreamsRunning, "Streams running");
}
}else{
/*send a bye*/