Comments (2)
Thanks for the kind words 👍
I would love to know how that's even possible, and why the main Jitsi Meet project doesn't do something similar instead of having to run a full blown server to host Jitsi.
In the first version of jitsi-meet, we used to be able to change how it got the room name.
I modified it use a query parameter (https://server?room=xxx) in JavaScript instead of a pathname (https://server/xxx) that requires server-side code.
function CF() {
let e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
return _().words(`${e}`.replace(/['\u2019]/g, "")).reduce(((e, t, n) => e + (n ? " " : "") + _().upperFirst(t)), "")
}
const AF = "CONNECTION_DISCONNECTED", TF = "CONNECTION_ESTABLISHED", DF = "CONNECTION_FAILED", PF = "CONNECTION_WILL_CONNECT", jF = "SET_LOCATION_URL", MF = "SHOW_CONNECTION_INFO", IF = Symbol("conference"), OF = (Symbol("url"), $e("features/base/connection"));
function NF() {
var urlParam = function(name)
{
var results = new RegExp('[\\?&]' + name + '=([^&#]*)').exec(window.location.href);
if (!results) { return undefined; }
return unescape(results[1] || undefined);
};
return (e, t) => {
Sn(t()["features/base/conference"].room = urlParam("room") || localStorage.getItem("ipade.room.name") || "lobby"); // BAO
const n = Sn(t()["features/base/conference"].room);
localStorage.setItem("ipade.room.name", n); // BAO
if (location.href.indexOf("?room=") == -1) {
location.href = "index.html?room=" + localStorage.getItem("ipade.room.name");
}
return e(((e, t) => {
const n = function(e) {
const t = It(e["features/base/connection"].locationURL),
n = t["devices.audioOutput"],
a = t["devices.videoInput"],
r = t["devices.audioInput"];
if (!n && !a && !r) return;
const i = {};
return n && (i.audioOutput = n), a && (i.videoInput = a), r && (i.audioInput = r), i
}(t());
let a;
return a = n ? e(eI()).then((() => {
const a = t();
if (!qM(a)) return void Object.keys(n).forEach((t => {
e(XM({
type: "devices",
name: "setDevice",
device: {
kind: t.toLowerCase(),
label: n[t]
},
responseCallback() {}
}))
}));
const r = {};
Object.keys(n).forEach((e => {
const t = n[e],
i = HM(a, t, e);
if (i) {
const n = QM[e];
r[n.currentDeviceId] = i, r[n.userSelectedDeviceId] = i, r[n.userSelectedDeviceLabel] = t
}
})), e(hn(r))
})) : Promise.resolve(), a.then((() => ZM(ra(t()), e).catch((e => LM.warn(`Failed to set audio output device.\n Default audio output device will be used instead ${e}`)))))
})).then((() => APP.conference.init({
roomName: n
}).catch((e => {
APP.API.notifyConferenceLeft(APP.conference.roomName), OF.error(e)
}))))
}
}
from ipade.
I feel like this repo deserves a lot more attention!
from ipade.
Related Issues (15)
- Question about Voice Transcription HOT 1
- Minified JS HOT 1
- How to implement breakout room HOT 2
- How to add jibri. HOT 1
- Installation instruction needed HOT 1
- Include/Rebase current jitsi-meet master
- Why is it not working anymore?
- 404 error in breakout room HOT 2
- Not Working HOT 1
- Some doubts I had when using. HOT 1
- Configuration HOT 1
- Demo issue HOT 2
- How to get captions to work? HOT 2
- Request update the jitsi code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipade.