FreeCalypso > hg > sipout-test-utils
comparison include/rtp_defs.h @ 0:35c0d9f03c0a
beginning with sipout-test-voice,
a copy of sip-manual-out from themwi-system-sw
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 03 Mar 2024 23:20:19 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:35c0d9f03c0a |
---|---|
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_HDR_SIZE 12 | |
7 #define RTP_PACKET_SIZE_PSTN 172 | |
8 #define RTP_MAX_PAYLOAD 160 | |
9 | |
10 struct rtp_packet { | |
11 uint8_t v_p_x_cc; | |
12 uint8_t m_pt; | |
13 uint16_t seq; | |
14 uint32_t tstamp; | |
15 uint32_t ssrc; | |
16 uint8_t payload[RTP_MAX_PAYLOAD]; | |
17 }; |