...
|
...
|
@@ -189,6 +189,7 @@ |
|
|
_livePush = [TXLivePush new];
|
|
|
[_livePush setLogLevel:LOGLEVEL_ERROR];
|
|
|
TXLivePushConfig *config = [[TXLivePushConfig alloc] init];
|
|
|
config.enableHWAcceleration = NO;
|
|
|
[_livePush setConfig:config];
|
|
|
_livePush.delegate = self;
|
|
|
[_livePush startPreview:self.view];
|
...
|
...
|
@@ -1254,6 +1255,7 @@ |
|
|
_accellerateButton = [UIButton buttonWithType:UIButtonTypeCustom];
|
|
|
[_accellerateButton addTarget:self action:@selector(accelleratePressed:) forControlEvents:UIControlEventTouchUpInside];
|
|
|
[_accellerateButton setTitle:@"加速" forState:UIControlStateNormal];
|
|
|
_accellerateButton.enabled = NO;
|
|
|
[bottomToolView addSubview:_accellerateButton];
|
|
|
_logButton = [UIButton buttonWithType:UIButtonTypeCustom];
|
|
|
[_logButton addTarget:self action:@selector(logPressed:) forControlEvents:UIControlEventTouchUpInside];
|
...
|
...
|
|