-
Notifications
You must be signed in to change notification settings - Fork 15
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
Using the library without winit::event_loop
#23
Comments
Hi. To run in Windows, souvlaki needs a raw window handle also known as HWND. In MacOS and Linux, a window handle isn't required, so the |
Media control is only available for window processes on MacOS. |
Still not work AFAICT. I guess the reason is because MacOS needs an open window to listen to the events, as other mentioned. Will close this issue for now. Thanks. |
I'd appreciate if someone with access to MacOS could pin down the behaviour of media controls and window processes, so it can be stated in the crate's documentation and prevent misunderstandings. I'm going to put a warning in the docs for now. |
Hi, I'm trying to use this library in MacOS Monterey 12.3.1.
Running
examples/print_events
doesn't work (no media event printed even when I press one, no metadata shown up in the media control). Runningexample/example.rs
works perfectly but I'm not sure I understand the requirement ofwinit
library here.winit
andwinit::event_loop
seem to be the only difference betweenexamples/print_events.rs
andexamples/example.rs
Does
souvlaki
work withoutwinit
, as I see thatwinit
is only included as thedevdependencies
? Am I missing something here?The text was updated successfully, but these errors were encountered: