mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-01 02:39:22 +00:00
fix unix file mode
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@315 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
49d6e6533c
commit
a9c88afac4
1 changed files with 6 additions and 6 deletions
|
|
@ -45,10 +45,10 @@ ice_sendtest( struct IceCheckList *checklist, struct CandidatePair *remote_candi
|
|||
stunBuildReqSimple( &req, username, FALSE, FALSE, 1);
|
||||
req.hasMessageIntegrity=TRUE;
|
||||
|
||||
/* 7.1.1.1
|
||||
The attribute MUST be set equal to the priority that would be
|
||||
assigned, based on the algorithm in Section 4.1.2, to a peer
|
||||
reflexive candidate, should one be learned as a consequence of this
|
||||
/* 7.1.1.1
|
||||
The attribute MUST be set equal to the priority that would be
|
||||
assigned, based on the algorithm in Section 4.1.2, to a peer
|
||||
reflexive candidate, should one be learned as a consequence of this
|
||||
check */
|
||||
req.hasPriority = TRUE;
|
||||
req.priority.priority = (UInt32)(pow((double)2,(double)24)*(110) + pow((double)2,(double)8)*(65535) + pow((double)2,(double)0)*(256 - remote_candidate->remote_candidate.component_id));
|
||||
|
|
@ -653,7 +653,7 @@ static int ice_process_stun_message(RtpSession *session, struct IceCheckList *ch
|
|||
}
|
||||
|
||||
if (checklist->rem_controlling==0 && msg.hasIceControlling) {
|
||||
/* If the agent's tie-breaker is larger than or equal
|
||||
/* If the agent's tie-breaker is larger than or equal
|
||||
to the contents of the ICE-CONTROLLING attribute
|
||||
-> send 487, and do not change ROLE */
|
||||
if (checklist->tiebreak_value >= msg.iceControlling.value) {
|
||||
|
|
@ -693,7 +693,7 @@ static int ice_process_stun_message(RtpSession *session, struct IceCheckList *ch
|
|||
}
|
||||
|
||||
if (checklist->rem_controlling==1 && msg.hasIceControlled) {
|
||||
|
||||
|
||||
/* If the agent's tie-breaker is larger than or equal
|
||||
to the contents of the ICE-CONTROLLED attribute
|
||||
-> change ROLE */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue