Page 1 of 1

HTTP / UDP / TCP / REST interface

Posted: 08 Sep 2015 18:57
by TuxBender
Hi

Does the VLC for Android has a HTTP/TCP/UDP interface, which I can use on device B (Linux PC, Raspberry pi) for starting/stopping the music playing on device A. So, the actual plan is, to play music on device A (Internet stream or local MP3) and control this music player on device B using a API like RESTful, Webservice. Device A is a Android but device B is a embedded system which doesn't allow to install software. Only HTTP / TCP / UDP requests can be made.

Something like:

http://<ip-address-of-android>/vlc/start
http://<ip-address-of-android>/vlc/stop

Thank you in advance.

Re: HTTP / UDP / TCP / REST interface

Posted: 10 Sep 2015 07:32
by TuxBender
Is no one interested?

Is it maybe possible to add such a interface to vlc for Android?

Re: HTTP / UDP / TCP / REST interface

Posted: 10 Sep 2015 12:01
by Entropeace
As far as I know, there's no such feature.

Playback controlling is done through a list of intents listed in com.vlcandroid.vlc.PlaybackService.java (line:94-106), so I guess it's rather straightforward to add a layer that would listen for HTTP requests (hint: GCM.)

Needless to say that security could be an issue here.

Re: HTTP / UDP / TCP / REST interface

Posted: 30 Sep 2015 08:26
by edwardw
There is an HTTP interface but since Lua is not present on Android, it is not enabled.