added simple depacketizer and test h264 file

This commit is contained in:
Diego Waxemberg
2014-01-18 05:00:36 -05:00
parent 8fdc5ad97b
commit d7a703828a
7 changed files with 165 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
//
#import "MainFrameViewController.h"
#import "VideoDepacketizer.h"
@interface MainFrameViewController ()
@@ -22,6 +23,12 @@
- (void)StreamButton:(UIButton *)sender
{
NSLog(@"Stream Button Pressed!");
VideoDepacketizer* depacketizer = [[VideoDepacketizer alloc] init];
NSString* path = [[NSBundle mainBundle] pathForResource:@"notpadded"
ofType:@"h264"];
NSLog(@"Path: %@", path);
[depacketizer readFile:path];
}
- (NSString *)pickerView:(UIPickerView *)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component