TeachingCloud - webRTC application

Download Report

Transcript TeachingCloud - webRTC application

TSMN 6350
IP TELEPHONY
Class Project
Project based on
WebRTC
Web Real Time Communication
Mentor:
Aishwarya Srinivasan – [email protected]
Team:
Monisha Yerramalla – [email protected]
Dileesh Chowdary Aluri – [email protected]
Rajakumaran Gowthaman – [email protected]
Shantanu Naresh Arora – [email protected]
1
What is WebRTC ?
• A Real-Time communication between the Browsers
• Accessed completely through JavaScript API
• No need of plugins, downloads or installs
• Audio/Video chat on web wherever you are
• Accessed over multiple platforms using multiple browsers
2
Having Trouble ?
3
Our Mission
• We are a start up providing a Real-Time learning experience using WebRTC
4
teachingcloud.com
-We provide a simple and elegant solution using WebRTC,
• Login
• Access the local elements (Webcam & Mic)
• Create a room
• Join the room
• Experience real-time Communication
Believe us, it’s the future
5
Simple RTC’s Sandbox Signaling Server
Architecture
Teachingcloud’s HTTP server
N
A
T
STUN SERVER
STUN SERVER
N
A
T
ICE FRAMEWORK
MEDIA FLOW
Wow !! The http://’s are talking…!!!
6
Architecture (contd..)
Simple RTC’s Sandbox
Signaling Server
7
DEMO
Coming soon… stay awake ;)
Take a look at the flow chart next
8
Establish a connection to the
Sand Box Signaling server
(http://signaling.simplewebrt
c.com:8888)
Get local stream
using
getUserMedia()
Set LocalStream using:
Element autoplay=true;
Element.src=webkitURL.creat
eObjectURL(stream);
webkitRTCPeerConnection
Set remote Description by using:
peerConnection.setRemoteDescri
ptionremoteDescription);
Create offer using:
peerConnection.cre
ateOffer();
Conversation object
Create answer using:
peerConnection.createAnswer()
;
Send Ice
Candidates
Onaddstream();
function is called
now
Now, Call the
JoinRoom();
function
False
If
Number
of peers
>2
True
Video call in
progress

9
Snapshot
10
Challenges Faced
• Interoperability issues with the web browsers
• It leaves many details of session establishment to the end points to work
out on their own.
• Complexity in initiating Peer Connection
• Generating and Processing signaling messages
• Receiving the remote media stream
11
SUMMARY
• Developed web- based application for universities enabling real time communication
between students and professors
• Teaching cloud.com only involves web bowsers with Real-Time Communication
capabilities via simple JavaScript APIs and HTML5
• Group chat rooms.
• No Native Application downloads and Plugins.
Future Scope
• Setting up a data channel
• Integrating teachingcloud.com with existing applications
12
References
• Html5rocks.com
• Hacks.Mozilla.org
• Apprtc.appspot.com
• Simplewebrtc.com
• Ietf.org
13
THANK YOU
Prof. Elliot Eichen | TA’s |Mentor | you all - for bearing with us…!!! 
14
15