implementation of auto gyro mode
This commit is contained in:
@@ -197,7 +197,7 @@
|
||||
[self.mainFrameViewcontroller reloadStreamConfig]; // reload streamconfig
|
||||
|
||||
NSLog(@"viewJustloaded: %d", viewJustLoaded);
|
||||
if(!viewJustLoaded) [_controllerSupport updateConfig:self.streamConfig delegate:self];
|
||||
if(!viewJustLoaded) [_controllerSupport updateControllerSupport:self.streamConfig delegate:self];
|
||||
else viewJustLoaded = false;
|
||||
// reload controllerSupport obj, this is mandatory for OSC reload,especially when the stream view is launched without OSC
|
||||
[_streamView setupStreamView:_controllerSupport interactionDelegate:self config:self.streamConfig streamFrameTopLayerView:self.view]; //reinitiate setupStreamView process.
|
||||
@@ -220,7 +220,7 @@
|
||||
}
|
||||
|
||||
-(void)automaticallyStartSendingGyroEvents{
|
||||
[_controllerSupport updateConfig:self.streamConfig delegate:self];// reload controllerSupport obj, this is mandatory for OSC reload,especially when the stream view is launched without OSC
|
||||
[_controllerSupport updateControllerSupport:self.streamConfig delegate:self];// reload controllerSupport obj, this is mandatory for OSC reload,especially when the stream view is launched without OSC
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user