comparison include/endp.h @ 24:84d427017d2f

endp: implement RTP Tx
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Jul 2024 07:33:48 +0000
parents 587437b62ed5
children f71efdd08c33
comparison
equal deleted inserted replaced
23:9e477a4b485a 24:84d427017d2f
62 int twrtp_endp_bind_ip_port(struct twrtp_endp *endp, const char *ip, 62 int twrtp_endp_bind_ip_port(struct twrtp_endp *endp, const char *ip,
63 uint16_t port); 63 uint16_t port);
64 64
65 void twrtp_endp_set_remote_ipv4(struct twrtp_endp *endp, 65 void twrtp_endp_set_remote_ipv4(struct twrtp_endp *endp,
66 const struct in_addr *ip, uint16_t port); 66 const struct in_addr *ip, uint16_t port);
67
68 int twrtp_endp_tx_quantum(struct twrtp_endp *endp, const uint8_t *payload,
69 unsigned payload_len, uint8_t payload_type,
70 bool marker, bool send_rtcp);