Identify "android" user-agent as a remote client in transcode_needed()

(similar to the check in user_agent_filter())
This commit is contained in:
chme 2014-12-28 09:37:19 +01:00
parent a7ee8483b4
commit 7889d92a81

View File

@ -779,6 +779,8 @@ transcode_needed(const char *user_agent, const char *client_codecs, char *file_c
// If client is a Remote we will AirPlay, which means we will transcode to PCM // If client is a Remote we will AirPlay, which means we will transcode to PCM
if (user_agent && strcasestr(user_agent, "remote")) if (user_agent && strcasestr(user_agent, "remote"))
return 1; return 1;
else if (user_agent && strcasestr(user_agent, "android"))
return 1;
if (!file_codectype) if (!file_codectype)
{ {