<?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>25769</bug_id>
          
          <creation_ts>2014-05-18 13:41:29 +0000</creation_ts>
          <short_desc>Need extensibility for media types that are not audio or video</short_desc>
          <delta_ts>2014-09-11 14:39:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebRTC Working Group</product>
          <component>Media Capture and Streams</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>25752</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cullen Jennings">fluffy</reporter>
          <assigned_to name="public-media-capture@w3.org">public-media-capture</assigned_to>
          <cc>adam.bergkvist</cc>
    
    <cc>harald</cc>
    
    <cc>public-media-capture</cc>
    
    <cc>stefan.lk.hakansson</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106264</commentid>
    <comment_count>0</comment_count>
    <who name="Cullen Jennings">fluffy</who>
    <bug_when>2014-05-18 13:41:29 +0000</bug_when>
    <thetext>The spec needs to be clearly extensible for new media types (the range or depth camera use case is one example of this). I think this means we need a way get all the tracks, not just the audio and video ones [ actually , I seem to recall we agreed long ago to add that]. 

We also need to be be clear how to extend MST.kind, MediaDeviceKind, and SourceTypeEnum. The way SourceTypeEnum is defined my have problems extending due to limitations of WebIDL so may need to change the way it is defined.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108564</commentid>
    <comment_count>1</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-07-01 08:24:43 +0000</bug_when>
    <thetext>MST.kind seems easy to extend (it&apos;s the same string as the media type).

MediaDeviceInfo.kind currently has &quot;audioinput&quot;, &quot;audiooutput&quot; and &quot;videoinput&quot;.

Since MediaDeviceInfo.kind is only returned from the platform, never passed to it, we do not have the problem we had with facingMode of the platform throwing on extensions it does not understand.

sourceTypeEnum&apos;s future is discussed in bug 25752. Adding that as a dependency for this one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108751</commentid>
    <comment_count>2</comment_count>
    <who name="Stefan Hakansson LK">stefan.lk.hakansson</who>
    <bug_when>2014-07-07 13:03:00 +0000</bug_when>
    <thetext>There is now a way to get all tracks (regardless of kind) of a MediaStream: getTracks.

Concluding the sourceType discussion remains though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110458</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2014-08-22 08:57:15 +0000</bug_when>
    <thetext>(In reply to Stefan Hakansson LK from comment #2)
&gt; Concluding the sourceType discussion remains though.

That&apos;s done and sourceTypes is removed. How does that affect this bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111386</commentid>
    <comment_count>4</comment_count>
    <who name="Cullen Jennings">fluffy</who>
    <bug_when>2014-09-11 14:39:05 +0000</bug_when>
    <thetext>There is now a method to get all the track and from each track you find get it&apos;s kind so I believe this bug has &quot;fixed&quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>