From d4e53f9200369552b364338790d5bc496dc8d9a0 Mon Sep 17 00:00:00 2001 From: Charles Ewert Date: Wed, 6 Dec 2023 21:09:44 -0500 Subject: [PATCH] update the global device state in case resolution changes --- source/Main.bs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/Main.bs b/source/Main.bs index 2ef81455d..5d692d827 100644 --- a/source/Main.bs +++ b/source/Main.bs @@ -711,6 +711,9 @@ sub Main (args as dynamic) as void ' The audio codec capability has changed if true. print "event.audioCodecCapabilityChanged = ", event.audioCodecCapabilityChanged + ' update global device state + SaveDeviceToGlobal() + ' update the server postTask = createObject("roSGNode", "PostTask") postTask.arrayData = getDeviceCapabilities() postTask.apiUrl = "/Sessions/Capabilities/Full" @@ -719,6 +722,9 @@ sub Main (args as dynamic) as void ' The video codec capability has changed if true. print "event.videoCodecCapabilityChanged = ", event.videoCodecCapabilityChanged + ' update global device state + SaveDeviceToGlobal() + ' update the server postTask = createObject("roSGNode", "PostTask") postTask.arrayData = getDeviceCapabilities() postTask.apiUrl = "/Sessions/Capabilities/Full"