Create rooms like socket.io by using QuicTransport protocol.
This sample is based on https://github.com/GoogleChrome/samples/tree/gh-pages/quictransport.
- Generate a certificate and a private key and save them in cert directory
- Run
pipenv shell
- Run
pipenv run python ./server/stream_from_server.py ./cert/certificate.pem ./cert/certificate.key
- Install Google Chrome canary version
- Run
open -a /Applications/Google\ Chrome\ Canary.app --args --enable-experimental-web-platform-features --origin-to-force-quic-on=localhost:4433 --ignore-certificate-errors-spki-list=<YOUR FINGERPRINT>
- Open
room.html
- Press "Connect" button
- Input string and press "Send by Datagram" or "Send by Stream" button
- Open
media.html
- Press "Connect" button
- Press "Offer" button to create offer