Ignore:
Timestamp:
Feb 26, 2018 10:14:27 AM (3 years ago)
Author:
nanang
Message:

Close #2097: Updated UDP media transport to start socket read operation in pjmedia_transport_media_start().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/simpleua.c

    r5241 r5747  
    871871    } 
    872872 
     873    /* Start the UDP media transport */ 
     874    pjmedia_transport_media_start(g_med_transport[0], 0, 0, 0, 0); 
     875 
    873876    /* Get the media port interface of the audio stream.  
    874877     * Media port interface is basicly a struct containing get_frame() and 
     
    947950        } 
    948951 
     952        /* Start the UDP media transport */ 
     953        pjmedia_transport_media_start(g_med_transport[1], 0, 0, 0, 0); 
     954 
    949955        if (vstream_info.dir & PJMEDIA_DIR_DECODING) { 
    950956            status = pjmedia_vid_dev_default_param( 
Note: See TracChangeset for help on using the changeset viewer.