Bitmovin Cast is not working

Hi, I am integrating cast in my application and having a single base code for both mobile and tv, while launching the application on mobile it is working as expected but on launching the same apk on TV it is crashing.
I tried the same with the Bitmovin sample code
main/BasicCastingKotlin
it is crashing for TV.

Any help will be appreciated.

Thanks
Kalyani