Merge pull request #76 from chme/transcode

Identify "android" user-agent as a remote client in transcode_needed()
This commit is contained in:
ejurgensen 2014-12-28 12:52:16 +01:00
commit ea2938f54d
1 changed files with 2 additions and 0 deletions

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 (user_agent && strcasestr(user_agent, "remote"))
return 1;
else if (user_agent && strcasestr(user_agent, "android"))
return 1;
if (!file_codectype)
{