comparison include/rtp_defs.h @ 188:6aecee01cf0a

sip-manual-out: add RTP stream continuity analysis
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 17 Mar 2023 01:14:57 -0800
parents mgw/int_defs.h@648a64b2e16b
children cf1ba5d65188
comparison
equal deleted inserted replaced
187:258932879f8b 188:6aecee01cf0a
1 /*
2 * This header file holds some definitions for RTP, as this protocol
3 * functions in our GSM and PSTN environment.
4 */
5
6 #define RTP_PACKET_SIZE_PSTN 172
7 #define RTP_PACKET_SIZE_GSM_FR 45
8 #define RTP_PACKET_SIZE_GSM_EFR 43
9 #define RTP_PACKET_SIZE_BFI 14
10 #define RTP_MAX_PAYLOAD 160
11
12 struct rtp_packet {
13 uint8_t v_p_x_cc;
14 uint8_t m_pt;
15 uint16_t seq;
16 uint32_t tstamp;
17 uint32_t ssrc;
18 uint8_t payload[RTP_MAX_PAYLOAD];
19 };