Ignore:
Timestamp:
Aug 26, 2011 4:19:04 AM (13 years ago)
Author:
nanang
Message:

Fixed #1352:

  • Updated maximum video tee ports in pjsua video preview to (PJSUA_MAX_CALLS+1).
  • Removed video tee maximum ports compile-time setting, MAX_DST_PORT_COUNT.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_vid.c

    r3724 r3725  
    2424#if PJSUA_HAS_VIDEO 
    2525 
     26#define VID_TEE_MAX_PORT    (PJSUA_MAX_CALLS + 1) 
     27 
    2628static void free_vid_win(pjsua_vid_win_id wid); 
    2729 
     
    406408 
    407409        /* Create video tee */ 
    408         status = pjmedia_vid_tee_create(w->pool, fmt, 2, &w->tee); 
     410        status = pjmedia_vid_tee_create(w->pool, fmt, VID_TEE_MAX_PORT, 
     411                                        &w->tee); 
    409412        if (status != PJ_SUCCESS) 
    410413            goto on_error; 
Note: See TracChangeset for help on using the changeset viewer.