added NAT traversal

This commit is contained in:
2023-02-19 23:11:35 +00:00
parent 2bc03b8048
commit b7cfdba90d
7 changed files with 1086 additions and 231 deletions

View File

@@ -149,6 +149,9 @@ function initUI() {
LaplaceVar.ui.SSHPassword = document.getElementById('SSHPassword')
LaplaceVar.headless = { result :"0"};
//getting server hostname
getServerIPandHostname()
LaplaceVar.ui.joinForm.onsubmit = async e => {
e.preventDefault();
LaplaceVar.roomID = LaplaceVar.ui.inputRoomID.value;
@@ -199,9 +202,6 @@ function initUI() {
return startStream(mediaOption, pcOption);
}
//getting server hostname
getServerIPandHostname()
//getting SSHPassword
getSSHPassword()