Last working version is 3.24.2
I’m using your samples project from : GitHub - bitmovin/bitmovin-player-android-samples: Sample apps for the Bitmovin Player Android SDK
project called : BasicCastingKotlin.
Code I’m using to play your sample is as follows :
private fun initializePlayer(sourceUrl: String, sourceTitle: String) {
// Create a new source item
val sourceItem = SourceConfig.fromUrl("https://bitmovin-a.akamaihd.net/content/art-of-motion_drm/mpds/11331.mpd").apply {
title = "drm protected"
drmConfig = WidevineConfig("https://cwip-shaka-proxy.appspot.com/no_auth")
}
// load source using the created source item
player.load(sourceItem)
}
WHEN I’M casting to my chromecast Error I’m receiving is as follows :
2022-12-09 16:04:31.569 18388-18388/com.bitmovin.player.samples.casting.basic I/MediaNotificationService: actionsProvider == null
2022-12-09 16:04:31.591 18388-18388/com.bitmovin.player.samples.casting.basic I/DynamiteModule: Considering local module com.google.android.gms.cast.framework.dynamite:0 and remote module com.google.android.gms.cast.framework.dynamite:226
2022-12-09 16:04:31.592 18388-18388/com.bitmovin.player.samples.casting.basic I/DynamiteModule: Selected remote version of com.google.android.gms.cast.framework.dynamite, version >= 226
2022-12-09 16:04:31.592 18388-18388/com.bitmovin.player.samples.casting.basic V/DynamiteModule: Dynamite loader version >= 2, using loadModule2NoCrashUtils
2022-12-09 16:04:31.595 18388-18388/com.bitmovin.player.samples.casting.basic I/CastDynamiteModuleImpl: vw created by ClassLoader dalvik.system.DelegateLastClassLoader[DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/00000155/DynamiteModulesC.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/00000155/DynamiteModulesC.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]].
2022-12-09 16:04:32.339 18388-18388/com.bitmovin.player.samples.casting.basic I/DynamiteModule: Considering local module com.google.android.gms.cast.framework.dynamite:0 and remote module com.google.android.gms.cast.framework.dynamite:226
2022-12-09 16:04:32.339 18388-18388/com.bitmovin.player.samples.casting.basic I/DynamiteModule: Selected remote version of com.google.android.gms.cast.framework.dynamite, version >= 226
2022-12-09 16:04:32.339 18388-18388/com.bitmovin.player.samples.casting.basic V/DynamiteModule: Dynamite loader version >= 2, using loadModule2NoCrashUtils
2022-12-09 16:04:32.344 18388-18388/com.bitmovin.player.samples.casting.basic I/CastDynamiteModuleImpl: vw created by ClassLoader dalvik.system.DelegateLastClassLoader[DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/00000155/DynamiteModulesC.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/00000155/DynamiteModulesC.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]]].
2022-12-09 16:04:32.396 18388-18388/com.bitmovin.player.samples.casting.basic W/MediaControlChannel: received unexpected error: Invalid Request.
2022-12-09 16:04:32.398 18388-18388/com.bitmovin.player.samples.casting.basic W/MediaQueue: Error fetching queue item ids, statusCode=2001, statusMessage=null
Especially this one :
/MediaQueue: Error fetching queue item ids, statusCode=2001, statusMessage=null
When I’m back to 3.24.2, everything is working.
Why this feature is broken now ?
What I’m missing ?
I’ve noticed that in version 3.25.0 you have :
Integrated changes from ExoPlayer version 2.18.1
maybe it is the reason for that problems ?
Regards