Upgrade to Pro — share decks privately, control downloads, hide ads and more …

EdgeConf 2013 - Realtime/WebRTC Intro Talk

Henrik Joreteg
September 23, 2013

EdgeConf 2013 - Realtime/WebRTC Intro Talk

Video of talk and panel discussion here: http://www.youtube.com/watch?v=Al3SEbeK61s

Henrik Joreteg

September 23, 2013
Tweet

More Decks by Henrik Joreteg

Other Decks in Technology

Transcript

  1. HI!

  2. no.

  3. - prefixed methods - very different error types - strings

    on FF - error object chrome - neither follows spec - constraints (audio/video + resolution) but not in FF - screensharing in chrome (flag) - hard to detect failure type - requires https or fails silently navigator.getUserMedia
  4. - convert stream to blob URL set as src -

    chrome set “autoplay” to true - FF you attach and then call `.play()` - You really want to be able to mirror and mute in one swoop. Attaching a media stream
  5. - total greenfield, not spec’ed - help users discover/pass data

    messages - capabilities detection - screensharing from chrome to FF fails silently (to be fair, it’s flagged) Signaling Server
  6. - prefixed - createDataChannel (very finicky set of options) -

    SDP hack to remove default upload limitation in chrome. - RTCPeerConnection v. mozRTCConnection Peer Connections
  7. - data channels not interoperable - single video stream per

    connection - screensharing requires other peer connection - stream re-broadcasting doesn’t work (well) - Different levels of support for TURN Other Challenges:
  8. SimpleWebRTC var webrtc = new SimpleWebRTC({ localVideoEl: 'localVideo', remoteVideosEl: 'remotesVideos',

    autoRequestMedia: true }); webrtc.on('readyToCall', function () { webrtc.joinRoom('room name'); });