https://github.com/binux/webrtc_video
P2P video sharing through webrtc
https://github.com/binux/webrtc_video
Last synced: 5 months ago
JSON representation
P2P video sharing through webrtc
- Host: GitHub
- URL: https://github.com/binux/webrtc_video
- Owner: binux
- Created: 2013-04-24T09:04:47.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-05-10T07:04:23.000Z (over 12 years ago)
- Last Synced: 2025-04-22T17:13:07.608Z (9 months ago)
- Language: JavaScript
- Homepage: webrtc.binux.me
- Size: 261 KB
- Stars: 46
- Watchers: 10
- Forks: 29
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
webrtc_video
============
A plugin-less P2P video live sharing through webrtc.
*** only support chrome at present ***
# demo
[http://webrtc.binux.me/](http://webrtc.binux.me/)
# Getting Start
```
easy_install tornado
python application.py
```
`python application.py --help` for more arguments.
# How To Use
### Share
1. visit `/room/new`
2. select a file to share.
3. share this link like `/room/{{ hash }}` to others.
3. **DO NOT CLOSE THE PAGE!**
### Add a http peer
1. make sure the http server support [CORS](http://en.wikipedia.org/wiki/Cross-origin_resource_sharing) and Range header.
2. fill in the url, wait for checking.
3. you can also copy the file to `project_path/data/`, and use a websocket peer by filling in the url like `ws://host:port/file/{{ filename }}`.
NOTICE: the filename of the file which is placed in `project_path/data/` need alnum(A-Za-z0-9) only.
## License
webrtc_video is licensed under the MIT license.