WebAPI/PresentationAPI:Protocol Draft: Difference between revisions

m
→‎Terminate Presentation: update step sequence number
m (→‎Resume Connection: update step sequence number)
m (→‎Terminate Presentation: update step sequence number)
Line 100: Line 100:


=== Terminate Presentation ===
=== Terminate Presentation ===
* STEP 1: setup control channel to server
* STEP 1: controlling page initiate presentation termination via connection.terminate()
* STEP 2: send terminate command with presentation Id (terminate command should be encrypted and carried in encrypted-ctrl-msg command)
* STEP 2: setup control channel to server
* STEP 3: receiving user agent close the presented content and close data channel
* STEP 3: send terminate command with presentation Id (terminate command should be encrypted and carried in encrypted-ctrl-msg command)
* STEP 3a: server send terminate-ack to client
* STEP 4: receiving user agent close the presented content and close data channel
* STEP 4: client close control channel and notify onterminate event to controlling page
* STEP 5: server send terminate-ack to client
* STEP 6: client close control channel and notify onterminate event to controlling page
[[File:Draft Protocol Terminate Presentation.png]]
[[File:Draft Protocol Terminate Presentation.png]]


Confirmed users
216

edits