Media Route Providers declare entities that can receive media, but it seems that they don't appear in the same list as Chromecast in applications like Netflix.
Is there a way for me to make a Media Route Provider that I can stream to from common application (Youtube/Netflix, etc)?
I suspected that it might be possible to do this by setting the category in my provider to the result of
CastMediaControlIntent.categoryForCast(CastMediaControlIntent.DEFAULT_MEDIA_RECEIVER_APPLICATION_ID)
but it didn't seem to work. (When I set it to this, my custom test player can see it but Youtube etc still don't see any castable devices).
It is possible to create a cast receiver, but I would rather have it treated as local within android.