Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate ExoPlayer to SDK and decouple from webapp #351

Merged
merged 1 commit into from
May 6, 2021

Conversation

Maxr1998
Copy link
Member

@Maxr1998 Maxr1998 commented May 2, 2021

Now uses the new Kotlin SDK to resolve media metadata, create the device profile, initialise playback and report playback progress/events.
Supports playlists.

Smaller changes:

  • Media sessions now always show a notification, not only when in background
  • The notification has a skip to previous/next button when playing a playlist now instead of seek
  • Playback progress is only reported regularly when media is playing
  • The fullscreen-switcher on portrait videos now has the correct initial state
  • Components/factories for ExoPlayer are injected with Koin

@Maxr1998 Maxr1998 added documentation Improvements or additions to documentation enhancement New feature or request exoplayer Related to the ExoPlayer integration code-cleanup/refactor Code cleanup or rework/refactor labels May 2, 2021
@Maxr1998 Maxr1998 added this to In progress in v2.3.0 via automation May 2, 2021
@Maxr1998 Maxr1998 force-pushed the exoplayer-native-playback branch 2 times, most recently from 9764299 to ad02686 Compare May 4, 2021 11:24
@Maxr1998 Maxr1998 force-pushed the exoplayer-native-playback branch from ad02686 to 64d077b Compare May 5, 2021 21:22
@Maxr1998 Maxr1998 force-pushed the exoplayer-native-playback branch from 64d077b to e1fb40f Compare May 6, 2021 13:55
nielsvanvelzen
nielsvanvelzen previously approved these changes May 6, 2021
Now uses the new Kotlin SDK to resolve media metadata, create the device profile, initialise playback and report playback progress/events.
Playlists are supported and handled by the app.
For the external player, there's still some communication with the webapp necessary.

Smaller changes:
- Media sessions now always show a notification, not only when in background
- The notification has a skip to previous/next button when playing a playlist now instead of seek
- Playback progress is only reported regularly when media is playing
- The fullscreen-switcher on portrait videos now has the correct initial state
- Factories for ExoPlayer data sources are injected with Koin
@nielsvanvelzen nielsvanvelzen merged commit 3e15ad4 into master May 6, 2021
v2.3.0 automation moved this from In progress to Done May 6, 2021
@nielsvanvelzen nielsvanvelzen deleted the exoplayer-native-playback branch May 6, 2021 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-cleanup/refactor Code cleanup or rework/refactor documentation Improvements or additions to documentation enhancement New feature or request exoplayer Related to the ExoPlayer integration
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants