https://github.com/samccone/rtc-sample
rtc-sample
https://github.com/samccone/rtc-sample
Last synced: 3 months ago
JSON representation
rtc-sample
- Host: GitHub
- URL: https://github.com/samccone/rtc-sample
- Owner: samccone
- Created: 2013-04-08T04:04:20.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-04-14T01:45:31.000Z (about 13 years ago)
- Last Synced: 2024-04-15T12:22:04.013Z (about 2 years ago)
- Language: JavaScript
- Size: 219 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### a simple web rtc binary data sample
`$ npm install`
`$ node server.js`
## send a message
ws.send(JSON.stringify({
type: "close",
data: {
id: ws._id
}
}));
The answer is here.... somewhere
http://www.w3.org/TR/webrtc/#constraints