<?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>25805</bug_id>
          
          <creation_ts>2014-05-19 14:15:56 +0000</creation_ts>
          <short_desc>Consider adding getOtherTracks() method</short_desc>
          <delta_ts>2014-06-03 11:18:08 +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>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>25860</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Giri Mandyam">mandyam</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>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106343</commentid>
    <comment_count>0</comment_count>
    <who name="Giri Mandyam">mandyam</who>
    <bug_when>2014-05-19 14:15:56 +0000</bug_when>
    <thetext>As per Sec. 4.2.3 of the latest Editor&apos;s Draft (dated 07 May 2014), there are two methods on the MediaStream for kind-specific retrieval of tracks - getAudioTracks() and getVideoTracks.  However, since the specification still allows for creation of MediaStreams from files, it is possible to have tracks that are neither audio nor video.

Another option is to eliminate the possibility to create MediaStreams from any sources other than local or remote capture devices.  If the group goes in that direction, then there will be only two kinds of tracks - video and audio.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107188</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2014-06-03 09:55:20 +0000</bug_when>
    <thetext>We&apos;re considering adding a getTracks() method along side the specific getter methods that gives you all tracks. That would make this redundant.

Let&apos;s continue the discussion in [1]. Closing as WONTFIX.

[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=25860</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107193</commentid>
    <comment_count>2</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-06-03 11:18:08 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 25860 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>