fix eslint

This commit is contained in:
Isaac Connor 2022-01-17 16:19:27 -05:00
parent eab29babea
commit 24c2efeb00
1 changed files with 10 additions and 10 deletions

View File

@ -303,7 +303,7 @@ function MonitorStream(monitorData) {
} // end function MonitorStream
async function attachVideo(id) {
await waitUntil(() => janus.isConnected() )
await waitUntil(() => janus.isConnected() );
janus.attach({
plugin: "janus.plugin.streaming",
opaqueId: "streamingtest-"+Janus.randomString(12),
@ -357,7 +357,7 @@ async function attachVideo(id) {
const waitUntil = (condition) => {
return new Promise((resolve) => {
let interval = setInterval(() => {
const interval = setInterval(() => {
if (!condition()) {
return;
}
@ -365,4 +365,4 @@ const waitUntil = (condition) => {
resolve();
}, 100);
});
}
};