pikvm/pikvm#1339: Pass ICE servers to the Web UI

This commit is contained in:
Maxim Devaev
2025-02-24 19:51:43 +02:00
parent 72ef037959
commit 1cb5c11239
4 changed files with 26 additions and 6 deletions

View File

@@ -30,6 +30,7 @@ class StunInfo:
nat_type: StunNatType
src_ip: str
ext_ip: str
stun_host: str
stun_ip: str
stun_port: int
@@ -102,6 +103,7 @@ class Stun:
nat_type=nat_type,
src_ip=src_ip,
ext_ip=ext_ip,
stun_host=self.__host,
stun_ip=self.__stun_ip,
stun_port=self.__port,
)