MobileVLC with HTTP stream

来源:互联网 发布:mac qq只能发离线文件 编辑:程序博客网 时间:2024/06/08 15:37

https://forum.videolan.org/viewtopic.php?f=12&t=94295

[iPad]MobileVLC with HTTP stream

Moderator: ajmas

Post Reply
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.
Top
Jean-Baptiste Kempf
Site Administrator
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: 

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.
Top
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.
Top
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'
Top
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
Top
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
Top
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

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

How I can do, the more detail you can say?
Top
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?
Top
   

Post Reply

Return to “VLC media player for OS X Troubleshooting”

WHO IS ONLINE

Users browsing this forum: Cueballzero and 2 guests


0 0