Page 1 of 1
[iPad]MobileVLC with HTTP stream
Posted: 20 Sep 2011 10:43
by xinaction
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.
Re: [iPad]MobileVLC with HTTP stream
Posted: 20 Sep 2011 17:59
by Jean-Baptiste Kempf
http streams doesn't need live555.
And it should just play them fine.
Re: [iPad]MobileVLC with HTTP stream
Posted: 21 Sep 2011 04:35
by xinaction
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.
Re: [iPad]MobileVLC with HTTP stream
Posted: 22 Sep 2011 09:24
by xinaction
I have solved the problem, because this parameter '--http-user-agent'
Re: [iPad]MobileVLC with HTTP stream
Posted: 21 Dec 2011 05:09
by a23108022
I also encountered this problem, can you tell me how to solve it?
Thanks
Re: [iPad]MobileVLC with HTTP stream
Posted: 26 Dec 2011 01:55
by xinaction
add the '--http-user-agent' parameter in plist or vlckit
Re: [iPad]MobileVLC with HTTP stream
Posted: 23 Feb 2012 10:26
by a2310802222
add the '--http-user-agent' parameter in plist or vlckit
How I can do, the more detail you can say?
Re: [iPad]MobileVLC with HTTP stream
Posted: 28 Oct 2013 10:32
by dongyafeiying
How?