<?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>17006</bug_id>
          
          <creation_ts>2012-05-08 21:25:02 +0000</creation_ts>
          <short_desc>&lt;track&gt; Setting track language &amp; kind when the information is in a manifest</short_desc>
          <delta_ts>2013-01-15 22:24:31 +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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>tpac2012</status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>20253</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Aaron Colwell (c)">acolwell</reporter>
          <assigned_to name="Aaron Colwell (c)">acolwell</assigned_to>
          <cc>b.lund</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>public-html-media</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>silviapfeiffer1</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>67506</commentid>
    <comment_count>0</comment_count>
    <who name="Aaron Colwell (c)">acolwell</who>
    <bug_when>2012-05-08 21:25:02 +0000</bug_when>
    <thetext>Adaptive streaming specs like MPEG-DASH allow language &amp; kind information to be specified in the manifest instead of only in the initialization segments. We&apos;d like to be able to reflect this information in AudioTrack, VideoTrack, &amp; TextTrack objects. The web application needs a mechanism to associate this information with the appropriate tracks.

Proposed solutions:
1. Remove the readonly modifier from the kind &amp; language attributes on Audio|Video|TextTrack and allow assignment.
2. Create a Media Source specific method on HTMLMediaElement like the following:
void sourceSetTrackInfo(in DOMString trackId, in DOMString kind, in DOMString language)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67622</commentid>
    <comment_count>1</comment_count>
    <who name="Bob Lund">b.lund</who>
    <bug_when>2012-05-11 19:54:44 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; Adaptive streaming specs like MPEG-DASH allow language &amp; kind information to be
&gt; specified in the manifest instead of only in the initialization segments. We&apos;d
&gt; like to be able to reflect this information in AudioTrack, VideoTrack, &amp;
&gt; TextTrack objects. The web application needs a mechanism to associate this
&gt; information with the appropriate tracks.

This also applies if the DASH manifest is processed by UA. In this case, the UA can be expected to map well-known DASH &lt;role&gt; values to @kind. But DASH also allows extensions to &lt;role&gt; values. In this case, it would be useful for the web application to be able to set Video, Audio and Text @kind.

&gt; 
&gt; Proposed solutions:
&gt; 1. Remove the readonly modifier from the kind &amp; language attributes on
&gt; Audio|Video|TextTrack and allow assignment.
&gt; 2. Create a Media Source specific method on HTMLMediaElement like the
&gt; following:
&gt; void sourceSetTrackInfo(in DOMString trackId, in DOMString kind, in DOMString
&gt; language)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80900</commentid>
    <comment_count>2</comment_count>
    <who name="Aaron Colwell (c)">acolwell</who>
    <bug_when>2013-01-04 19:20:04 +0000</bug_when>
    <thetext>Changes committed
http://dvcs.w3.org/hg/html-media/rev/52a85235137b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81421</commentid>
    <comment_count>3</comment_count>
    <who name="Aaron Colwell (c)">acolwell</who>
    <bug_when>2013-01-15 19:25:03 +0000</bug_when>
    <thetext>Reopening to replace setTrackInfo() with writable attributes proposed in 
http://lists.w3.org/Archives/Public/public-html-media/2013Jan/0007.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81445</commentid>
    <comment_count>4</comment_count>
    <who name="Aaron Colwell (c)">acolwell</who>
    <bug_when>2013-01-15 22:24:31 +0000</bug_when>
    <thetext>Changes committed.
https://dvcs.w3.org/hg/html-media/rev/fd2a58eec443</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>