Ignore:
Timestamp:
Jul 12, 2011 7:14:32 AM (13 years ago)
Author:
ming
Message:

Closed #1261: Video tee

  • Add API pjmedia_vid_tee_add_dst_port2() for adding destination port which may need format conversion
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia/vid_tee.h

    r3616 r3620  
    4242 * to destination ports only. Also, the video source port MUST actively call 
    4343 * pjmedia_port_put_frame() to the video tee and the video destination ports 
    44  * MUST NEVER call pjmedia_port_get_frame() to the video tee. 
     44 * MUST NEVER call pjmedia_port_get_frame() to the video tee. Please note that 
     45 * there is no specific order of which destination port will receive a frame 
     46 * from the video tee. 
    4547 * 
    4648 * The video tee is not thread-safe, so it is application responsibility 
     
    8789 
    8890/** 
    89  * Add a destination media port to the video tee. 
     91 * Add a destination media port to the video tee. For this function, the 
     92 * destination port's media format must match the source format. 
    9093 * 
    9194 * @param vid_tee           The video tee. 
     
    99102                                                  unsigned option, 
    100103                                                  pjmedia_port *port); 
     104 
     105 
     106/** 
     107 * Add a destination media port to the video tee. This function will also 
     108 * create a converter if the destination port's media format does not match 
     109 * the source format. 
     110 * 
     111 * @param vid_tee           The video tee. 
     112 * @param option            Video tee option, see @pjmedia_vid_tee_flag. 
     113 * @param port              The destination media port. 
     114 * 
     115 * @return                  PJ_SUCCESS on success, or the appropriate error 
     116 *                          code. 
     117 */ 
     118PJ_DECL(pj_status_t) pjmedia_vid_tee_add_dst_port2(pjmedia_port *vid_tee, 
     119                                                   unsigned option, 
     120                                                   pjmedia_port *port); 
    101121 
    102122 
Note: See TracChangeset for help on using the changeset viewer.