WebAPI/PresentationAPI:Protocol Draft: Difference between revisions

→‎Establish Data Channel: encrypt communication channel establish commands
(→‎Terminate Presentation: update details for terminating presentation)
(→‎Establish Data Channel: encrypt communication channel establish commands)
Line 91: Line 91:
* STEP 1: client creates data channel and generates SDP as offer
* STEP 1: client creates data channel and generates SDP as offer
* STEP 2: establish control channel to server
* STEP 2: establish control channel to server
* STEP 3: send send-offer command with offer to server
* STEP 3: send send-offer command with offer to server (send-offer command should be encrypted and carried by encrypted-ctrl-msg)
* STEP 4: server creates data channel, assigns the received SDP as remote description, and generates SDP as answer
* 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 5: send send-answer command with answer to client (send-answer command should be encrypted and carried by encrypted-ctrl-msg)
* STEP 6: client assigns the received SDP as remote description
* 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 6': client and server might generate more ICE candidate and exchange it via update-ice-candidate command (update-ice-candidate command should be encrypted and carried by encrypted-ctrl-msg)
* STEP 7: data channel is created via JSEP procedure
* STEP 7: data channel is created via JSEP procedure
[[File:Draft Protocol Establish Data Channel.png]]
[[File:Draft Protocol Establish Data Channel.png]]
Confirmed users
216

edits