< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] What's difference between onConnected and onAnswer ?


onConnected() is called once two conditions have been satisfied or the first time: 1) The _initial_ INVITE transaction has been successfully completed. For UAC, this means we have sent an ACK. For UAS, this means we have received an ACK. 2) An offer-answer exchange has completed (ie, for Offerer answer has been received, for Answerer, answer has been sent).

onAnswer() is called whenever an Offerer has received an answer (this can happen multiple times).

Best regards,
Byron Campen

Hello everyone, what's difference between onConnected and onAnswer ? I have read the comments for the source code, but I just know the onAnswer for the 200 OK with SDP, but the onConnected ? It fire when for the ACK ?

Thanks
_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/

Attachment: smime.p7s
Description: S/MIME cryptographic signature