Index: Source/modules/mediastream/MediaDeviceInfo.idl |
diff --git a/Source/modules/mediastream/SourceInfo.idl b/Source/modules/mediastream/MediaDeviceInfo.idl |
similarity index 81% |
copy from Source/modules/mediastream/SourceInfo.idl |
copy to Source/modules/mediastream/MediaDeviceInfo.idl |
index 814dd65cc4d4238504d0b3df3bec8085e9a770b2..3dc8859d21e9dc2905861011e8c5f63641069080 100644 |
--- a/Source/modules/mediastream/SourceInfo.idl |
+++ b/Source/modules/mediastream/MediaDeviceInfo.idl |
@@ -1,5 +1,5 @@ |
/* |
- * Copyright (C) 2013 Google Inc. All rights reserved. |
+ * Copyright (C) 2014 Google Inc. All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
@@ -23,11 +23,17 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+enum MediaDeviceKind { |
+ "audioinput", |
+ "audiooutput", |
+ "videoinput" |
+}; |
+ |
[ |
NoInterfaceObject |
-] interface SourceInfo { |
- readonly attribute DOMString id; |
- readonly attribute DOMString kind; |
+] interface MediaDeviceInfo { |
+ readonly attribute DOMString deviceId; |
+ readonly attribute MediaDeviceKind kind; |
readonly attribute DOMString label; |
- readonly attribute DOMString facing; |
+ readonly attribute DOMString groupId; |
}; |