Ignore:
Timestamp:
Feb 22, 2006 9:21:09 AM (18 years ago)
Author:
bennylp
Message:

Putting initial DTMF efforts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/stream.h

    r205 r214  
    7272    pj_sockaddr_in      rem_addr;   /**< Remote RTP address                 */ 
    7373    pjmedia_codec_info  fmt;        /**< Codec format info.                 */ 
     74    unsigned            tx_event_pt;/**< Outgoing pt for telephone-events.  */ 
     75    unsigned            rx_event_pt;/**< Incoming pt for telephone-events.  */ 
    7476    pj_uint32_t         ssrc;       /**< RTP SSRC.                          */ 
    7577    int                 jb_min;     /**< Jitter buffer min delay.           */ 
     
    184186                                           pjmedia_dir dir); 
    185187 
     188/** 
     189 * Transmit DTMF to this stream. The DTMF will be transmitted uisng 
     190 * RTP telephone-events as described in RFC 2833. This operation is 
     191 * only valid for audio stream. 
     192 * 
     193 * @param stream        The media stream. 
     194 * @param digit         A single digit ('0123456789*#ABCD'). 
     195 * 
     196 * @return              PJ_SUCCESS on success. 
     197 */ 
     198PJ_DECL(pj_status_t) pjmedia_stream_dial_dtmf(pjmedia_stream *stream, 
     199                                              const pj_str_t *digit_char); 
     200 
     201 
    186202 
    187203/** 
Note: See TracChangeset for help on using the changeset viewer.