- Timestamp:
- Jul 12, 2011 1:45:21 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia/vid_tee.h
r3614 r3616 46 46 * The video tee is not thread-safe, so it is application responsibility 47 47 * to synchronize video tee operations, e.g: make sure the source port is 48 * paused during adding or removing a destination channel.48 * paused during adding or removing a destination port. 49 49 */ 50 50 … … 60 60 * Tell the video tee that the destination port will do in-place 61 61 * processing, so the delivered data may be modified by this port. 62 * If this flag is used, buffer will be copied before being given to 63 * the destination port. 62 64 */ 63 65 PJMEDIA_VID_TEE_DST_DO_IN_PLACE_PROC = 4, … … 67 69 68 70 /** 69 * Create a video tee port with the specified source media port. 71 * Create a video tee port with the specified source media port. Application 72 * should destroy the tee with pjmedia_port_destroy() as usual. Note that 73 * destroying the tee does not destroy its destination ports. 70 74 * 71 75 * @param pool The pool. 72 * @param src The source media port.73 * @param max_ ch_cnt The maximum channel count.76 * @param fmt The source media port's format. 77 * @param max_dst_cnt The maximum number of destination ports supported. 74 78 * @param p_vid_tee Pointer to receive the video tee port. 75 79 * … … 78 82 */ 79 83 PJ_DECL(pj_status_t) pjmedia_vid_tee_create(pj_pool_t *pool, 80 pjmedia_format *fmt,81 unsigned max_ ch_cnt,84 const pjmedia_format *fmt, 85 unsigned max_dst_cnt, 82 86 pjmedia_port **p_vid_tee); 83 87 … … 86 90 * 87 91 * @param vid_tee The video tee. 88 * @param ch_option Channeloption, see @pjmedia_vid_tee_flag.92 * @param option Video tee option, see @pjmedia_vid_tee_flag. 89 93 * @param port The destination media port. 90 94 * … … 92 96 * code. 93 97 */ 94 PJ_DECL(pj_status_t) pjmedia_vid_tee_add_ channel(pjmedia_port *vid_tee,95 unsigned option,96 pjmedia_port *port);98 PJ_DECL(pj_status_t) pjmedia_vid_tee_add_dst_port(pjmedia_port *vid_tee, 99 unsigned option, 100 pjmedia_port *port); 97 101 98 102 … … 106 110 * code. 107 111 */ 108 PJ_DECL(pj_status_t) pjmedia_vid_tee_remove_ channel(pjmedia_port *vid_tee,109 pjmedia_port *port);112 PJ_DECL(pj_status_t) pjmedia_vid_tee_remove_dst_port(pjmedia_port *vid_tee, 113 pjmedia_port *port); 110 114 111 115
Note: See TracChangeset
for help on using the changeset viewer.