FreeCalypso > hg > themwi-rtp-lib
comparison include/endp.h @ 30:9fd693f234f8
definitions for RTCP SDES
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 08 Jul 2024 03:28:38 +0000 |
parents | 3e01a71b7c7c |
children | aa97e77e7de6 |
comparison
equal
deleted
inserted
replaced
29:3e01a71b7c7c | 30:9fd693f234f8 |
---|---|
56 struct osmo_sockaddr rtcp_remote; | 56 struct osmo_sockaddr rtcp_remote; |
57 /* Rx and Tx state */ | 57 /* Rx and Tx state */ |
58 struct twrtp_jibuf_inst *twjit; | 58 struct twrtp_jibuf_inst *twjit; |
59 struct twrtp_endp_rtcp_rx rtcp_rx; | 59 struct twrtp_endp_rtcp_rx rtcp_rx; |
60 struct twrtp_endp_tx tx; | 60 struct twrtp_endp_tx tx; |
61 uint8_t *sdes_buf; | |
62 uint16_t sdes_len; | |
63 uint16_t auto_rtcp_interval; | |
61 /* always have to have stats */ | 64 /* always have to have stats */ |
62 struct twrtp_endp_stats stats; | 65 struct twrtp_endp_stats stats; |
63 /* bool flags at the end for structure packing optimization */ | 66 /* bool flags at the end for structure packing optimization */ |
64 bool register_done; | 67 bool register_done; |
65 bool remote_set; | 68 bool remote_set; |
81 | 84 |
82 int twrtp_endp_tx_quantum(struct twrtp_endp *endp, const uint8_t *payload, | 85 int twrtp_endp_tx_quantum(struct twrtp_endp *endp, const uint8_t *payload, |
83 unsigned payload_len, uint8_t payload_type, | 86 unsigned payload_len, uint8_t payload_type, |
84 bool marker, bool auto_marker, bool send_rtcp); | 87 bool marker, bool auto_marker, bool send_rtcp); |
85 void twrtp_endp_tx_skip(struct twrtp_endp *endp); | 88 void twrtp_endp_tx_skip(struct twrtp_endp *endp); |
89 | |
90 int twrtp_endp_set_sdes(struct twrtp_endp *endp, const char *cname, | |
91 const char *name, const char *email, const char *phone, | |
92 const char *loc, const char *tool, const char *note); |