Page 1 of 1

[libvlcpp] Several questions regarding the usage of EventManager

Posted: 31 Mar 2021 11:08
by trofchik
I'm currently working on a simple audio player that plays music from YouTube and have couple questions regarding EventManager.

1) From what I've read here (https://stackoverflow.com/questions/230 ... otifies-me) event manager should be running in a separate thread. If libvlc is written on C would I be able to use C++ multythreading tools?

2) Is there any references of EventManager usage or its C equivalent?

3) Am I correct to assume that using EventManager is the correct way to add user input to your app?

Re: [libvlcpp] Several questions regarding the usage of EventManager

Posted: 31 Mar 2021 16:02
by RĂ©mi Denis-Courmont
1) This is incorrect. The event manager is just a (not very good) API to register event handling callbacks.
2) Of course in the LibVLC documentation.
3) No.