wrt-media-client: added WRT media player client plugin
authorKrisztian Litkey <kli@iki.fi>
Wed, 21 Aug 2013 18:03:14 +0000 (21:03 +0300)
committerKrisztian Litkey <kli@iki.fi>
Wed, 21 Aug 2013 18:03:14 +0000 (21:03 +0300)
commit9d203260f9cb38accbe8240fbfd96da930fe69da
treec9e4fc29e0347f30f5da45e53631e843f9c45392
parent9e55fbe0732cb0682c47d83e85f48fffa30e7f6d
wrt-media-client: added WRT media player client plugin

This plugin, at least in its current primitive form, is only here
temporarily. It registers and relays media playback commands by
emitting a D-Bus signal to a corresponding WRT plugin that catches
the signal and fires JS events for it.

This should be replaced by properly relaying (and extending/changing
as needed) the client protocol to the WRT. Relaying can, but does
not need to use D-Bus. We can have a dedicated WRT-specific plugin
using any socket-based IPC and a private dedicated protocol, but
we also could have, for instance, websocket bindings for the client
protocol and use that from the WRT.

The key thing is that a proper publish/subscribe protocol should be
used, so that the client can get proper notifications about changes
in the state of voice recognition. Currently the WRT (media) client
is not a proper client and for instance it does not know if VR/its
voice focus is active at all.
configure.ac
src/Makefile.am
src/plugins/wrt-media-client/Makefile [new file with mode: 0644]
src/plugins/wrt-media-client/wrt-media-client.c [new file with mode: 0644]