Ignore:
Timestamp:
Apr 13, 2008 9:48:44 PM (14 years ago)
Author:
bennylp
Message:

More ticket #485: fixed TURN server permission not allowing peer with the same IP to get through, and added option to disable FINGERPRINT verification in TURN server since it is currently broken when TURN is used with ICE (which has a FINGERPRINT in its Binding Request)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjturn-srv/main.c

    r1913 r1924  
    2020#include "auth.h" 
    2121 
    22 #define REALM   "pjsip.org" 
     22#define REALM           "pjsip.org" 
     23#define TURN_PORT       PJ_STUN_TURN_PORT 
     24//#define TURN_PORT     34780 
     25 
    2326 
    2427static pj_caching_pool g_cp; 
     
    139142 
    140143    status = pj_turn_listener_create_udp(srv, pj_AF_INET(), NULL,  
    141                                          PJ_STUN_PORT, 1, 0, &listener); 
     144                                         TURN_PORT, 1, 0, &listener); 
    142145    if (status != PJ_SUCCESS) 
    143146        return err("Error creating UDP listener", status); 
    144147 
    145148    status = pj_turn_listener_create_tcp(srv, pj_AF_INET(), NULL,  
    146                                          PJ_STUN_PORT, 1, 0, &listener); 
     149                                         TURN_PORT, 1, 0, &listener); 
    147150    if (status != PJ_SUCCESS) 
    148151        return err("Error creating listener", status); 
Note: See TracChangeset for help on using the changeset viewer.