comparison include/rtp_basic_hdr.h @ 18:ec50018cc4ea

put struct rtp_basic_hdr into a header file
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Jul 2024 00:15:00 +0000
parents include/rtp_defs.h@e05dde97739d
children
comparison
equal deleted inserted replaced
17:2a24487453a7 18:ec50018cc4ea
1 /*
2 * This header file provides a minimal definition for the basic RTP
3 * header of RFC 3550. This basic definition does not use any bit
4 * fields; only byte-or-larger fields are broken out.
5 */
6
7 #pragma once
8
9 #include <stdint.h>
10
11 struct rtp_basic_hdr {
12 uint8_t v_p_x_cc;
13 uint8_t m_pt;
14 uint16_t seq;
15 uint32_t tstamp;
16 uint32_t ssrc;
17 };