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

Initial video support in playback rewrite #3557

Merged
merged 7 commits into from
May 7, 2024

Conversation

nielsvanvelzen
Copy link
Member

@nielsvanvelzen nielsvanvelzen commented May 7, 2024

These are the initial changes to get video playback working. Currently only direct-play is actually functional and you need to make sure your media can play yourself as codec detection is not working.

When media does play it already integrates with remote control and media sessions. Playback progress is also properly tracked. There are also funny bugs, like the screensaver showing the video your playing because we don't filter for music only.

Also, no subtitles at all right now.

Changes

  • Add PlayerSurfaceView to display video output
  • Check for mediaType in AudioMediaStreamResolver
  • Fix PlaybackLauncher not converting item id to string
  • Add hls dependency to media3 module
  • Fix typo in AudioMediaStreamResolver
  • Update PlaybackForwardingActivity to show video output
  • Add VideoMediaStreamResolver

Issues

Part of #1057

@nielsvanvelzen nielsvanvelzen added enhancement New feature or request playback Issue related to media playback labels May 7, 2024
@nielsvanvelzen nielsvanvelzen added this to the v0.17.0 milestone May 7, 2024
@@ -53,17 +60,30 @@
).show()
Timber.i(item.toString())

// TODO: Create queue, send to new playback manager, start new player UI
finishAfterTransition()
// TODO: Dirty hack to create a single item queue

Check warning

Code scanning / detekt

Flags a forbidden comment. Warning

Forbidden TODO todo marker in comment, please do the changes.
}
}

// TODO: Dirty hack to display surface

Check warning

Code scanning / detekt

Flags a forbidden comment. Warning

Forbidden TODO todo marker in comment, please do the changes.
Copy link
Member

@crobibero crobibero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be behind a "Use new video player backend" flag?

@nielsvanvelzen
Copy link
Member Author

#2455 👀

image

@nielsvanvelzen nielsvanvelzen merged commit 59153d4 into jellyfin:master May 7, 2024
5 checks passed
@nielsvanvelzen nielsvanvelzen deleted the playback-video branch May 7, 2024 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request playback Issue related to media playback
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants