// console.log("BareRTC!"); // WebRTC configuration. const configuration = { iceServers: [{ urls: 'stun:stun.l.google.com:19302' }] }; const app = Vue.createApp({ delimiters: ['[[', ']]'], data() { return { busy: false, // Website configuration provided by chat.html template. config: { channels: PublicChannels, website: WebsiteURL, sounds: { available: SoundEffects, settings: DefaultSounds, ready: false, audioContext: null, audioTracks: {}, } }, // User JWT settings if available. jwt: { token: UserJWTToken, valid: UserJWTValid, claims: UserJWTClaims }, channel: "lobby", username: "", //"test", message: "", // WebSocket connection. ws: { conn: null, connected: false, }, // Who List for the room. whoList: [], whoMap: {}, // map username to wholist entry // My video feed. webcam: { busy: false, active: false, elem: null, //