linphone-iphone/Classes/MainScreenWithVideoPreview.h
Pierre-Eric Pelloux-Prayer e1fe0f0291 iOS: iPad port (UI and VP8 improvements)
New xib files, new home screen.
libvpx updated, multithreading enabled
2011-12-15 14:47:14 +01:00

30 lines
739 B
Objective-C

//
// MainScreenWithVideoPreview.h
// linphone
//
// Created by Pierre-Eric Pelloux-Prayer on 07/12/11.
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import "PhoneViewController.h"
@interface MainScreenWithVideoPreview : UIViewController {
UIWindow *window;
PhoneViewController* phoneMainView;
AVCaptureSession* session;
AVCaptureDeviceInput* input;
int currentCamera;
}
-(void) showPreview:(BOOL) show;
-(void) useCameraAtIndex:(NSInteger)camIndex startSession:(BOOL)start;
@property (nonatomic, retain) IBOutlet PhoneViewController* phoneMainView;
@property (nonatomic, retain) IBOutlet UIWindow *window;
@end