I have a doubt regarding the ExoPlayer and CastPlayer. When I cast a video on the castplayer the progressbar on exoplayer is not being updated, also the remaining and the timme elapsed on exoplayer is not updating. I want to enable the functionality that will control the video (like play, pause, forward, rewind) from the exoplayer while the video is being played on the castPlayer. Also the exoplayer video view should show the text "Casting on " These are the dependecies
implementation 'androidx.mediarouter:mediarouter:1.1.0'
implementation 'com.google.android.exoplayer:extension-cast:2.11.3'
implementation 'com.google.android.exoplayer:exoplayer:2.11.3'
Can someone point me to an example implementation about the same?
I have gone through these example https://github.com/google/ExoPlayer/tree/release-v2/demos, https://github.com/googlecast/CastVideos-android