This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23125 - Use double rather than float
Summary: Use double rather than float
Status: RESOLVED FIXED
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: Media Capture and Streams (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: public-media-capture@w3.org
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-02 09:36 UTC by Dominique Hazael-Massieux
Modified: 2014-01-07 14:40 UTC (History)
3 users (show)

See Also:


Attachments

Description Dominique Hazael-Massieux 2013-09-02 09:36:11 UTC
the WebIDL spec suggests not to use float but double instead, unless there are specific reasons not to; given that I can't see any in our case, I suggest that frameRate should be defined as a double rather than float.

In particular:
* "  float?               frameRate;" in MediaSourceStates 
* "the type of the min/max values are float."
* "float or MinMaxConstraint" 
should be fixed accordingly.
Comment 1 Dominique Hazael-Massieux 2013-09-02 09:40:15 UTC
I realize this also applies to aspectRatio
Comment 3 Stefan Hakansson LK 2014-01-07 14:40:26 UTC
Fixed in http://dev.w3.org/2011/webrtc/editor/archives/20131225/getusermedia.html