BrycensRanch / Chatting-Platform

Chat with other users, face to face, E2E encrypted, like Google Meets
https://chatting-platform-frontend.vercel.app
MIT License
6 stars 0 forks source link

Use getBrowser.js from https://github.com/BrycensRanch/Focus-SIS/blob/feat/class... #41

Closed github-actions[bot] closed 1 year ago

github-actions[bot] commented 1 year ago

https://github.com/BrycensRanch/Chatting-Platform/blob/68eaeebb87e1e31360974f0c853ac1250c81f123/frontend/testPuppeteer.js#L17


const app = express();
const events = new EventEmitter();

app.get('/connect', async (req, res) => {
  events.emit('connect', req, res);
});
events.on('connect', async (req, res) => {
  const { url, message, kick, waitAfterSendingMessage, leave } = req.query;

  // TODO: Use getBrowser.js from https://github.com/BrycensRanch/Focus-SIS/blob/feat/classroom-integration/getBrowser.js
  const browser = await puppeteer.launch({
    args: [
      `--use-fake-device-for-media-stream`,
BrycensRanch commented 1 year ago

duplicate