FreeCalypso > hg > themwi-rtp-lib
diff src/endp_internal.h @ 32:aa97e77e7de6
implement RTCP Tx
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 08 Jul 2024 07:17:38 +0000 |
parents | b8cb5146e5b4 |
children |
line wrap: on
line diff
--- a/src/endp_internal.h Mon Jul 08 04:56:50 2024 +0000 +++ b/src/endp_internal.h Mon Jul 08 07:17:38 2024 +0000 @@ -4,7 +4,16 @@ #pragma once +#include <stdint.h> +#include <stdbool.h> + #include <osmocom/core/osmo_io.h> +#include <osmocom/core/timer.h> + +#include <themwi/rtp/endp.h> extern const struct osmo_io_ops _twrtp_endp_iops_rtp; extern const struct osmo_io_ops _twrtp_endp_iops_rtcp; + +int _twrtp_endp_send_rtcp(struct twrtp_endp *endp, bool send_sr, + const struct timespec *utc, uint32_t rtp_ts);