[vlc-devel] VLC API
webmail.hce at gmail.com
Wed Jul 23 02:31:28 CEST 2008
On Tue, Jul 22, 2008 at 6:41 PM, Mirsal Ennaime
<mirsal.ennaime at gmail.com> wrote:
> On Tue, Jul 22, 2008 at 4:18 AM, hce <webmail.hce at gmail.com> wrote:
>> I've looked at the mpris spec and I guess the XML type message format
>> can be used between the mpris and the VLC. But how the external
>> application can talk to the VLC API, via function call or via socket?
>> I could not find a VLC document for the details, where I can get those
>> details from VLC?
> Actually, the MPRIS is a D-Bus interface specification.
> D-Bus is a low latency IPC (inter-process-call) mechanism widely used
> on modern GNU/Linux and UNIX-like systems.
> You can get some documentation and info about it here:
> There's a python example in the VLC source tree:
> If you need more portable stuff or don't want to or can't use D-Bus,
> you can take a look to the RC / telnet interfaces that VLC has
> provided for ages.
> If you're using Java, you could build your own webservices API using
> the JVLC libvlc bindings.
> There are lots of options depending on your platform and environment.
I am using C / C++ external application in both Linux and ARM
platform. I prefer the external application talks to the VLC at run
time via either socket messages, or API function call. I've just
briefly looked at rc interface at modules/control/rc.c and I guess the
rc interface is a proper interface I am looking after, but correct me
if there are better interfaces for my platform and environment. Is
there an example to use RC interface by C / C++?
Thank you Mirsal.
> Mirsal Ennaime
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel