mosjwarris
mosjwarris
> MediaSource[] videoMediaSources = new MediaSource[???]; > Arrays.fill(videoMediaSources, videoMediaSource); > MergingMediaSource mergedMediaSource = > new MergingMediaSource(audioMediaSource, new ConcatenatingMediaSource(videoMediaSources)); > player.setMediaSource(mergedMediaSource); thanks, sorry to be difficult but any chance of this...
> If you paste Java into a Kotlin file in Android Studio it will do a pretty good job of converting it. i did give that a crack but android...
I dont seem to be able to get this to work syntacticly in kotlin, the types dont play nice together to match the example
thanks, seems to throw an error with `MergingMediaSource$IllegalMergeException` using my following code, perhaps to do with how i have to convert the items into media sources first? ``` override fun...