hello plz
can any body help me ?
i want to stream the video from my streaming server and i dont know how ?
i found a streaming from URL but i dont know how to stream from my server
i wrote this code ..
my other problem is the video is not working i just have an audio of the video ?
can any body help me ?
i want to stream the video from my streaming server and i dont know how ?
i found a streaming from URL but i dont know how to stream from my server
i wrote this code ..
my other problem is the video is not working i just have an audio of the video ?
Code:
#import "Q8TubeViewController.h"
@implementation Q8TubeViewController
- (IBAction)playButtonPresses:(id)sender;
{
NSString *movieURL = @"http://184.105.232.65/c9/38/c9383e6d9d003410ff3ad6eafb9f3a99/ba64807/Futuristic_c938_w_2.3gp?c=49161913&u=686637335&s=BL-uq";
MPMoviePlayerController *moviePlayer = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL URLWithString:movieURL]];
[[ UIApplication sharedApplication] setStatusBarHidden:YES animated:NO];
[moviePlayer play];
}
- (void)dealloc
{
[super dealloc];
}
- (void)didReceiveMemoryWarning
{
// Releases the view if it doesn't have a superview.
[super didReceiveMemoryWarning];
// Release any cached data, images, etc that aren't in use.
}
#pragma mark - View lifecycle
/*
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad
{
[super viewDidLoad];
}
*/
- (void)viewDidUnload
{
[super viewDidUnload];
// Release any retained subviews of the main view.
// e.g. self.myOutlet = nil;
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
// Return YES for supported orientations
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}
@end