https://forum.videolan.org/viewtopic.php?f=12&t=94295
Moderator: ajmas
xinaction
Blank Cone
Posts:
16
Joined: 20 Sep 2011 10:02
Post by 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
Posts:
33126
Joined: 22 Jul 2005 15:29
VLC version: 3.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:
Post by Jean-Baptiste Kempf » 20 Sep 2011 17:59
http streams doesn't need live555.
And it should just play them fine.
xinaction
Blank Cone
Posts:
16
Joined: 20 Sep 2011 10:02
Post by 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
Posts:
16
Joined: 20 Sep 2011 10:02
Post by xinaction » 22 Sep 2011 09:24
I have solved the problem, because this parameter '--http-user-agent'
a23108022
New Cone
Posts:
3
Joined: 21 Dec 2011 04:16
Post by a23108022 » 21 Dec 2011 05:09
I also encountered this problem, can you tell me how to solve it?
Thanks
xinaction
Blank Cone
Posts:
16
Joined: 20 Sep 2011 10:02
Post by xinaction » 26 Dec 2011 01:55
add the '--http-user-agent' parameter in plist or vlckit
a2310802222
New Cone
Posts:
6
Joined: 09 Feb 2012 11:14
Post by a2310802222 » 23 Feb 2012 10:26
xinaction wrote: add the '--http-user-agent' parameter in plist or vlckit
How I can do, the more detail you can say?
Return to “VLC media player for OS X Troubleshooting”
Jump to
WHO IS ONLINE
Users browsing this forum: Cueballzero and 2 guests