Use portrait stream viewport
This commit is contained in:
parent
4d49c820a7
commit
5a67296fcf
2 changed files with 4 additions and 4 deletions
|
|
@ -40,10 +40,10 @@ the development machine.
|
|||
Start the Starfire relay from `E:\Projects\VoidBot`:
|
||||
|
||||
```powershell
|
||||
npm run swarm:eve-cef-relay -- --width 2160 --height 1620 --scale 2 --port 8791
|
||||
npm run swarm:eve-cef-relay -- --width 1620 --height 2160 --scale 2 --port 8792
|
||||
```
|
||||
|
||||
EveCanvas connects to `ws://192.168.1.66:8791/stream`, displays binary JPEG
|
||||
EveCanvas connects to `ws://192.168.1.66:8792/stream`, displays binary JPEG
|
||||
frames, and returns touch events to the relay.
|
||||
|
||||
## Build Shape
|
||||
|
|
|
|||
|
|
@ -74,10 +74,10 @@
|
|||
[self.motionManager startGyroUpdates];
|
||||
}
|
||||
|
||||
self.streamViewportSize = CGSizeMake(2160.0, 1620.0);
|
||||
self.streamViewportSize = CGSizeMake(1620.0, 2160.0);
|
||||
self.streamScale = 2.0;
|
||||
self.streamStatus = @"stream idle";
|
||||
NSURL *streamURL = [NSURL URLWithString:@"ws://192.168.1.66:8791/stream"];
|
||||
NSURL *streamURL = [NSURL URLWithString:@"ws://192.168.1.66:8792/stream"];
|
||||
self.streamClient = [[EVEFrameStreamClient alloc] initWithURL:streamURL delegate:self];
|
||||
[self.streamClient connect];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue