Hey guys, so I have been reading around and I believe I have found that it is possible to stream live video from VLC on a computer to your iphone app. My question is how to do that? Is it more complicated than I think? Right now I have the following code:
Is there more to it or is it that simple? Also does the stream have to be HTTP or can it be like UDP or something else? Any good tutorials or anything?
Thanks a lot.
Code:
NSURL *url = [NSURL URLWithString:@"<ip address of computer>"];
MPMoviePlayerViewController *playerController = [[MPMoviePlayerViewController alloc] initWithContentURL:url];
[self presentMoviePlayerViewControllerAnimated:playerController];
playerController.moviePlayer.movieSourceType = MPMovieSourceTypeStreaming;
[playerController.moviePlayer play];
[playerController release];playerController = nil;
Is there more to it or is it that simple? Also does the stream have to be HTTP or can it be like UDP or something else? Any good tutorials or anything?
Thanks a lot.