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 25775 - Do we need both MediaDeviceKind and SourceTypeEnum
Summary: Do we need both MediaDeviceKind and SourceTypeEnum
Status: RESOLVED WONTFIX
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: Media Capture and Streams (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: public-media-capture@w3.org
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 25752
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-18 13:53 UTC by Cullen Jennings
Modified: 2014-08-22 08:58 UTC (History)
3 users (show)

See Also:


Attachments

Description Cullen Jennings 2014-05-18 13:53:09 UTC
Seems we could use one enum for both. Thoughts?
Comment 1 Harald Alvestrand 2014-07-01 08:39:34 UTC
enum MediaDeviceKind {
    "audioinput",
    "audiooutput",
    "videoinput"
};

enum SourceTypeEnum {
    "none",
    "camera",
    "microphone"
};

Making a dependency on 25752, where the future of SourceTypeEnum is discussed.
Comment 2 Adam Bergkvist 2014-08-22 08:58:08 UTC
sourceType was removed. Closing as WONTFIX.