-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[bug] mediaSession missing on Linux #6913
Comments
What OS + version are you on? |
You may need webkit2gtk 2.38 to get mediaSession. Here's the release note about it set by default there: |
I've got version 2.40 installed: https://archlinux.org/packages/extra/x86_64/webkit2gtk/ |
Tested on macOS 13 and A bit more imformation that might be relevant: Operating System: Arch Linux I've also got Pipewire installed if that matters. Happy to provide any additional info. |
Looks like it got disabled again because some trouble couldn't resolve. See comment 10 of this ticket in Webkit bugzilla: |
what's the status for windows? notification action buttons? |
@chiqors As far as we know the mediasession api works fine on Windows. If you have any problems with it, please open a separate issue. |
I think, wrapping the navigator.mediaSession code within feature detection and fallback logic would be a workaround it.
|
any update on linux webkit to open usb web camera |
I've re-enabled MediaSession by default (WebKit/WebKit@32334c7). Now it's just a waiting game. |
Describe the problem
I've implemented an audio player and would like the ability for it to use the Media Session API in Tauri much like in the browser so the user can view and control their media using the system notification/lock screen UIs.
Describe the solution you'd like
I would like for Tauri to support the Media Session API, or similar, ideally on mobile and desktop.
Alternatives considered
A Rust package that does the same thing, but I haven't been able to find any packages that do this, especially cross-platform.
Additional context
Related links:
The text was updated successfully, but these errors were encountered: