Changeset 1976


Ignore:
Timestamp:
Jun 2, 2008 2:06:19 PM (11 years ago)
Author:
bennylp
Message:

Increase clock rate limit in pjsua to 192000 (from 48000)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r1921 r1976  
    567567        case OPT_CLOCK_RATE: 
    568568            lval = pj_strtoul(pj_cstr(&tmp, pj_optarg)); 
    569             if (lval < 8000 || lval > 48000) { 
     569            if (lval < 8000 || lval > 192000) { 
    570570                PJ_LOG(1,(THIS_FILE, "Error: expecting value between " 
    571                                      "8000-48000 for conference clock rate")); 
     571                                     "8000-192000 for conference clock rate")); 
    572572                return PJ_EINVAL; 
    573573            } 
     
    577577        case OPT_SND_CLOCK_RATE: 
    578578            lval = pj_strtoul(pj_cstr(&tmp, pj_optarg)); 
    579             if (lval < 8000 || lval > 48000) { 
     579            if (lval < 8000 || lval > 192000) { 
    580580                PJ_LOG(1,(THIS_FILE, "Error: expecting value between " 
    581                                      "8000-48000 for sound device clock rate")); 
     581                                     "8000-192000 for sound device clock rate")); 
    582582                return PJ_EINVAL; 
    583583            } 
Note: See TracChangeset for help on using the changeset viewer.