Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

WebRTC and Janus intro for FOSS Stockholm January 2019

152 views

Published on

A very brief introduction to WebRTC and the Janus WebRTC Platform for FOSS Stockholm

Published in: Technology
  • Be the first to comment

  • Be the first to like this

WebRTC and Janus intro for FOSS Stockholm January 2019

  1. 1. Janus, WebRTC and stuff oej Foss Stockholm Jan 2019 v1.0
  2. 2. WebRTC
  3. 3. The idea Browers can play
 audio and video. Why not let them use the webcam and the microphone? If so, users can talk to each other using the browser. Using NO PLUGINS
  4. 4. Much more than ”calls” GAMES DATING SITES ART
  5. 5. Much more than ”media” DATACHANNELS p2p (or browser2browser) Anything!
  6. 6. Secure peer-to-peer Using DTLS + SRTP for media Web Server
 “Rendevouz”
  7. 7. Much more than browsers Browser Thing with
 WebRTC stack Gateway
 with WebRTC stack Something else.
 SIP, XMPP, DecNet
  8. 8. Much more than browsers App (no browser) Thing with
 WebRTC stack Gateway
 with WebRTC stack Something else.
 SIP, XMPP, DecNet
  9. 9. Much more than browsers SIP phone SIP phone Gateway
 with WebRTC stack Something else.
 SIP, XMPP, DecNet
  10. 10. P2P SCTP over UDP P2P SRTP P2P SRTP Multiple channels AUDIO VIDEO DATA #moreCrypto
  11. 11. WebRTC API JavaScript API defined by the W3C User needs to allow usage of camera and microphone. Defines the session in a SDP document The applications needs to provide the SDP exchange between peers
  12. 12. The WebRTC protocols Defined by the IETF No signalling protocol specified Use SRTP for media Use ICE (TURN, STUN) for network discovery
  13. 13. WebRTC media Can be bundled and mixed to one single RTP port Always use secure RTP with DTLS key exchange Use ICE to find the best media path Use TURN to traverse NAT and firewalls.
  14. 14. P2P call setup Web
 Server Media SDP SDP The web application defines the signaling
  15. 15. P2P call setup
 with network issues Web
 Server Media SDP SDP The web application defines the signaling TURN
 Server TURN
 Server
  16. 16. Janus - a WebRTC gateway https://janus.conf.meetecho.com/docs/index.html
  17. 17. WebRTC to a lot of stuff SIP RTSP RTP
  18. 18. WebRTC apps Audio conference Video conference Your own stuff in Lua or JavaScript
  19. 19. Connecting to Janus HTTPS WebSOCKET MQTT AMQP/RabbitMQ Unix Socket
  20. 20. Listening to Janus HTTPS WebSOCKET MQTT
  21. 21. Building a solution Web Proxy /LB Web Server MQTT server Janus Server App Logic SIP Proxy Streaming server (RTSP)
  22. 22. Take Janus for a spin https://janus.conf.meetecho.com/demos.html
  23. 23. Thank you! oej@edvina.net https://www.slideshare.net/oej

×