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

Windows: add native support for SystemMediaTransportControls #14007

Open
dyphire opened this issue Apr 27, 2024 · 1 comment
Open

Windows: add native support for SystemMediaTransportControls #14007

dyphire opened this issue Apr 27, 2024 · 1 comment

Comments

@dyphire
Copy link
Contributor

dyphire commented Apr 27, 2024

Expected behavior of the wanted feature

Ref: https://learn.microsoft.com/en-us/uwp/api/windows.media.systemmediatransportcontrols

mpv has already implemented similar native media control support on the MacOS platform, and it is hoped that SMTC's native support can also be obtained on Windows. Adding support for SMTC can obtain the system media control function of Bluetooth devices, mainly Bluetooth earphones. ref #10606

Currently, there has a MPVMediaControl script that implements third-party support. But there are obvious limitations to this: this script implements SMTC function through mpv's IPC pipeline, causing conflicts with other scripts and software that utilize mpv's IPC pipeline function; At the same time, the binary files it relies on will be resident in the background, which can also cause some problems. This makes mpv's native support for SMTC functionality particularly important, as it can avoid these limitations in scripts.

Alternative behavior of the wanted feature

n/a

dyphire added a commit to dyphire/mpv-config that referenced this issue Apr 27, 2024
Fixes #85
关注上游 SMTC 功能请求:mpv-player/mpv#14007
dyphire added a commit to dyphire/mpv-config that referenced this issue Apr 27, 2024
Fixes #85
关注上游 SMTC 功能请求:mpv-player/mpv#14007
@Andarwinux
Copy link
Contributor

ref; https://code.videolan.org/videolan/vlc/-/merge_requests/3010

The current MinGW cross CI does not meet the minimum requirements for cppwinrt.

Andarwinux added a commit to Andarwinux/mpv-winbuild-cmake that referenced this issue Apr 27, 2024
used to provide WinRT API support, mpv may need these in the future.

ref: mpv-player/mpv#14007
     https://code.videolan.org/videolan/vlc/-/merge_requests/3010
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants