Ignore:
Timestamp:
Jun 6, 2008 2:47:10 PM (16 years ago)
Author:
bennylp
Message:

Major major modifications related to ticket #485 (support for TURN-07):

  • Added STUN socket transport pj_stun_sock
  • Integration of TURN-07 to ICE
  • Major refactoring in ICE stream transport to make it simpler
  • Major modification (i.e. API change) in almost everywhere else
  • Much more elaborate STUN, TURN, and ICE tests in pjnath-test
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjturn-client/client_main.c

    r1929 r1988  
    6969static int worker_thread(void *unused); 
    7070static void turn_on_rx_data(pj_turn_sock *relay, 
    71                             const pj_uint8_t *pkt, 
     71                            void *pkt, 
    7272                            unsigned pkt_len, 
    7373                            const pj_sockaddr_t *peer_addr, 
     
    275275 
    276276    srv = pj_str(o.srv_addr); 
    277     CHECK( pj_turn_sock_init(g.relay,                            /* the relay */ 
     277    CHECK(pj_turn_sock_alloc(g.relay,                            /* the relay */ 
    278278                            &srv,                                /* srv addr */ 
    279279                            (o.srv_port?atoi(o.srv_port):PJ_STUN_PORT),/* def port */ 
     
    295295 
    296296static void turn_on_rx_data(pj_turn_sock *relay, 
    297                             const pj_uint8_t *pkt, 
     297                            void *pkt, 
    298298                            unsigned pkt_len, 
    299299                            const pj_sockaddr_t *peer_addr, 
Note: See TracChangeset for help on using the changeset viewer.