Custom google cast implementation for Android?

  android, chromecast, google-cast, google-cast-sdk

I’m implementing custom google cast for android without using the cast button provided by Google Cast SDK.

I’m currently having two issues:-

  • Detect if a chrome cast device exists on the network (I need to detect chrome cast device programmatically in the background)

  • Once the video starts playing, I need the volume buttons of the phone to control the volume of the google device


Source: Android Questions