# HG changeset patch # User Mychaela Falconia # Date 1720311300 0 # Node ID ec50018cc4eaead7a6be40a889f2bbf500bbb453 # Parent 2a24487453a727d6b50de35b0ea707eae000fb6d put struct rtp_basic_hdr into a header file diff -r 2a24487453a7 -r ec50018cc4ea include/rtp_basic_hdr.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/rtp_basic_hdr.h Sun Jul 07 00:15:00 2024 +0000 @@ -0,0 +1,17 @@ +/* + * This header file provides a minimal definition for the basic RTP + * header of RFC 3550. This basic definition does not use any bit + * fields; only byte-or-larger fields are broken out. + */ + +#pragma once + +#include + +struct rtp_basic_hdr { + uint8_t v_p_x_cc; + uint8_t m_pt; + uint16_t seq; + uint32_t tstamp; + uint32_t ssrc; +}; diff -r 2a24487453a7 -r ec50018cc4ea src/twjit_in.c --- a/src/twjit_in.c Sun Jul 07 00:02:44 2024 +0000 +++ b/src/twjit_in.c Sun Jul 07 00:15:00 2024 +0000 @@ -13,14 +13,7 @@ #include #include - -struct rtp_basic_hdr { - uint8_t v_p_x_cc; - uint8_t m_pt; - uint16_t seq; - uint32_t tstamp; - uint32_t ssrc; -}; +#include /* raw analytics on the Rx packet stream */