This workspace contains a very small two-tab WebRTC lab.
Server.ipynbruns a minimal local WebSocket pairer on127.0.0.1:10001.Client1.ipynbstarts a static web server on127.0.0.1:8000.Client2.ipynbstarts a static web server on127.0.0.1:8001.web/index.htmlandweb/main.jsprovide the browser client.- The first tab becomes Client 1 and the second tab becomes Client 2.
- Remote audio and video are delayed by 3 seconds.
- Run the install cell and then the server cell in
Server.ipynb. - Run the client cell in
Client1.ipynb. - Run the client cell in
Client2.ipynb. - Open
http://127.0.0.1:8000andhttp://127.0.0.1:8001in two browser tabs. - Click
Join roomin both tabs.
- No password is required.
- The signaling server uses
ws://127.0.0.1:10001/ws. - Use
await stop_server()inServer.ipynbto stop the pairer. - Use
stop_web_server()in the client notebooks to stop the local web servers. - If camera or microphone access fails, grant the browser permission and try again.