overview-peerconnection-lifetime

1
DONE FROZEN IN CALL CONNECTION HANDSHAKE (SDP O/A) . new checking connected disconnec ted failed Complete d close new gathering complete CALLER SIG-SERVER CALLEE stable have- local- offer stable Close CHAT ENTER WELCOME OFFER ANSWER Create PC Add local stream(s) Create offer <modify sdp> SetLocal(offer ) Sending offer Create PC SetRemote(offer) addRemoteStream( s) Add local stream(s) Create answer <modify sdp> SetLocal(answer) Send answer stable Have- remote- offer stable new gathering complete onIceCandidat e <Filter candidates> Send candidate <Filter candidates> addIceCandida te onIceCandidate <Filter candidates> Send candidate <Filter candidates> addIceCandidate new checking connected disconnec ted failed Complete d close Close © Temasys Communications, pvt, ltd, 2014 Document provided under CC BY-NC 4.0 CANDIDATES Peer Connecti on ICE Connecti on ICE Gatherin g SetRemote(answ er) addRemoteStrea m BYE

Transcript of overview-peerconnection-lifetime

Page 1: overview-peerconnection-lifetime

DON

E FR

OZE

N

IN C

ALL

CO

NN

ECTI

ON

HAN

DSHA

KE (S

DP O

/A)

.

new

checking

connected

disconnected

failed

Completed

close

new

gathering

complete

CALLER SIG-SERVER CALLEE

stable

have-local-offer

stable

Close

CHAT

ENTER

WELCOME

OFFER

ANSWER

Create PC

Add local stream(s)Create offer<modify sdp>SetLocal(offer)Sending offer Create PC

SetRemote(offer)addRemoteStream(s)Add local stream(s)Create answer<modify sdp>SetLocal(answer)Send answer

stable

Have-remote-offer

stable

new

gathering

complete

onIceCandidate<Filter candidates>Send candidate

<Filter candidates>addIceCandidate

onIceCandidate<Filter candidates>Send candidate

<Filter candidates>addIceCandidate

new

checking

connected

disconnected

failed

Completed

close Close

© Temasys Communications, pvt, ltd, 2014 Document provided under CC BY-NC 4.0

CANDIDATES

PeerConnection

ICEConnection

ICEGathering

SetRemote(answer)addRemoteStream

BYE