11
Kranky Geek (mini) WebRTC Meetup WebRTC Tutorial By epecate.com

Kranky geekwebrtc demo

Embed Size (px)

Citation preview

  1. 1. Kranky Geek (mini) WebRTC Meetup WebRTC Tutorial By epecate.com
  2. 2. Who are we? (epecate) Epecate is a technology cum research company in higher education segment. Currently they are working on a research project with IIIT Bangalore to make higher education more effective and industry ready. They jointly have prepared a social model for higher education which is currently being tested at selected higher education institutes in India. Please visit https://epecate.com to know more.
  3. 3. How we are using WebRTC To live stream events, classes or lab sessions. To record video on servers to be shared through epecate.com In future, for speech and video analytics.
  4. 4. How it is helping in achieving our mission of what we intend to achieve? Mission: Our mission is to provide effective communication and collaboration technologies to all the stakeholders of the education ecosystem. Secure Video / Audio communication and File sharing is the way to collaborate and communicate in today's world. WebRTC provides the same via end-to-end encryption.
  5. 5. WebRTC Fundamentals: getUserMedia(): The Navigator.getUserMedia() method prompts the user for permission to use 0 or 1 video and 0 or 1 audio input device such as a camera, a shared screen, or a microphone. If the user provides permission, then the successCallback is invoked with the resulting MediaStream object as its argument. If the user denies permission or media is not available, then the errorCallback is called with PermissionDeniedError or NotFoundError respectively. Note that it is possible for neither completion callback to be called, as the user is not required to make a choice.
  6. 6. WebRTC Fundamentals (cont.): RTCPeerConnection(): The RTCPeerConnection interface represents a WebRTC connection between the local computer and a remote peer. It provides methods to connect to a remote peer, maintain and monitor the connection, and close the connection once it's no longer needed.
  7. 7. WebRTC Fundamentals (cont.): RTCDatachannel(): The RTCDataChannel interface represents a network channel which can be used for bidirectional peer-to- peer transfers of arbitrary data.
  8. 8. WebRTC Fundamentals (cont.): STUN: A STUN (Session Traversal of User Datagram Protocol [UDP] Through Network Address Translators [NATs]) server allows NAT clients (i.e. computers / phones) to setup connection with Remote Clients.
  9. 9. WebRTC Fundamentals (cont.): TURN: Traversal Using Relays around NAT (TURN) is a protocol that assists in traversal of network address translators (NAT) or firewalls for multimedia applications. It may be used with the Transmission Control Protocol (TCP) and User Datagram Protocol (UDP). It is most useful for clients on networks masqueraded by symmetric NAT devices.
  10. 10. WebRTC Tutorial: Go to bit.ly/1YcujlD and follow instructions OR Install Meteor: > curl https://install.meteor.com/ | sh Clone this repository: >git clone https://github.com/piyushmahensaria/krankygeekwebrtcdemo Run Project: > cd krankygeekwebrtcdemo > meteor
  11. 11. Reach us:[email protected] [email protected] [email protected] ThankYou We are helping college students adapt new technologies like WebRTC and MeteorJs through our platform. Anyone interested in reaching out to college students with any good offerings, we will be able to help them. We can talk offline more on that.