Closed heweisheng closed 1 year ago
I believe the event port receives things ("events") like volume changes on the client. You could learn more by studying the code or looking at some of the various descriptions of RAOP that can be found. (see the README for some links).
It's part of RAOP so will not be altered in UxPlay
It might not be needed in mirror mode.
see ( in raop.c)
raop_rtp_process_events(raop_rtp_t *raop_rtp, void *cb_data)
{
int flush;
float volume;
int volume_changed;
unsigned char *metadata;
int metadata_len;
unsigned char *coverart;
int coverart_len;
char *dacp_id;
char *active_remote_header;
unsigned int progress_start;
unsigned int progress_curr;
unsigned int progress_end;
int progress_changed;
UxPlay also uses it for receiving metadata and cover art in Audio-only streaming mode. (Apple music, etc)
The transmission of eventPort will lead to the creation of a new http connection, but what is the function of this connection? Instead of transmitting, I can reduce an http connection.![image](https://user-images.githubusercontent.com/37769332/190302013-957ce036-bae1-4139-8769-f99885592210.png)