Proper way to synchronize events between multiple plugins?

This forum is about all development around libVLC.
joeklow
New Cone
New Cone
Posts: 9
Joined: 10 Aug 2013 23:00

Proper way to synchronize events between multiple plugins?

Postby joeklow » 10 Aug 2013 23:06

Hi all.

For my ongoing project, I need to talk between two completely different plugins (sending messages from plugin object to plugin object few times a second). Currently I use SHM, but the code looks much unportable :( is there a native plugin-to-plugin messaging layer in VLC plugins? (I write out-of-tree modules).

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

Re: Proper way to synchronize events between multiple plugin

Postby Rémi Denis-Courmont » 11 Aug 2013 09:15

That does not make much sense, so no.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

joeklow
New Cone
New Cone
Posts: 9
Joined: 10 Aug 2013 23:00

Re: Proper way to synchronize events between multiple plugin

Postby joeklow » 14 Aug 2013 21:04

That does not make much sense, so no.
Bar Graph's code is what makes no sense..
var_CreateGetIntegerCommand? TCP connections? How do they even synchronize their video and audio parts? // that I was asking after looking at the source :mrgreen:

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Proper way to synchronize events between multiple plugin

Postby Jean-Baptiste Kempf » 15 Aug 2013 15:44

networking, probably.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

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

Re: Proper way to synchronize events between multiple plugin

Postby Rémi Denis-Courmont » 15 Aug 2013 17:11

That does not make much sense, so no.
Bar Graph's code is what makes no sense..
var_CreateGetIntegerCommand? TCP connections? How do they even synchronize their video and audio parts? // that I was asking after looking at the source :mrgreen:
The point is, connecting arbitrary components makes no sense. There has to be some relationship between the two, and that's where the communication starts from.
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 14 guests