<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>16552</bug_id>
          
          <creation_ts>2012-03-28 00:54:25 +0000</creation_ts>
          <short_desc>Consider making needkey a simple event</short_desc>
          <delta_ts>2012-08-28 20:10:28 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>Encrypted Media Extensions</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>16548</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Dorwin">ddorwin</reporter>
          <assigned_to name="Adrian Bateman [MSFT]">adrianba</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>public-html-media</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>66171</commentid>
    <comment_count>0</comment_count>
    <who name="David Dorwin">ddorwin</who>
    <bug_when>2012-03-28 00:54:25 +0000</bug_when>
    <thetext>From v0.1:
It has been proposed that needkey be a simple event. In this case, it would not provide any indication of the key that is needed and the application would need to call generateKeyRequest() to get an appropriate message or identifier, including for the Clear Key case. Such a change assumes that the consistent flow option is selected. See this example for an illustration of the impact of this change.
(Because sessionId is not included in needkey and is not generated until generateKeyRequest() generates a keymessage event, this cange would not result in the loss of any correlation. See Session Correlation for a discussion of the general lack of correlation.)


See http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html#issue-needkey-simple-event-example for the possible impact of this and other proposed changes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68165</commentid>
    <comment_count>1</comment_count>
    <who name="David Dorwin">ddorwin</who>
    <bug_when>2012-05-25 22:31:14 +0000</bug_when>
    <thetext>We should prioritize resolving this since it affects the basic API.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69858</commentid>
    <comment_count>2</comment_count>
    <who name="David Dorwin">ddorwin</who>
    <bug_when>2012-07-11 23:58:21 +0000</bug_when>
    <thetext>Permalink: http://dvcs.w3.org/hg/html-media/raw-file/eme-v0.1a/encrypted-media/encrypted-media.html#issue-needkey-simple-event-example</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72902</commentid>
    <comment_count>3</comment_count>
    <who name="Adrian Bateman [MSFT]">adrianba</who>
    <bug_when>2012-08-28 19:45:52 +0000</bug_when>
    <thetext>The needkey event signals that a key is needed and that any initdata necessary is available. Since generateKeyRequest moved to createSession on the MediaKeys object there is no longer the opportunity for an out of band mechanism to provide this initData to the CDM. I propose that this bug be resolved WONTFIX since the O-O changes make it no longer an option.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72907</commentid>
    <comment_count>4</comment_count>
    <who name="David Dorwin">ddorwin</who>
    <bug_when>2012-08-28 20:10:28 +0000</bug_when>
    <thetext>Agreed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>