MobileVLC with HTTP stream

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

[iPad]MobileVLC with HTTP stream

Moderator: ajmas

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
     

Return to “VLC media player for OS X Troubleshooting”

WHO IS ONLINE

Users browsing this forum: Cueballzero and 2 guests


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值