mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-04-22 16:26:59 +00:00
Use a shared UID for all Moonlight clients
This commit is contained in:
@@ -49,7 +49,9 @@ static const NSString* HTTPS_PORT = @"47984";
|
|||||||
|
|
||||||
- (id) initWithHost:(NSString*) host uniqueId:(NSString*) uniqueId serverCert:(NSData*) serverCert {
|
- (id) initWithHost:(NSString*) host uniqueId:(NSString*) uniqueId serverCert:(NSData*) serverCert {
|
||||||
self = [super init];
|
self = [super init];
|
||||||
_uniqueId = uniqueId;
|
// Use the same UID for all Moonlight clients to allow them
|
||||||
|
// quit games started on another Moonlight client.
|
||||||
|
_uniqueId = @"0123456789ABCDEF";
|
||||||
_deviceName = deviceName;
|
_deviceName = deviceName;
|
||||||
_serverCert = serverCert;
|
_serverCert = serverCert;
|
||||||
_requestLock = dispatch_semaphore_create(0);
|
_requestLock = dispatch_semaphore_create(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user