asanteb / WebRTC-Mafkr

2 stars 0 forks source link

(OLD - But working code from my first webRTC test)

WebRTC

Setup

Install NODE.js or via your preferred Package Manager

$ npm install

Run Tests

$ npm run test # Full test suite run

$ npm run watch/test # Watches specs for changes then runs respective test on save

Run Server

$ npm start

Run server with browsersync and pug watching

$ npm run watch

Compile PUG Templates

$ npm run templates
# OR
$ npm run watch/templates # (Watches for changes then re renders)
$ npm run remove/templates # removes all templates

Media encodings by browser

http://stackoverflow.com/questions/21921790/best-approach-to-real-time-http-streaming-to-html5-video-client

WebRTC

What is WebRTC http://blog.salemove.com/webrtc-vs-flash-not-much-of-a-competition/

WebRTC Example That Asante Used

https://gist.github.com/moemoe89/d5f19482683836422c08

WebRTC Vulnerability

https://www.privateinternetaccess.com/forum/discussion/8204/how-to-stop-webrtc-local-ip-address-leaks-on-google-chrome-and-mozilla-firefox-while-using-private-i

LINKS

https://github.com/webrtc

https://www.w3.org/TR/media-source/

https://www.w3.org/TR/webrtc/

https://developer.mozilla.org/en-US/docs/Web/API/MediaSource

https://developers.google.com/web/updates/2011/11/Stream-video-using-the-MediaSource-API?hl=en

http://html5-demos.appspot.com/static/media-source.html