diff --git a/Classes/TuveConnection.m b/Classes/TuveConnection.m index afc4a06..79c43af 100644 --- a/Classes/TuveConnection.m +++ b/Classes/TuveConnection.m @@ -8,7 +8,7 @@ #import "TuveConnection.h" #import "TCPSocket.h" -#import "MediaPlayer/MediaPlayer.h" + @implementation TuveConnection @synthesize tChannel; - (id)init @@ -96,9 +96,6 @@ else if([packet hasPrefix:@"CURPOS"]) { NSString *movieURL = [NSString stringWithFormat:@"rtmp://rtmp.ubixonline.com/%@", [packetParts objectAtIndex:3]]; - - MPMoviePlayerController *player = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL URLWithString:[movieURL stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]]]; - [player play]; } else if([packet hasPrefix:@"MSG"]) { @@ -152,10 +149,4 @@ object:self userInfo:[NSDictionary dictionaryWithObjectsAndKeys:login,@"sender", channel, @"channel", chat, @"message", NULL]]; } -/* - - - - - */ @end