diff --git a/index.html b/index.html
index e58b426..c452a95 100644
--- a/index.html
+++ b/index.html
@@ -66,7 +66,7 @@
-
+
-
+
Run a Speed Test
diff --git a/main.css b/main.css
index df35fb0..120731e 100644
--- a/main.css
+++ b/main.css
@@ -508,10 +508,21 @@ button.glyphicon-button.active.focus {
@media only screen and (max-height: 540px){
#subControlButtons {
- transform: scale(0.90);
+ transform: scale(0.88);
}
#gridlayout>#container.vidcon {
- height:90%
+ height:88%
+ }
+ #controlButtons {
+ height:54px;
+ }
+}
+@media only screen and (max-height: 500px){
+ #subControlButtons {
+ transform: scale(0.87);
+ }
+ #gridlayout>#container.vidcon {
+ height:87%
}
#controlButtons {
height:54px;
@@ -521,7 +532,16 @@ button.glyphicon-button.active.focus {
#subControlButtons {
transform: scale(0.85);
}
- #header{
+ #logoname{
+ display:none;
+ }
+ #head1{
+ display:none;
+ }
+ #head4{
+ display:none;
+ }
+ #head2{
display:none;
}
#gridlayout>#container.vidcon {
@@ -531,6 +551,20 @@ button.glyphicon-button.active.focus {
height:50px;
}
}
+@media only screen and (max-height: 300px){
+ #gridlayout>#container.vidcon {
+ height:81%
+ }
+ #subControlButtons {
+ transform: scale(0.81);
+ }
+ #controlButtons {
+ height:46.2px;
+ }
+ #head2 {
+ display:none !important;
+ }
+}
@media only screen and (max-height: 240px){
#gridlayout>#container.vidcon {
height:78%
@@ -576,6 +610,9 @@ button.glyphicon-button.active.focus {
}
}
+#header:empty{
+ display:none;
+}
@keyframes pulse {
0% {
diff --git a/main.js b/main.js
index efc0b1b..d445ff8 100644
--- a/main.js
+++ b/main.js
@@ -769,9 +769,9 @@ if (urlParams.has('blind')) {
if (urlParams.has('dpi') || urlParams.has('dpr')) {
session.devicePixelRatio = urlParams.get('dpi') || urlParams.get('dpr') || 2.0;
-} else if (window.devicePixelRatio && window.devicePixelRatio!==1){
- session.devicePixelRatio = window.devicePixelRatio; // this annoys me to no end.
-}
+} //else if (window.devicePixelRatio && window.devicePixelRatio!==1){
+// session.devicePixelRatio = window.devicePixelRatio; // this annoys me to no end.
+//}
if (urlParams.has('speakermute') || urlParams.has('mutespeaker') || urlParams.has('sm') || urlParams.has('ms')) {
session.speakerMuted = true;
@@ -2911,8 +2911,13 @@ if ((session.roomid) || (urlParams.has('roomid')) || (urlParams.has('r')) || (ur
if (session.roomid.length > 0) {
if (session.videoDevice === 0) {
- getById("add_camera").innerHTML = "Join room with Microphone";
- miniTranslate(getById("add_camera"), "join-room-with-mic");
+ if (session.audioDevice === 0) {
+ getById("add_camera").innerHTML = "Join room";
+ miniTranslate(getById("add_camera"), "join-room");
+ } else {
+ getById("add_camera").innerHTML = "Join room with Microphone";
+ miniTranslate(getById("add_camera"), "join-room-with-mic");
+ }
} else {
getById("add_camera").innerHTML = "Join Room with Camera";
miniTranslate(getById("add_camera"), "join-room-with-camera");
@@ -4908,6 +4913,8 @@ function createRoomCallback(passAdd, passAdd2) {
codecGroupFlag = "&codec=h264";
} else if (codecGroupFlag.value === "vp8") {
codecGroupFlag = "&codec=vp8";
+ } else if (codecGroupFlag.value === "av1") {
+ codecGroupFlag = "&codec=av1";
} else {
codecGroupFlag = "";
}
@@ -5002,6 +5009,10 @@ function createRoomCallback(passAdd, passAdd2) {
getById("chatbutton").classList.add("advanced");
}
+ if (session.autostart){
+ press2talk(true);
+ }
+
joinRoom(session.roomid);
}
@@ -10421,7 +10432,7 @@ function toggleQualityDirector(bitrate, UUID, ele = null) { // ele is specific t
function createPopoutChat() {
var randid = session.generateStreamID(8);
log(randid);
- window.open('./popout?id=' + randid, 'popup', 'width=600,height=480,toolbar=no,menubar=no,resizable=yes');
+ window.open('./popout.html?id=' + randid, 'popup', 'width=600,height=480,toolbar=no,menubar=no,resizable=yes');
session.broadcastChannel = new BroadcastChannel(randid);
session.broadcastChannel.onmessage = function(e) {
if ("loaded" in e.data) {
diff --git a/thirdparty/CodecsHandler.js b/thirdparty/CodecsHandler.js
index cccd1d3..d6ba30a 100644
--- a/thirdparty/CodecsHandler.js
+++ b/thirdparty/CodecsHandler.js
@@ -31,17 +31,13 @@ var CodecsHandler = (function() {
if (!info.videoCodecNumbers) {
return sdp;
- }
-
- if (codecName === 'vp8' && info.vp8LineNumber === info.videoCodecNumbers[0]) {
+ } else if (codecName === 'vp8' && info.vp8LineNumber === info.videoCodecNumbers[0]) {
return sdp;
- }
-
- if (codecName === 'vp9' && info.vp9LineNumber === info.videoCodecNumbers[0]) {
+ } else if (codecName === 'vp9' && info.vp9LineNumber === info.videoCodecNumbers[0]) {
return sdp;
- }
-
- if (codecName === 'h264' && info.h264LineNumber === info.videoCodecNumbers[0]) {
+ } else if (codecName === 'h264' && info.h264LineNumber === info.videoCodecNumbers[0]) {
+ return sdp;
+ } else if (codecName === 'av1' && info.av1LineNumber === info.videoCodecNumbers[0]) {
return sdp;
}
@@ -58,21 +54,24 @@ var CodecsHandler = (function() {
return sdp;
}
preferCodecNumber = info.vp8LineNumber;
- }
-
- if (codec === 'vp9') {
+
+ } else if (codec === 'vp9') {
if (!info.vp9LineNumber) {
return sdp;
}
preferCodecNumber = info.vp9LineNumber;
- }
-
- if (codec === 'h264') {
+
+ } else if (codec === 'h264') {
if (!info.h264LineNumber) {
return sdp;
}
-
preferCodecNumber = info.h264LineNumber;
+
+ } else if (codec === 'av1') {
+ if (!info.av1LineNumber) {
+ return sdp;
+ }
+ preferCodecNumber = info.av1LineNumber;
}
var newLine = info.videoCodecNumbersOriginal.split('SAVPF')[0] + 'SAVPF ';
@@ -117,6 +116,10 @@ var CodecsHandler = (function() {
if (line.indexOf('H264/90000') !== -1 && !info.h264LineNumber) {
info.h264LineNumber = line.replace('a=rtpmap:', '').split(' ')[0];
+ }
+
+ if (line.indexOf('AV1X/90000') !== -1 && !info.av1LineNumber) {
+ info.av1LineNumber = line.replace('a=rtpmap:', '').split(' ')[0];
}
});
diff --git a/zoom.html b/zoom.html
new file mode 100644
index 0000000..8c8969a
--- /dev/null
+++ b/zoom.html
@@ -0,0 +1,182 @@
+
+
+
+
+
+