mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 19:31:12 +00:00
21 lines
637 B
Objective-C
21 lines
637 B
Objective-C
#import <UIKit/UIKit.h>
|
|
#import "GStreamerBackendDelegate.h"
|
|
|
|
@interface ViewController : UIViewController <GStreamerBackendDelegate> {
|
|
IBOutlet UILabel *message_label;
|
|
IBOutlet UIBarButtonItem *play_button;
|
|
IBOutlet UIBarButtonItem *pause_button;
|
|
IBOutlet UIView *video_view;
|
|
IBOutlet UIView *video_container_view;
|
|
IBOutlet NSLayoutConstraint *video_width_constraint;
|
|
IBOutlet NSLayoutConstraint *video_height_constraint;
|
|
}
|
|
|
|
-(IBAction) play:(id)sender;
|
|
-(IBAction) pause:(id)sender;
|
|
|
|
/* From GStreamerBackendDelegate */
|
|
-(void) gstreamerInitialized;
|
|
-(void) gstreamerSetUIMessage:(NSString *)message;
|
|
|
|
@end
|