|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
Interface to Real-time Transport Protocol and RTCP. More...
#include <stdint.h>Go to the source code of this file.
Classes | |
| struct | rtp_header |
| Defines the RTP header. More... | |
| struct | rtcp_rr |
| Reception report block. More... | |
| struct | rtcp_sdes_item |
| SDES item. More... | |
| struct | rtcp_msg |
| One RTCP Message. More... | |
| struct | rtcp_msg::rtcp_hdr |
| RTCP Header. More... | |
| struct | rtcp_stats |
| RTCP Statistics. More... | |
Typedefs | |
| typedef void() | rtp_recv_h(const struct sa *src, const struct rtp_header *hdr, struct mbuf *mb, void *arg) |
| typedef void() | rtcp_recv_h(const struct sa *src, struct rtcp_msg *msg, void *arg) |
Enumerations | |
| enum | { RTP_VERSION = 2 , RTCP_VERSION = 2 , RTP_HEADER_SIZE = 12 } |
| RTP protocol values. More... | |
| enum | rtcp_type { RTCP_FIR = 192 , RTCP_NACK = 193 , RTCP_SR = 200 , RTCP_RR = 201 , RTCP_SDES = 202 , RTCP_BYE = 203 , RTCP_APP = 204 , RTCP_RTPFB = 205 , RTCP_PSFB = 206 , RTCP_XR = 207 , RTCP_AVB = 208 } |
| RTCP Packet Types. More... | |
| enum | rtcp_sdes_type { RTCP_SDES_END = 0 , RTCP_SDES_CNAME = 1 , RTCP_SDES_NAME = 2 , RTCP_SDES_EMAIL = 3 , RTCP_SDES_PHONE = 4 , RTCP_SDES_LOC = 5 , RTCP_SDES_TOOL = 6 , RTCP_SDES_NOTE = 7 , RTCP_SDES_PRIV = 8 } |
| SDES Types. More... | |
| enum | rtcp_rtpfb { RTCP_RTPFB_GNACK = 1 } |
| Transport Layer Feedback Messages. More... | |
| enum | rtcp_psfb { RTCP_PSFB_PLI = 1 , RTCP_PSFB_SLI = 2 , RTCP_PSFB_AFB = 15 } |
| Payload-Specific Feedback Messages. More... | |
Interface to Real-time Transport Protocol and RTCP.
Copyright (C) 2010 Creytiv.com
Definition in file re_rtp.h.
SDES Types.
RTCP Packet Types.
| int rtcp_stats | ( | struct rtp_sock * | rs, |
| uint32_t | ssrc, | ||
| struct rtcp_stats * | stats | ||
| ) |
| int rtp_hdr_decode | ( | struct rtp_header * | hdr, |
| struct mbuf * | mb | ||
| ) |
| int rtp_listen | ( | struct rtp_sock ** | rsp, |
| int | proto, | ||
| const struct sa * | ip, | ||
| uint16_t | min_port, | ||
| uint16_t | max_port, | ||
| bool | enable_rtcp, | ||
| rtp_recv_h * | recvh, | ||
| rtcp_recv_h * | rtcph, | ||
| void * | arg | ||
| ) |
| int rtp_send | ( | struct rtp_sock * | rs, |
| const struct sa * | dst, | ||
| bool | marker, | ||
| uint8_t | pt, | ||
| uint32_t | ts, | ||
| struct mbuf * | mb | ||
| ) |