https://github.com/colyseus/demo-push-to-talk
PoC: Simple "Push To Talk" example
https://github.com/colyseus/demo-push-to-talk
colyseus colyseus-sample multiplayer push-to-talk
Last synced: about 1 month ago
JSON representation
PoC: Simple "Push To Talk" example
- Host: GitHub
- URL: https://github.com/colyseus/demo-push-to-talk
- Owner: colyseus
- License: mit
- Created: 2023-07-15T21:46:46.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-15T21:47:00.000Z (about 2 years ago)
- Last Synced: 2025-08-20T00:45:00.834Z (about 2 months ago)
- Topics: colyseus, colyseus-sample, multiplayer, push-to-talk
- Language: TypeScript
- Homepage: https://colyseus-demo.web.app/push-to-talk/
- Size: 82 KB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Colyseus: Push To Talk Example

This example is built for the web platform, and uses:
- [`navigator.mediaDevices.getUserMedia()`](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia)
- [`MediaRecorder`](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder)
- [`MediaStream`](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream)
- [`Audio`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement/Audio)(Currently, doesn't work on Safari due to audio auto-play restrictions.)
## Running locally
Start the client:
```
cd client
npm install
cd start
```Start the server:
```
cd server
npm install
npm start
```Open [http://localhost:1234](http://localhost:1234) in your browser.
## License
MIT