mirror of
https://github.com/morgan9e/UxPlay
synced 2026-04-14 00:04:13 +09:00
extend API to allow choices for udp ports, tcp ports, display size
to writen into raop_t raop for later use when connections are made. new functions : raop_set_udp_ports, raop_set_tcp_ports, raop_set_display_size The behavior of the library is unchanged if these functions are not used.
This commit is contained in:
@@ -27,7 +27,8 @@
|
||||
typedef struct raop_rtp_s raop_rtp_t;
|
||||
|
||||
raop_rtp_t *raop_rtp_init(logger_t *logger, raop_callbacks_t *callbacks, raop_ntp_t *ntp, const unsigned char *remote, int remotelen,
|
||||
const unsigned char *aeskey, const unsigned char *aesiv, const unsigned char *ecdh_secret);
|
||||
const unsigned char *aeskey, const unsigned char *aesiv, const unsigned char *ecdh_secret,
|
||||
unsigned short control_lport , unsigned short data_lport);
|
||||
|
||||
void raop_rtp_start_audio(raop_rtp_t *raop_rtp, int use_udp, unsigned short control_rport,
|
||||
unsigned short *control_lport, unsigned short *data_lport);
|
||||
|
||||
Reference in New Issue
Block a user