VLCKit - streaming

This forum is about all development around libVLC.
hirnschmalz
New Cone
New Cone
Posts: 3
Joined: 27 Sep 2010 20:29

VLCKit - streaming

Postby hirnschmalz » 07 Nov 2010 11:23

Hi,

I have some problems with getting a stream displayed.
I want to stream a http-stream but do not have an clou how to start.

I tried something like (wich does not work)

Code: Select all

VLCVideoView *videoView; VLCMediaPlayer *player; videoView = [[VLCVideoView alloc] initWithFrame:[[window contentView] bounds]]; [[window contentView] addSubview:videoView]; [videoView setAutoresizingMask: NSViewHeightSizable|NSViewWidthSizable]; // Init the player object player = [[VLCMediaPlayer alloc] initWithVideoView:videoView]; NSString *streamingUrl = @"http://hypothalamus:8001/1:0:1:7080:443:1:C00000:0:0:0:"; [player setMedia:[VLCMedia mediaWithURL:[NSURL URLWithString:streamingUrl]]]; [player play];
It would be fantastic if someone could give me a short hint how to get it up and running.

rogerdpack
Big Cone-huna
Big Cone-huna
Posts: 574
Joined: 19 Jul 2008 23:48
Operating System: windows

Re: VLCKit - streaming

Postby rogerdpack » 17 Nov 2010 22:09

you want to get it working on the command line then use "similar" parameters for libvlc (I think so, anyway...)


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 4 guests