Changeset 863 for pjproject/trunk/pjmedia/include/pjmedia/stream.h
- Timestamp:
- Dec 26, 2006 12:11:48 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/stream.h
r568 r863 278 278 279 279 /** 280 * Set callback to be called upon receiving DTMF digits. If callback is 281 * registered, the stream will not buffer incoming DTMF but rather call 282 * the callback as soon as DTMF digit is received completely. 283 * 284 * @param stream The media stream. 285 * @param cb Callback to be called upon receiving DTMF digits. 286 * The DTMF digits will be given to the callback as 287 * ASCII digits. 288 * @param user_data User data to be returned back when the callback 289 * is called. 290 * 291 * @return PJ_SUCCESS on success. 292 */ 293 PJ_DECL(pj_status_t) 294 pjmedia_stream_set_dtmf_callback(pjmedia_stream *stream, 295 void (*cb)(pjmedia_stream*, 296 void *user_data, 297 int digit), 298 void *user_data); 299 300 /** 280 301 * @} 281 302 */
Note: See TracChangeset
for help on using the changeset viewer.