Ignore:
Timestamp:
Dec 28, 2016 3:40:07 AM (8 years ago)
Author:
nanang
Message:

Re #1900: More merged from trunk (r5512 mistakenly contains merged changes in third-party dir only).

Location:
pjproject/branches/projects/uwp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/uwp

  • pjproject/branches/projects/uwp/pjmedia/include/pjmedia/stream.h

    r4739 r5513  
    3434#include <pjmedia/transport.h> 
    3535#include <pjmedia/vid_codec.h> 
     36#include <pjmedia/stream_common.h> 
    3637#include <pj/sock.h> 
    3738 
     
    343344 * @param stream        The media stream. 
    344345 * @param ascii_digit   String containing digits to be sent to remote as  
    345  *                      described on RFC 2833 section 3.10. Character 'R' is  
     346 *                      described on RFC 2833 section 3.10.  
     347 *                      If PJMEDIA_HAS_DTMF_FLASH is enabled, character 'R' is 
    346348 *                      used to represent the event type 16 (flash) as stated  
    347349 *                      in RFC 4730. 
     
    430432pjmedia_stream_send_rtcp_bye( pjmedia_stream *stream ); 
    431433 
     434 
     435/** 
     436 * Get the RTP session information of the media stream. This function can be  
     437 * useful for app with custom media transport to inject/filter some  
     438 * outgoing/incoming proprietary packets into normal audio RTP traffics. 
     439 * This will return the original pointer to the internal states of the stream,  
     440 * and generally it is not advisable for app to modify them. 
     441 * 
     442 * @param stream        The media stream. 
     443 * 
     444 * @param session_info  The stream session info. 
     445 * 
     446 * @return              PJ_SUCCESS on success. 
     447 */ 
     448PJ_DECL(pj_status_t) 
     449pjmedia_stream_get_rtp_session_info(pjmedia_stream *stream, 
     450                                   pjmedia_stream_rtp_sess_info *session_info); 
     451 
     452 
    432453/** 
    433454 * @} 
Note: See TracChangeset for help on using the changeset viewer.