<?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>23125</bug_id>
          
          <creation_ts>2013-09-02 09:36:11 +0000</creation_ts>
          <short_desc>Use double rather than float</short_desc>
          <delta_ts>2014-01-07 14:40:26 +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>Linux</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dominique Hazael-Massieux">dom</reporter>
          <assigned_to name="public-media-capture@w3.org">public-media-capture</assigned_to>
          <cc>adam.bergkvist</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>92808</commentid>
    <comment_count>0</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2013-09-02 09:36:11 +0000</bug_when>
    <thetext>the WebIDL spec suggests not to use float but double instead, unless there are specific reasons not to; given that I can&apos;t see any in our case, I suggest that frameRate should be defined as a double rather than float.

In particular:
* &quot;  float?               frameRate;&quot; in MediaSourceStates 
* &quot;the type of the min/max values are float.&quot;
* &quot;float or MinMaxConstraint&quot; 
should be fixed accordingly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92810</commentid>
    <comment_count>1</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2013-09-02 09:40:15 +0000</bug_when>
    <thetext>I realize this also applies to aspectRatio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97743</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Bergkvist">adam.bergkvist</who>
    <bug_when>2013-12-17 14:15:30 +0000</bug_when>
    <thetext>Proposed change: https://github.com/fluffy/webrtc-w3c/commit/2ac991ccfd7c1f4b76fd1b9ca520351bd7061108</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98076</commentid>
    <comment_count>3</comment_count>
    <who name="Stefan Hakansson LK">stefan.lk.hakansson</who>
    <bug_when>2014-01-07 14:40:26 +0000</bug_when>
    <thetext>Fixed in http://dev.w3.org/2011/webrtc/editor/archives/20131225/getusermedia.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>