Ignore:
Timestamp:
Apr 13, 2009 8:54:10 AM (12 years ago)
Author:
bennylp
Message:

Ticket #780: Update TURN from draft 09 to draft 13:

  • new rules for permissions:
    • permission must be created and refreshed explicitly with CreatePermission?
    • transmitting data does not refresh permission
  • attributes changed/added: XOR-PEER-ADDRESS, XOR-RELAYED-ADDRESS, EVEN-PORT, DONT-FRAGMENT
  • attribute(s) removed: REQUESTED-PROPS
  • new status codes: 401 (Forbidden), 507 (Insufficient Capacity)
  • removed status codes: 443 (Invalid IP address), 444 (Invalid Port), 508 (Insufficient Port Capacity)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/turn_sock.c

    r2394 r2589  
    388388 
    389389/* 
     390 * Install permission 
     391 */ 
     392PJ_DEF(pj_status_t) pj_turn_sock_set_perm( pj_turn_sock *turn_sock, 
     393                                           unsigned addr_cnt, 
     394                                           const pj_sockaddr addr[], 
     395                                           unsigned options) 
     396{ 
     397    if (turn_sock->sess == NULL) 
     398        return PJ_EINVALIDOP; 
     399 
     400    return pj_turn_session_set_perm(turn_sock->sess, addr_cnt, addr, options); 
     401} 
     402 
     403/* 
    390404 * Send packet. 
    391405 */  
Note: See TracChangeset for help on using the changeset viewer.