Cesar Mendivil 8b458a3ddf feat: add initial LiveKit Meet integration with utility scripts, configs, and core components
- Add Next.js app structure with base configs, linting, and formatting
- Implement LiveKit Meet page, types, and utility functions
- Add Docker, Compose, and deployment scripts for backend and token server
- Provide E2E and smoke test scaffolding with Puppeteer and Playwright helpers
- Include CSS modules and global styles for UI
- Add postMessage and studio integration utilities
- Update package.json with dependencies and scripts for development and testing
2025-11-20 12:50:38 -07:00

10 lines
489 B
JavaScript

const WebSocket = require('ws')
const url = process.argv[2]
if (!url) { console.error('Usage: node ws-test.js <wss-url>'); process.exit(2) }
console.log('Testing WS connect to', url)
const ws = new WebSocket(url, { handshakeTimeout: 5000 })
ws.on('open', ()=>{ console.log('WS OPEN'); ws.close(); process.exit(0) })
ws.on('error', (e)=>{ console.error('WS ERROR', e && e.message ? e.message : e); process.exit(3) })
setTimeout(()=>{ console.error('WS TIMEOUT'); process.exit(4) }, 10000)