[Bug 16738] Provide more guidance on heartbeat implementation

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16738

--- Comment #4 from David Dorwin <ddorwin@google.com> 2012-06-22 23:20:20 UTC ---
(In reply to comment #3)
> I prefer Option1,since it is a light-weight keep-alive mechanism.
> And the generateKeyRequest is used when load the page, but when keep-alive
> happens, it does not need reload the page, so we can still use addKey() for
> keep-alive.
Neither option requires reloading the page.

> My question is:
> 
> CDM->UA---(keymessage)------>Server
> CDM->UA,--ACK----------------Server
> 
> In your second comment, it is said that 
> ACK would be provided via addKey.
> What does this mean? ACK from server is provided by addKey() API of UA?
> I am a little confused.
The ACKs the message and provides an ACK message back to the application, which
then provides it to the UA/CDM using addKey().

Note also that the application should appear to the left of "Server" in both
flows above.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 22 June 2012 23:20:23 UTC