Changeset 632 for pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
- Timestamp:
- Jul 27, 2006 10:04:56 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r629 r632 2248 2248 2249 2249 /** 2250 * Add arbitrary media port to PJSUA's conference bridge. Application 2251 * can use this function to add the media port that it creates. For 2252 * media ports that are created by PJSUA-LIB (such as calls, file player, 2253 * or file recorder), PJSUA-LIB will automatically add the port to 2254 * the bridge. 2255 * 2256 * @param pool Pool to use. 2257 * @param port Media port to be added to the bridge. 2258 * @param p_id Optional pointer to receive the conference 2259 * slot id. 2260 * 2261 * @return PJ_SUCCESS on success, or the appropriate error code. 2262 */ 2263 PJ_DECL(pj_status_t) pjsua_conf_add_port(pj_pool_t *pool, 2264 pjmedia_port *port, 2265 pjsua_conf_port_id *p_id); 2266 2267 2268 /** 2269 * Remove arbitrary slot from the conference bridge. Application should only 2270 * call this function if it registered the port manually. 2271 * 2272 * @param id The slot id of the port to be removed. 2273 * 2274 * @return PJ_SUCCESS on success, or the appropriate error code. 2275 */ 2276 PJ_DECL(pj_status_t) pjsua_conf_remove_port(pjsua_conf_port_id id); 2277 2278 2279 /** 2250 2280 * Establish unidirectional media flow from souce to sink. One source 2251 2281 * may transmit to multiple destinations/sink. And if multiple … … 2425 2455 2426 2456 2457 /** 2458 * Disconnect the main conference bridge from any sound devices, and let 2459 * application connect the bridge to it's own sound device/master port. 2460 * 2461 * @return The port interface of the conference bridge, 2462 * so that application can connect this to it's own 2463 * sound device or master port. 2464 */ 2465 PJ_DECL(pjmedia_port*) pjsua_set_no_snd_dev(void); 2466 2467 2427 2468 /***************************************************************************** 2428 2469 * Codecs.
Note: See TracChangeset
for help on using the changeset viewer.