[libvlcpp] Several questions regarding the usage of EventManager

This forum is about all development around libVLC.
trofchik
New Cone
New Cone
Posts: 4
Joined: 20 Mar 2021 15:00

[libvlcpp] Several questions regarding the usage of EventManager

Postby trofchik » 31 Mar 2021 11:08

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?

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

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

Postby Rémi Denis-Courmont » 31 Mar 2021 16:02

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.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 15 guests