Skip to content

Instantly share code, notes, and snippets.

@Nazmul56
Created April 7, 2020 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nazmul56/7cbd78c97c4881c4da124df7a7868f2d to your computer and use it in GitHub Desktop.
Save Nazmul56/7cbd78c97c4881c4da124df7a7868f2d to your computer and use it in GitHub Desktop.

Peer Connection

_______________________________________________________________________
Patient App		      |		      Dr App
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
CallActivity ————————————————————————————————▶︎ Incoming Activity  
					       	    │
						    ▼
					      Accept Call	
						    |
						    ▼
				             Call Activity Open 							
				       		    |
						    ▼
PeerConnectionClient <——Send Offer—————————— PeerConnectionClient
    (Set Offer)	(Set Candidate)		    (Create Offer) (Candidate)
        |
	▼
(Create Answer )  ————Send Answer ——————————> (Set Answer)
	|
	▼
  (Candidate)   ————— Send Candidate ———————> (Set Candidate)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment