Confirmed users
216
edits
m (→Terminate Presentation: update description) |
m (→Close Connection: update description) |
||
| Line 108: | Line 108: | ||
=== Close Connection === | === Close Connection === | ||
* STEP 1: controlling page | * STEP 1: controlling page initiate connection.close() | ||
* STEP 2: sending close command to | * STEP 2: sending close command to server, with closeReason = "closed" | ||
* STEP 3: close data channel while receiving close command (close command should be encrypted and carry in encrypted-ctrl-msg command) | * STEP 3: close data channel while receiving close command (close command should be encrypted and carry in encrypted-ctrl-msg command) | ||
* STEP 4: notify onclose event to both controlling page and presented content | * STEP 4: notify onclose event to both controlling page and presented content | ||