Ignore:
Timestamp:
Nov 4, 2016 2:57:20 PM (8 years ago)
Author:
riza
Message:

Closed #1978: Add function to get RTP session from stream/video stream.

File:
1 edited

Legend:

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

    r5410 r5479  
    3232#include <pjmedia/transport.h> 
    3333#include <pjmedia/vid_codec.h> 
     34#include <pjmedia/stream_common.h> 
    3435#include <pj/sock.h> 
    3536 
     
    446447                                                pjmedia_vid_stream *stream); 
    447448 
     449/** 
     450 * Get the RTP session information of the video media stream. This function  
     451 * can be useful for app with custom media transport to inject/filter some  
     452 * outgoing/incoming proprietary packets into normal video RTP traffics. 
     453 * This will return the original pointer to the internal states of the stream, 
     454 * and generally it is not advisable for app to modify them. 
     455 *  
     456 * @param stream        The video media stream. 
     457 * 
     458 * @param session_info  The stream session info. 
     459 * 
     460 * @return              PJ_SUCCESS on success. 
     461 */ 
     462PJ_DECL(pj_status_t) 
     463pjmedia_vid_stream_get_rtp_session_info(pjmedia_vid_stream *stream, 
     464                                   pjmedia_stream_rtp_sess_info *session_info); 
     465 
    448466 
    449467/** 
Note: See TracChangeset for help on using the changeset viewer.