mirror of
https://github.com/morgan9e/UxPlay
synced 2026-04-14 00:04:13 +09:00
test for AirMyPC without version number,
This commit is contained in:
@@ -765,6 +765,7 @@ raop_handler_setup(raop_conn_t *conn,
|
|||||||
bool old_protocol = false;
|
bool old_protocol = false;
|
||||||
#ifdef OLD_PROTOCOL_CLIENT_USER_AGENT_LIST /* set in global.h */
|
#ifdef OLD_PROTOCOL_CLIENT_USER_AGENT_LIST /* set in global.h */
|
||||||
if (strstr(OLD_PROTOCOL_CLIENT_USER_AGENT_LIST, user_agent)) old_protocol = true;
|
if (strstr(OLD_PROTOCOL_CLIENT_USER_AGENT_LIST, user_agent)) old_protocol = true;
|
||||||
|
if (strstr(user_agent, "AirMyPC")) old_protocol = true; //AirMyPC/7200 still uses old protocol: unlikely to change (?)
|
||||||
#endif
|
#endif
|
||||||
if (old_protocol) { /* some windows AirPlay-client emulators use old AirPlay 1 protocol with unhashed AES key */
|
if (old_protocol) { /* some windows AirPlay-client emulators use old AirPlay 1 protocol with unhashed AES key */
|
||||||
logger_log(conn->raop->logger, LOGGER_INFO, "Client identifed as using old protocol (unhashed) AES audio key)");
|
logger_log(conn->raop->logger, LOGGER_INFO, "Client identifed as using old protocol (unhashed) AES audio key)");
|
||||||
|
|||||||
Reference in New Issue
Block a user