I was using cast SDK v2 to cast media on routes provided MediaRouteProviderService
which was working great.
Now I am migrating to SDK v3 and its states
In v3, the discovery process is started and stopped automatically by the framework when the app comes to the foreground and goes to the background, respectively. MediaRouteSelector and MediaRouter.Callback should not be used
So how to provide custom routes using MediaRouteProviderService
with cast SDK v3
So how to provide custom routes using MediaRouteProviderService with cast SDK v3
In v3, device discovery is now being handled by CastContext. In v3 Configure device discovery, it states that: