Changeset 214170 in webkit
- Timestamp:
- Mar 20, 2017 8:40:57 AM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r214169 r214170 1 2017-03-20 Jon Lee <jonlee@apple.com> 2 3 Mark differences in media stream implementation 4 https://bugs.webkit.org/show_bug.cgi?id=169873 5 6 Reviewed by Eric Carlson. 7 8 Rearrange IDL and add comments based on 05 February 2017 Editor's Draft of Media 9 Capture and Streams spec. 10 * Modules/mediastream/DOMURLMediaStream.idl: 11 * Modules/mediastream/MediaDeviceInfo.idl: 12 * Modules/mediastream/MediaDevices.idl: 13 * Modules/mediastream/MediaStream.idl: 14 * Modules/mediastream/MediaStreamEvent.idl: 15 * Modules/mediastream/MediaStreamTrack.idl: 16 * Modules/mediastream/MediaStreamTrackEvent.idl: 17 * Modules/mediastream/MediaTrackConstraints.idl: 18 * Modules/mediastream/MediaTrackSupportedConstraints.idl: 19 * Modules/mediastream/NavigatorMediaDevices.idl: 20 * Modules/mediastream/NavigatorUserMedia.idl: 21 1 22 2017-03-20 Per Arne Vollan <pvollan@apple.com> 2 23 -
trunk/Source/WebCore/Modules/mediastream/DOMURLMediaStream.idl
r206208 r214170 28 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 29 */ 30 31 // FIXME 169871: legacy or remove 30 32 [ 31 33 Conditional=MEDIA_STREAM -
trunk/Source/WebCore/Modules/mediastream/MediaDeviceInfo.idl
r200291 r214170 31 31 ] interface MediaDeviceInfo { 32 32 readonly attribute DOMString deviceId; 33 readonly attribute DOMString groupId;34 33 readonly attribute MediaDeviceKind kind; 35 34 readonly attribute DOMString label; 35 readonly attribute DOMString groupId; 36 37 // FIXME 169871: missing serializer 36 38 }; 39 40 // FIXME 169871: missing InputDeviceInfo 37 41 38 42 enum MediaDeviceKind { -
trunk/Source/WebCore/Modules/mediastream/MediaDevices.idl
r212323 r214170 29 29 */ 30 30 31 // FIXME 169871: should be subclass of EventTarget 31 32 [ 32 33 Conditional=MEDIA_STREAM, 33 34 NoInterfaceObject, 34 35 ] interface MediaDevices { 36 // FIXME 169872: missing ondevicechange 37 Promise<sequence<MediaDeviceInfo>> enumerateDevices(); 38 35 39 MediaTrackSupportedConstraints getSupportedConstraints(); 36 37 40 [PrivateIdentifier, PublicIdentifier] Promise<MediaStream> getUserMedia(optional MediaStreamConstraints constraints); 38 Promise<sequence<MediaDeviceInfo>> enumerateDevices();39 41 }; 40 42 -
trunk/Source/WebCore/Modules/mediastream/MediaStream.idl
r204336 r214170 47 47 readonly attribute boolean active; 48 48 49 attribute EventHandler onactive;50 attribute EventHandler oninactive;51 49 attribute EventHandler onaddtrack; 52 50 attribute EventHandler onremovetrack; 51 52 // FIXME 169871: legacy or remove? 53 attribute EventHandler onactive; 54 // FIXME 169871: legacy or remove? 55 attribute EventHandler oninactive; 53 56 }; 54 57 -
trunk/Source/WebCore/Modules/mediastream/MediaStreamEvent.idl
r211006 r214170 23 23 */ 24 24 25 // FIXME 169871: legacy or remove 25 26 [ 26 27 Conditional=WEB_RTC, -
trunk/Source/WebCore/Modules/mediastream/MediaStreamTrack.idl
r214042 r214170 24 24 */ 25 25 26 // FIXME 169871: remove "new" 26 27 enum MediaStreamTrackState { "new", "live", "ended" }; 27 28 … … 41 42 attribute EventHandler onmute; 42 43 attribute EventHandler onunmute; 43 readonly attribute boolean _readonly;44 44 readonly attribute MediaStreamTrackState readyState; 45 45 attribute EventHandler onended; … … 48 48 [ImplementedAs=stopProducingData] void stop(); 49 49 50 MediaTrackCapabilities getCapabilities(); 50 51 MediaTrackConstraints getConstraints(); 51 52 MediaTrackSettings getSettings(); 52 MediaTrackCapabilities getCapabilities();53 53 Promise<void> applyConstraints(optional MediaTrackConstraints constraints); 54 54 55 55 attribute EventHandler onoverconstrained; 56 57 // FIXME 169871: legacy or remove? 58 readonly attribute boolean _readonly; 56 59 }; 57 60 … … 69 72 LongRange sampleSize; 70 73 sequence<boolean> echoCancellation; 71 // FIXME : add latency72 // FIXME : add channelCount74 // FIXME 169871: add latency 75 // FIXME 169871: add channelCount 73 76 DOMString deviceId; 74 77 DOMString groupId; … … 88 91 long sampleSize; 89 92 boolean echoCancellation; 90 // FIXME : add latency91 // FIXME : add channelCount93 // FIXME 169871: add latency 94 // FIXME 169871: add channelCount 92 95 DOMString deviceId; 93 96 DOMString groupId; -
trunk/Source/WebCore/Modules/mediastream/MediaStreamTrackEvent.idl
r207588 r214170 27 27 Constructor(DOMString type, MediaStreamTrackEventInit eventInitDict), 28 28 ] interface MediaStreamTrackEvent : Event { 29 // FIXME: missing [SameObject] 29 30 readonly attribute MediaStreamTrack track; 30 31 }; -
trunk/Source/WebCore/Modules/mediastream/MediaTrackConstraints.idl
r209959 r214170 44 44 ConstrainLong sampleSize; 45 45 ConstrainBoolean echoCancellation; 46 // FIXME : add latency47 // FIXME : add channelCount46 // FIXME 169871: add latency 47 // FIXME 169871: add channelCount 48 48 ConstrainDOMString deviceId; 49 49 ConstrainDOMString groupId; -
trunk/Source/WebCore/Modules/mediastream/MediaTrackSupportedConstraints.idl
r209959 r214170 42 42 boolean sampleSize = true; 43 43 boolean echoCancellation = true; 44 // FIXME 169871: add latency 45 // FIXME 169871: add channelCount 44 46 boolean deviceId = true; 45 47 boolean groupId = true; -
trunk/Source/WebCore/Modules/mediastream/NavigatorMediaDevices.idl
r211006 r214170 33 33 EnabledAtRuntime=MediaStream, 34 34 ] partial interface Navigator { 35 // FIXME: missing [SameObject] 35 36 readonly attribute MediaDevices mediaDevices; 36 37 }; -
trunk/Source/WebCore/Modules/mediastream/NavigatorUserMedia.idl
r212323 r214170 33 33 EnabledAtRuntime=MediaStream, 34 34 ] partial interface Navigator { 35 // FIXME 169871: wrap legacy setting 35 36 [JSBuiltin] void getUserMedia(MediaStreamConstraints constraints, NavigatorUserMediaSuccessCallback successCallback, NavigatorUserMediaErrorCallback errorCallback); 36 37 };
Note: See TracChangeset
for help on using the changeset viewer.