add infrastructure for pair-pin-start, + changing features

This commit is contained in:
F. Duncanh
2023-11-23 20:26:21 -05:00
parent fea2893540
commit 44365fe59c
9 changed files with 178 additions and 45 deletions

View File

@@ -126,6 +126,8 @@ static uint64_t remote_clock_offset = 0;
static std::vector<std::string> allowed_clients;
static std::vector<std::string> blocked_clients;
static bool restrict_clients;
static bool setup_legacy_pairing = true;
static bool require_password = false;
/* logging */
@@ -607,6 +609,7 @@ static void print_info (char *name) {
printf("Options:\n");
printf("-n name Specify the network name of the AirPlay server\n");
printf("-nh Do not add \"@hostname\" at the end of AirPlay server name\n");
printf("-pair Support Airplay (legacy) client-pairing (default: not used)\n");
printf("-vsync [x]Mirror mode: sync audio to video using timestamps (default)\n");
printf(" x is optional audio delay: millisecs, decimal, can be neg.\n");
printf("-vsync no Switch off audio/(server)video timestamp synchronization \n");