Changeset 350 for pjproject/trunk/pjmedia/include/pjmedia/endpoint.h
- Timestamp:
- Mar 22, 2006 11:59:11 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/endpoint.h
r189 r350 45 45 46 46 47 48 47 /** 49 48 * Create an instance of media endpoint. … … 51 50 * @param pf Pool factory, which will be used by the media endpoint 52 51 * throughout its lifetime. 52 * @param ioqueue Optional ioqueue instance to be registered to the 53 * endpoint. The ioqueue instance is used to poll all RTP 54 * and RTCP sockets. If this argument is NULL, the 55 * endpoint will create an internal ioqueue instance. 56 * @param worker_cnt Specify the number of worker threads to be created 57 * to poll the ioqueue. 53 58 * @param p_endpt Pointer to receive the endpoint instance. 54 59 * … … 56 61 */ 57 62 PJ_DECL(pj_status_t) pjmedia_endpt_create( pj_pool_factory *pf, 63 pj_ioqueue_t *ioqueue, 64 unsigned worker_cnt, 58 65 pjmedia_endpt **p_endpt); 59 66 … … 66 73 */ 67 74 PJ_DECL(pj_status_t) pjmedia_endpt_destroy(pjmedia_endpt *endpt); 75 76 77 78 /** 79 * Get the ioqueue instance of the media endpoint. 80 * 81 * @param endpt The media endpoint instance. 82 * 83 * @return The ioqueue instance of the media endpoint. 84 */ 85 PJ_DECL(pj_ioqueue_t*) pjmedia_endpt_get_ioqueue(pjmedia_endpt *endpt); 68 86 69 87
Note: See TracChangeset
for help on using the changeset viewer.