Using VLC embedded inside android app ?

VLC for Android and Chrome OS specific usage questions
jomateix
New Cone
New Cone
Posts: 7
Joined: 24 Jan 2013 09:56

Using VLC embedded inside android app ?

Postby jomateix » 24 Jan 2013 10:21

Hi,

I am quite new at android apps, and maybee I am asking a easy or impossible thing, but i've search it and havent found any info, VLC is great it's playing a video stream from a ipcam once i set this ( "http://192.168.0.111:88/videostream.asf ... d=password" ) at "open MRL" fieldfrom the android beta, i want my app to play that stream and since videoview and mediaplay android api doesn't do it.

My candidates to achieve it would be :
1- call the vlc player with parameters (so i can specifiy the url ), being possible to stop it, the intent is used to call other apps but not to close them :(, maybe kill apps but not elegant
2- embed it as mediaplayer inside a webview (tried it doesn't find the plugin)
3- embed it as as mediaplayer inside a videoview
4- web interace works on android ?

Thank you very much for reading and any help or hint you may give me, sorry if this has already been answered but i havent found it in my search.
Last edited by jomateix on 24 Jan 2013 20:06, edited 1 time in total.

jomateix
New Cone
New Cone
Posts: 7
Joined: 24 Jan 2013 09:56

Re: Using VLC embedded inside android app ?

Postby jomateix » 24 Jan 2013 16:56

I got some more ideas:

5- use libvlc to actually embed some vlc functionalities inside andriud app, this might be difficult cause java android project mixed with c++ vlc code ?
6- modifiy vlc android project to allow interapp comunication to pass paratemters close commands... too dificult ?

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

Re: Using VLC embedded inside android app ?

Postby edwardw » 24 Jan 2013 18:41

No, web interface does not work on Android as of right now. Because no Android browser supports (or is even capable of supporting) NPAPI plugins, the browser plugin will never work on Android.

But I think that, right now, the best approach would be to use an Intent to call up VLC.

jomateix
New Cone
New Cone
Posts: 7
Joined: 24 Jan 2013 09:56

Re: Using VLC embedded inside android app ?

Postby jomateix » 24 Jan 2013 20:15

Hi edwardw,

Thanks for the info, by the intent i can call vlc but is possible to call it telling which stream to play ? if i could the problem only would be closing it.

what about jave bindings like http://caprica.github.com/vlcj/ , wont work on android ? this afternoon i found another vlc java wrapper, that enable to call it as a custom mediaplayer (embeddded) I have its link on another pc..

I will keep digging, thanks a lot for your interest and help.

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

Re: Using VLC embedded inside android app ?

Postby edwardw » 24 Jan 2013 20:17

Yes, an intent allows you to specify the stream URL in question.

jomateix
New Cone
New Cone
Posts: 7
Joined: 24 Jan 2013 09:56

Re: Using VLC embedded inside android app ?

Postby jomateix » 24 Jan 2013 21:09

Is there a way to close vlc by intent ? is there a way to specify the vlc screen size by intent?, I could use a part of the screen to display the vlc player keep some space to show a back/close button.. I know this sounds kinda messy.

well i will sleep on it thanks again


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 24 guests