[iPad]MobileVLC with HTTP stream

macOS specific usage questions
xinaction
Blank Cone
Blank Cone
Posts: 16
Joined: 20 Sep 2011 10:02

[iPad]MobileVLC with HTTP stream

Postby xinaction » 20 Sep 2011 10:43

I have successfully built VLC for iOS, it can play local files, I would like to add some features that can play Http Streaming, MobileVLCkit support network? or need me to add live555? Can u give me some ideas? Thanks.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: [iPad]MobileVLC with HTTP stream

Postby Jean-Baptiste Kempf » 20 Sep 2011 17:59

http streams doesn't need live555.
And it should just play them fine.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

xinaction
Blank Cone
Blank Cone
Posts: 16
Joined: 20 Sep 2011 10:02

Re: [iPad]MobileVLC with HTTP stream

Postby xinaction » 21 Sep 2011 04:35

thank you.
I tried to modify the code in such a way to open a http stream,

Code: Select all

self.url = [NSURL URLWithString:@"http://192.168.1.100/xinaction/test.flv"]; [_mediaPlayer setMedia:[VLCMedia mediaWithURL:self.url]];
but it will error, it seems that in http.c on line 343 about 'http-user-agent', why?

Code: Select all

p_sys->psz_user_agent = var_InheritString( p_access, "http-user-agent" ); for( char *p = p_sys->psz_user_agent; *p; p++ )
Can u provide relevant information or documents under it? i can't find it.

xinaction
Blank Cone
Blank Cone
Posts: 16
Joined: 20 Sep 2011 10:02

Re: [iPad]MobileVLC with HTTP stream

Postby xinaction » 22 Sep 2011 09:24

I have solved the problem, because this parameter '--http-user-agent'

a23108022
New Cone
New Cone
Posts: 3
Joined: 21 Dec 2011 04:16

Re: [iPad]MobileVLC with HTTP stream

Postby a23108022 » 21 Dec 2011 05:09

I also encountered this problem, can you tell me how to solve it?
Thanks

xinaction
Blank Cone
Blank Cone
Posts: 16
Joined: 20 Sep 2011 10:02

Re: [iPad]MobileVLC with HTTP stream

Postby xinaction » 26 Dec 2011 01:55

add the '--http-user-agent' parameter in plist or vlckit

a2310802222
New Cone
New Cone
Posts: 6
Joined: 09 Feb 2012 11:14

Re: [iPad]MobileVLC with HTTP stream

Postby a2310802222 » 23 Feb 2012 10:26

add the '--http-user-agent' parameter in plist or vlckit
How I can do, the more detail you can say?

dongyafeiying
Blank Cone
Blank Cone
Posts: 22
Joined: 17 Aug 2012 03:36

Re: [iPad]MobileVLC with HTTP stream

Postby dongyafeiying » 28 Oct 2013 10:32

How?


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 23 guests