WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

rtp.h File Reference

RTP packet and RTP session declarations. More...

Data Structures

struct  pjmedia_rtp_hdr
 
struct  pjmedia_rtp_ext_hdr
 
struct  pjmedia_rtp_dec_hdr
 
struct  pjmedia_rtp_dtmf_event
 
struct  pjmedia_rtp_seq_session
 
struct  pjmedia_rtp_session
 
struct  pjmedia_rtp_status
 
struct  pjmedia_rtp_session_setting
 

Macros

#define PJMEDIA_RTP_DTMF_EVENT_END_MASK   0x80
 
#define PJMEDIA_RTP_DTMF_EVENT_VOLUME_MASK   0x3F
 

Functions

pj_status_t pjmedia_rtp_session_init (pjmedia_rtp_session *ses, int default_pt, pj_uint32_t sender_ssrc)
 
pj_status_t pjmedia_rtp_session_init2 (pjmedia_rtp_session *ses, pjmedia_rtp_session_setting settings)
 
pj_status_t pjmedia_rtp_encode_rtp (pjmedia_rtp_session *ses, int pt, int m, int payload_len, int ts_len, const void **rtphdr, int *hdrlen)
 
pj_status_t pjmedia_rtp_decode_rtp (pjmedia_rtp_session *ses, const void *pkt, int pkt_len, const pjmedia_rtp_hdr **hdr, const void **payload, unsigned *payloadlen)
 
pj_status_t pjmedia_rtp_decode_rtp2 (pjmedia_rtp_session *ses, const void *pkt, int pkt_len, const pjmedia_rtp_hdr **hdr, pjmedia_rtp_dec_hdr *dec_hdr, const void **payload, unsigned *payloadlen)
 
void pjmedia_rtp_session_update (pjmedia_rtp_session *ses, const pjmedia_rtp_hdr *hdr, pjmedia_rtp_status *seq_st)
 
void pjmedia_rtp_session_update2 (pjmedia_rtp_session *ses, const pjmedia_rtp_hdr *hdr, pjmedia_rtp_status *seq_st, pj_bool_t check_pt)
 
void pjmedia_rtp_seq_init (pjmedia_rtp_seq_session *seq_ctrl, pj_uint16_t seq)
 
void pjmedia_rtp_seq_update (pjmedia_rtp_seq_session *seq_ctrl, pj_uint16_t seq, pjmedia_rtp_status *seq_status)
 

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.