2013-05-07 16:33:37 +00:00
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import "GStreamerBackendDelegate.h"
|
|
|
|
|
|
|
|
@interface ViewController : UIViewController <GStreamerBackendDelegate> {
|
|
|
|
IBOutlet UILabel *message_label;
|
|
|
|
IBOutlet UIBarButtonItem *play_button;
|
|
|
|
IBOutlet UIBarButtonItem *pause_button;
|
2013-05-08 09:22:17 +00:00
|
|
|
IBOutlet UIView *video_view;
|
2013-05-09 09:47:56 +00:00
|
|
|
IBOutlet UIView *video_container_view;
|
|
|
|
IBOutlet NSLayoutConstraint *video_width_constraint;
|
|
|
|
IBOutlet NSLayoutConstraint *video_height_constraint;
|
2013-05-07 16:33:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
-(IBAction) play:(id)sender;
|
|
|
|
-(IBAction) pause:(id)sender;
|
|
|
|
|
|
|
|
/* From GStreamerBackendDelegate */
|
|
|
|
-(void) gstreamerInitialized;
|
|
|
|
-(void) gstreamerSetUIMessage:(NSString *)message;
|
|
|
|
|
|
|
|
@end
|