<?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>22143</bug_id>
          
          <creation_ts>2013-05-22 20:05:19 +0000</creation_ts>
          <short_desc>MediaPlaybackQuality interface should be limited to HTMLVideoElement</short_desc>
          <delta_ts>2013-06-01 21:42:46 +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>Media Source Extensions</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>PRE_LAST_CALL</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jerry Smith">jdsmith</reporter>
          <assigned_to name="Aaron Colwell">acolwell</assigned_to>
          <cc>acolwell</cc>
    
    <cc>cyril.concolato</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-media</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>88082</commentid>
    <comment_count>0</comment_count>
    <who name="Jerry Smith">jdsmith</who>
    <bug_when>2013-05-22 20:05:19 +0000</bug_when>
    <thetext>Section 7.2 of the current draft adds MediaPlaybackQuality to the HTMLMediaElement.  These can be audio only, in which case the frame quality metrics shouldn&apos;t apply.

Recommend replacing HTMLMediaElement with HTMLVideoElement in 7.2:

7.2 New Attributes and Behavior

This section specifies new attributes and internal state that are being added to the HTMLVideoElement.

Each HTMLVideoElement will maintain a total video frame count variable that keeps track of the total number of frames that have been displayed and dropped. This variable is initialized to 0 when the element is created and whenever the media element load algorithm is invoked. It is incremented when a video frame is displayed or when the dropped video frame count is incremented.

Each HTMLVideoElement will maintain a dropped video frame count variable that keeps track of the total number of frames that have been dropped. This variable is initialized to 0 when the element is created and whenever the media element load algorithm is invoked. It is incremented when a video frame is dropped predecode or when a frame is decoded but dropped because it missed a display deadline.

partial interface HTMLVideoElement{
    readonly    attribute MediaPlaybackQuality playbackQuality;
};

This paragraph is a subparagraph of 7. HTMLMediaElement Extensions, which makes this fit a little awkward.  It fully describes the requested change though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88145</commentid>
    <comment_count>1</comment_count>
    <who name="Aaron Colwell">acolwell</who>
    <bug_when>2013-05-23 18:31:00 +0000</bug_when>
    <thetext>Marking all pre-Last Call bugs</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88163</commentid>
    <comment_count>2</comment_count>
    <who name="Aaron Colwell">acolwell</who>
    <bug_when>2013-05-24 00:17:30 +0000</bug_when>
    <thetext>HTMLMediaElement contains videoTracks which would be present on an HTMLAudioElement eventhough video tracks would not be displayed. I don&apos;t know the history of this choice, but it does set precedent for video related functionality to reside there. What is the perceived harm in having an attribute in HTMLMediaElement? This seems like a natural place to put any future playback stats we may want to expose, video specific or otherwise.

If the prevailing opinion still favors placing this on HTMLVideoElement, then I&apos;d like to propose that MediaPlaybackQuality be renamed to VideoPlaybackQuality and the attribute name be changed to videoPlaybackQuality. Dropping Playback from both names may be a good idea as well. I&apos;m suggesting this primarily to avoid an attribute name conflict if we ever do decide to put a playbackQuality attribute on HTMLMediaElement that contains metrics suitable for all types of media elements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88546</commentid>
    <comment_count>3</comment_count>
    <who name="Aaron Colwell">acolwell</who>
    <bug_when>2013-06-01 21:42:46 +0000</bug_when>
    <thetext>Changes committed
https://dvcs.w3.org/hg/html-media/rev/1ac9c2205a7b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>