Confirmed users
216
edits
(→Resume Connection: encrypt reconnect command) |
(→Terminate Presentation: update details for terminating presentation) |
||
Line 100: | Line 100: | ||
=== Terminate Presentation === | === Terminate Presentation === | ||
* STEP 1: setup control channel to remote device | * STEP 1: setup control channel to remote device | ||
* STEP 2: terminate app / page via session Id (send terminate command: session Id) (terminate command should be encrypted and carried in encrypted-ctrl-msg command) | |||
* STEP 2: terminate app / page via session Id (send terminate | * STEP 3: receiving user agent close the presented content and close data channel | ||
* STEP 3: close | * STEP 3a: server send terminate-ack to client | ||
* STEP 4: client close control channel and notify onterminate event to controlling page | |||
[[File:Draft Protocol Terminate Presentation.png]] | [[File:Draft Protocol Terminate Presentation.png]] | ||
=== Close Connection === | === Close Connection === | ||
* STEP 1: controlling page or presented content initiate connection.close() | * STEP 1: controlling page or presented content initiate connection.close() |