WebAPI/PresentationAPI:Protocol Draft: Difference between revisions

Jump to navigation Jump to search
→‎Establish Data Channel: update details for data channel establishment
(→‎Close Connection: update detail of close connection)
(→‎Establish Data Channel: update details for data channel establishment)
Line 68: Line 68:
[[File:Draft Protocol Start Presentation.png]]
[[File:Draft Protocol Start Presentation.png]]
=== Establish Data Channel ===
=== Establish Data Channel ===
* STEP 1: client creates data channel and generates SDP as offer
* STEP 2: establish control channel to server
* STEP 3: send send-offer command with offer to server
* STEP 4: server creates data channel, assigns the received SDP as remote description, and generates SDP as answer
* STEP 5: send send-answer command with answer to client
* STEP 6: client assigns the received SDP as remote description
** STEP 6': client and server might generate more ICE candidate and exchange it via update-ice-candidate command
* STEP 7: data channel is created via JSEP procedure
[[File:Draft Protocol Establish Data Channel.png]]
[[File:Draft Protocol Establish Data Channel.png]]
=== Terminate Presentation ===
=== Terminate Presentation ===
* STEP 1: setup control channel to remote device (send connect message: auth token)
* STEP 1: setup control channel to remote device (send connect message: auth token)
Confirmed users
216

edits

Navigation menu