Ignore:
Timestamp:
Nov 4, 2016 2:57:20 PM (7 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/stream_common.h

    r3664 r5479  
    2828#include <pjmedia/codec.h> 
    2929#include <pjmedia/sdp.h> 
     30#include <pjmedia/rtp.h> 
     31#include <pjmedia/rtcp.h> 
    3032 
    3133 
    3234PJ_BEGIN_DECL 
     35 
     36/** 
     37 * This structure describes rtp/rtcp session information of the media stream. 
     38 */ 
     39typedef struct pjmedia_stream_rtp_sess_info 
     40{ 
     41    /** 
     42     * The decode RTP session. 
     43     */ 
     44    const pjmedia_rtp_session *rx_rtp; 
     45 
     46    /** 
     47     * The encode RTP session. 
     48     */ 
     49    const pjmedia_rtp_session *tx_rtp; 
     50 
     51    /** 
     52     * The decode RTCP session. 
     53     */ 
     54    const pjmedia_rtcp_session *rtcp; 
     55 
     56} pjmedia_stream_rtp_sess_info; 
     57 
     58 
    3359 
    3460/** 
Note: See TracChangeset for help on using the changeset viewer.