Ian Baker

Results 409 comments of Ian Baker

I can reproduce this using the session demo app - thanks for reporting.

Please provide an example of an internet radio stream that I can use to reproduce the problem.

It's not clear from your report how you're currently building the notification. I played the stream provided in the demo app and I saw the title emitted via an `IcyInfo`...

> I'm implementing PlayerNotificationManager.MediaDescriptionAdapter to handle my notifications, and my code looks like this: > > https://pastebin.com/fzkkEKNJ Your implementation of `MediaDescriptionAdapter.getCurrentTItle` looks roughly right, and when I try this it...

You may be able to do this with `MergingMediaSource`, and do the video looping with `ConcatenatingMediaSource`. Something like: ```java MediaSource audioMediaSource = ... MediaSource videoMediaSource = ... MediaSource[] videoMediaSources =...

If you paste Java into a Kotlin file in Android Studio it will do a pretty good job of converting it.

Kotlin example: ```kt fun loopVideoAgainstAudio( videoMediaSource : MediaSource, audioMediaSource : MediaSource, numLoops : Int) : MediaSource { val videoMediaSources = Array(numLoops) {videoMediaSource} return MergingMediaSource( audioMediaSource, ConcatenatingMediaSource(*videoMediaSources)); } ```

I did the following to reproduce this: 1. Modify the 2.18.1 demo app to enable index seeking for MP3 files by passing the following to the `DefaultMediaSourceFactory` constructor in `PlayerActivity.createMediaSourceFactory()`:...

>> In ExoPlayer, we decided to optimize for speed over accuracy in this case and [FLAG_ENABLE_INDEX_SEEKING](https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/extractor/mp3/Mp3Extractor.html#FLAG_ENABLE_INDEX_SEEKING) is therefore disabled by default. > > This suggests to me that if want...

> @icbaker are you aware of any change in the DRM component or how switching between DRM and clear content is performed, between ExoPlayer versions 2.11.3 and 2.15.1 that would...