From bd8b9f8bfb8f027f00a2873a505d2a8345a28e36 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 22 Dec 2018 21:02:24 -0800 Subject: [PATCH] Use a shared UID for all Moonlight clients --- Limelight/Network/HttpManager.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Limelight/Network/HttpManager.m b/Limelight/Network/HttpManager.m index c955f60..e910695 100644 --- a/Limelight/Network/HttpManager.m +++ b/Limelight/Network/HttpManager.m @@ -49,7 +49,9 @@ static const NSString* HTTPS_PORT = @"47984"; - (id) initWithHost:(NSString*) host uniqueId:(NSString*) uniqueId serverCert:(NSData*) serverCert { 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; _serverCert = serverCert; _requestLock = dispatch_semaphore_create(0);