FreeCalypso > hg > themwi-rtp-lib
comparison include/endp.h @ 32:aa97e77e7de6
implement RTCP Tx
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 08 Jul 2024 07:17:38 +0000 |
parents | 9fd693f234f8 |
children | e70e7b266f89 |
comparison
equal
deleted
inserted
replaced
31:284fcb5868e2 | 32:aa97e77e7de6 |
---|---|
32 uint32_t rr_jitter; | 32 uint32_t rr_jitter; |
33 bool got_sr; | 33 bool got_sr; |
34 bool got_rr; | 34 bool got_rr; |
35 }; | 35 }; |
36 | 36 |
37 struct twrtp_endp_rtcp_tx { | |
38 uint32_t last_received; | |
39 uint32_t last_expected; | |
40 uint16_t auto_rtcp_count; | |
41 }; | |
42 | |
37 struct twrtp_endp_stats { | 43 struct twrtp_endp_stats { |
38 uint32_t rx_rtp_pkt; | 44 uint32_t rx_rtp_pkt; |
39 uint32_t rx_rtp_badsrc; | 45 uint32_t rx_rtp_badsrc; |
40 uint32_t rx_rtcp_pkt; | 46 uint32_t rx_rtcp_pkt; |
41 uint32_t rx_rtcp_badsrc; | 47 uint32_t rx_rtcp_badsrc; |
54 struct osmo_io_fd *iofd_rtcp; | 60 struct osmo_io_fd *iofd_rtcp; |
55 struct osmo_sockaddr rtp_remote; | 61 struct osmo_sockaddr rtp_remote; |
56 struct osmo_sockaddr rtcp_remote; | 62 struct osmo_sockaddr rtcp_remote; |
57 /* Rx and Tx state */ | 63 /* Rx and Tx state */ |
58 struct twrtp_jibuf_inst *twjit; | 64 struct twrtp_jibuf_inst *twjit; |
65 struct twrtp_endp_tx tx; | |
59 struct twrtp_endp_rtcp_rx rtcp_rx; | 66 struct twrtp_endp_rtcp_rx rtcp_rx; |
60 struct twrtp_endp_tx tx; | 67 struct twrtp_endp_rtcp_tx rtcp_tx; |
61 uint8_t *sdes_buf; | 68 uint8_t *sdes_buf; |
62 uint16_t sdes_len; | 69 uint16_t sdes_len; |
63 uint16_t auto_rtcp_interval; | 70 uint16_t auto_rtcp_interval; |
64 /* always have to have stats */ | 71 /* always have to have stats */ |
65 struct twrtp_endp_stats stats; | 72 struct twrtp_endp_stats stats; |