Android supports the codec but there are issues with the MediaStore and how it deals with containers and file extensions.
My tests (on a Pixel running 7.0 and the O beta) have determined that Opus is usually fine as long as the container and file extensions are both Ogg. I have had a few issues with certain files but I'm not sure why yet, I suspect it's album art or something.
I don't believe Android <= 6.0 supports Opus as audio on its own. The CDD initially only required support for Opus in a Matroska container and I attempted to put an Opus-only Matroska file on my phone and none of the players were able to play it. As of either 6.0 or 7.0 (can't remember which), Ogg support is required though.
Comments
Android supports the codec but there are issues with the MediaStore and how it deals with containers and file extensions.
My tests (on a Pixel running 7.0 and the O beta) have determined that Opus is usually fine as long as the container and file extensions are both Ogg. I have had a few issues with certain files but I'm not sure why yet, I suspect it's album art or something.
I don't believe Android <= 6.0 supports Opus as audio on its own. The CDD initially only required support for Opus in a Matroska container and I attempted to put an Opus-only Matroska file on my phone and none of the players were able to play it. As of either 6.0 or 7.0 (can't remember which), Ogg support is required though.