Hello
I’m using your latests sample version from here :
I has your latest bitmovin dependency version set which is :
3.26.0
In graddle file I have latest bitmovin version and almost latest google cast version ( the latest is 21.2.0 )
playServicesCastVersion = '21.0.1'
bitmovinPlayerVersion = '3.26.0'
Both projects
BasicCasting and BasicCastingKotlin have broken casting function.
I connected my API key, your samples videos are playing in your player.
I click on cast button, dialog appears, I see my 2 casting devices, I’m selecting any of them and there is message about waiting for player and nothing happens… apart from these logs :
2022-12-07 15:37:45.666 25965-26410/com.bitmovin.player.samples.casting.basic D/SurfaceUtils: set up nativeWindow 0xb400007d2c0e1010 for 1920x832, color 0x7fa30c06, rotation 0, usage 0x20002900
2022-12-07 15:37:46.271 25965-26043/com.bitmovin.player.samples.casting.basic W/RenderInspector: DequeueBuffer time out on com.bitmovin.player.samples.casting.basic/com.bitmovin.player.samples.casting.basic.PlayerActivity, count=1, avg=22 ms, max=22 ms.
2022-12-07 15:37:46.472 25965-26401/com.bitmovin.player.samples.casting.basic D/CCodecBufferChannel: [c2.android.aac.decoder#677] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4]
2022-12-07 15:37:46.472 25965-26401/com.bitmovin.player.samples.casting.basic D/PipelineWatcher: DEBUG: elapsed 2 / 6
2022-12-07 15:37:46.821 25965-25965/com.bitmovin.player.samples.casting.basic V/MediaRouter: Selecting route: RouteInfo{ name=Telefon, description=null, status=null, category=RouteCategory{ name=System types=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO groupable=false }, supportedTypes=ROUTE_TYPE_LIVE_AUDIO ROUTE_TYPE_LIVE_VIDEO , presentationDisplay=null }
2022-12-07 15:37:46.825 25965-26316/com.bitmovin.player.samples.casting.basic D/AudioTrack: getTimestamp_l(92): device stall time corrected using current time 11097622403265
2022-12-07 15:37:48.510 25965-26404/com.bitmovin.player.samples.casting.basic D/CCodecBuffers: [c2.android.aac.decoder#677:1D-Input.Impl[N]] codec released a buffer owned by client (index 3)
2022-12-07 15:37:48.703 25965-25965/com.bitmovin.player.samples.casting.basic D/DecorView: createDecorCaptionView windowingMode:1 mWindowMode 1 isFullscreen: true
2022-12-07 15:37:48.932 25965-26043/com.bitmovin.player.samples.casting.basic W/RenderInspector: DequeueBuffer time out on com.bitmovin.player.samples.casting.basic/com.bitmovin.player.samples.casting.basic.PlayerActivity, count=1, avg=18 ms, max=18 ms.
2022-12-07 15:37:49.894 25965-26400/com.bitmovin.player.samples.casting.basic D/BufferPoolAccessor2.0: bufferpool2 0xb400007d027d1628 : 5(40960 size) total buffers - 5(40960 size) used buffers - 1/7 (recycle/alloc) - 10/279 (fetch/transfer)
2022-12-07 15:37:50.206 25965-26401/com.bitmovin.player.samples.casting.basic D/CCodecBufferChannel: [c2.android.aac.decoder#677] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4]
2022-12-07 15:37:50.206 25965-26401/com.bitmovin.player.samples.casting.basic D/PipelineWatcher: DEBUG: elapsed 2 / 6
2022-12-07 15:37:52.661 25965-25965/com.bitmovin.player.samples.casting.basic V/MediaRouter: Selecting route: UserRouteInfo{ name=Biuro, description=Chromecast, status=null, category=RouteCategory{ name=Urządzenia types=ROUTE_TYPE_USER groupable=false }, supportedTypes=ROUTE_TYPE_USER , presentationDisplay=null }
2022-12-07 15:37:52.687 25965-26043/com.bitmovin.player.samples.casting.basic D/OpenGLRenderer: endAllActiveAnimators on 0xb400007d2c193500 (ListView) with handle 0xb400007d8700aa80
2022-12-07 15:37:52.740 25965-25965/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-07 15:37:52.740 25965-25965/com.bitmovin.player.samples.casting.basic I/DynamiteModule: Selected remote version of com.google.android.gms.cast.framework.dynamite, version >= 226
2022-12-07 15:37:52.740 25965-25965/com.bitmovin.player.samples.casting.basic V/DynamiteModule: Dynamite loader version >= 2, using loadModule2NoCrashUtils
2022-12-07 15:37:52.746 25965-25965/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-07 15:37:52.751 25965-25965/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-07 15:37:52.751 25965-25965/com.bitmovin.player.samples.casting.basic I/DynamiteModule: Selected remote version of com.google.android.gms.cast.framework.dynamite, version >= 226
2022-12-07 15:37:52.752 25965-25965/com.bitmovin.player.samples.casting.basic V/DynamiteModule: Dynamite loader version >= 2, using loadModule2NoCrashUtils
2022-12-07 15:37:52.755 25965-25965/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-07 15:37:52.757 25965-25965/com.bitmovin.player.samples.casting.basic I/SessionImpl: starting session
2022-12-07 15:37:52.807 25965-26174/com.bitmovin.player.samples.casting.basic D/TransportRuntime.SQLiteEventStore: Storing event with priority=VERY_LOW, name=CAST_SENDER_SDK for destination cct
2022-12-07 15:37:52.825 25965-26174/com.bitmovin.player.samples.casting.basic D/TransportRuntime.JobInfoScheduler: Upload for context TransportContext(cct, VERY_LOW, MSRodHRwczovL2ZpcmViYXNlbG9nZ2luZy5nb29nbGVhcGlzLmNvbS92MGNjL2xvZy9iYXRjaD9mb3JtYXQ9anNvbl9wcm90bzNc) is already scheduled. Returning...
2022-12-07 15:37:53.054 25965-25965/com.bitmovin.player.samples.casting.basic I/AssistStructure: Flattened final assist data: 13428 bytes, containing 1 windows, 25 views
2022-12-07 15:37:53.604 25965-26401/com.bitmovin.player.samples.casting.basic D/CCodecBufferChannel: [c2.android.aac.decoder#677] DEBUG: elapsed: n=6 [in=0 pipeline=0 out=2 smoothness=4]
2022-12-07 15:37:53.604 25965-26401/com.bitmovin.player.samples.casting.basic D/PipelineWatcher: DEBUG: elapsed 2 / 6