diff options
Diffstat (limited to 'pjmedia/include/pjmedia/stream_common.h')
-rw-r--r-- | pjmedia/include/pjmedia/stream_common.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pjmedia/include/pjmedia/stream_common.h b/pjmedia/include/pjmedia/stream_common.h index 1c8b168d..10ddefda 100644 --- a/pjmedia/include/pjmedia/stream_common.h +++ b/pjmedia/include/pjmedia/stream_common.h @@ -27,11 +27,37 @@ #include <pjmedia/codec.h> #include <pjmedia/sdp.h> +#include <pjmedia/rtp.h> +#include <pjmedia/rtcp.h> PJ_BEGIN_DECL /** + * This structure describes rtp/rtcp session information of the media stream. + */ +typedef struct pjmedia_stream_rtp_sess_info +{ + /** + * The decode RTP session. + */ + const pjmedia_rtp_session *rx_rtp; + + /** + * The encode RTP session. + */ + const pjmedia_rtp_session *tx_rtp; + + /** + * The decode RTCP session. + */ + const pjmedia_rtcp_session *rtcp; + +} pjmedia_stream_rtp_sess_info; + + + +/** * This is internal function for parsing SDP format parameter of specific * format or payload type, used by stream in generating stream info from SDP. * |