Crash : Trying to Cast a video using ExoPlayer cast extension from a Dynamic Feature Module
- Dominant language
- Java
- Stars
- 21.9k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
### [REQUIRED] Issue description
I have a crash when I am trying to cast a HLS video from my app to a chromecast. I use the ExoPlayer cast extension.
The code is called from a dynamic module (`apply plugin: com.android.dynamic-feature` can be found in the module's build.gradle).
Here is the [stackoverflow question](https://stackoverflow.com/questions/59755839/how-to-cast-a-video-using-exoplayer-cast-extension-from-a-dynamic-feature-module)
### [REQUIRED] Reproduction steps
When the user click on the cast button in my app and then on the device they want to cast on in the dialog, the app crash systematically.
I am only able to reproduce the crash on my app but not on the demo app...
### [REQUIRED] Link to test content
When trying to cast this video : https://www.brut.media/fr/news/bataclan-les-peres-d-un-terroriste-et-d-une-victime-racontent-a097d1d0-8357-4360-af8d-64051219b8a8
### [REQUIRED] A full bug report captured from the device
[bugreport-sargo-QQ1A.191205.011-2020-01-16-10-56-15.zip](https://github.com/google/ExoPlayer/files/4070475/bugreport-sargo-QQ1A.191205.011-2020-01-16-10-56-15.zip)
### [REQUIRED] Version of ExoPlayer being used
Version 2.11.1
### [REQUIRED] Device(s) and version(s) of Android being used
Pixel 3 - Android 10
Pixel 3a - Android 10
Crash doesn't happen on Samsung S9 - Android 9
Contributor guide
Assessment
This issue has not been assessed yet.