This video has some deprecated code when i try to use with the recent version of Exoplayer (release version 2.11.7) . What should i do as i cant run it as it cannot detect the class, ProgressiveDownloadAction and some other Exoplayer classes too. I want to use the recent release version.
Where is the full code for all this session? At 19:37 he says "we see here the information which comes from our adapter". They have not shown this adapter class, only the activity and the service classes.
i don't really get it when i should create a custom class for mediaSessionCompat and all the other main components like you did in the universalm music player app and when i should just use a simple instance of the mediaSessionCompat like you did here
Please Help me ! I haven't method Samples.MP4_URI method, what should i do ? new ExtractorMediaSource.Factory(dataSourceFactory).createMediaSource(Sample.)
Hi when I click previous button it is not changing video but resets video position to zero.On double click it works. But want to play previous video on one click
It's an identifier for the playback notification channel defined here: github.com/google/ExoPlayer/blob/io18/audio-app/src/main/java/com/google/android/exoplayer/audiodemo/C.java. See also developer.android.com/training/notify-user/channels.
You can pass a custom action receiver to the PlayerNotificationManager constructor: github.com/google/ExoPlayer/blob/ed18be4/library/ui/src/main/java/com/google/android/exoplayer2/ui/PlayerNotificationManager.java#L359