HTTP / UDP / TCP / REST interface

VLC for Android and Chrome OS specific usage questions
TuxBender
New Cone
New Cone
Posts: 2
Joined: 08 Sep 2015 18:43

HTTP / UDP / TCP / REST interface

Postby TuxBender » 08 Sep 2015 18:57

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.

TuxBender
New Cone
New Cone
Posts: 2
Joined: 08 Sep 2015 18:43

Re: HTTP / UDP / TCP / REST interface

Postby TuxBender » 10 Sep 2015 07:32

Is no one interested?

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

Entropeace
New Cone
New Cone
Posts: 6
Joined: 04 Jul 2015 04:06

Re: HTTP / UDP / TCP / REST interface

Postby Entropeace » 10 Sep 2015 12:01

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.

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: HTTP / UDP / TCP / REST interface

Postby edwardw » 30 Sep 2015 08:26

There is an HTTP interface but since Lua is not present on Android, it is not enabled.


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 38 guests