Page 1 of 1

Proper way to synchronize events between multiple plugins?

Posted: 10 Aug 2013 23:06
by joeklow
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).

Re: Proper way to synchronize events between multiple plugin

Posted: 11 Aug 2013 09:15
by Rémi Denis-Courmont
That does not make much sense, so no.

Re: Proper way to synchronize events between multiple plugin

Posted: 14 Aug 2013 21:04
by joeklow
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:

Re: Proper way to synchronize events between multiple plugin

Posted: 15 Aug 2013 15:44
by Jean-Baptiste Kempf
networking, probably.

Re: Proper way to synchronize events between multiple plugin

Posted: 15 Aug 2013 17:11
by Rémi Denis-Courmont
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.