Changeset 213992 in webkit
- Timestamp:
- Mar 15, 2017, 11:15:31 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 8 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/CMakeLists.txt
r213671 r213992 234 234 Modules/mediastream/OverconstrainedError.idl 235 235 Modules/mediastream/OverconstrainedErrorEvent.idl 236 Modules/mediastream/RTCAnswerOptions.idl 236 237 Modules/mediastream/RTCConfiguration.idl 237 238 Modules/mediastream/RTCDTMFSender.idl … … 242 243 Modules/mediastream/RTCIceCandidateEvent.idl 243 244 Modules/mediastream/RTCIceServer.idl 245 Modules/mediastream/RTCOfferAnswerOptions.idl 246 Modules/mediastream/RTCOfferOptions.idl 244 247 Modules/mediastream/RTCPeerConnection.idl 245 248 Modules/mediastream/RTCRtpReceiver.idl 246 249 Modules/mediastream/RTCRtpSender.idl 247 250 Modules/mediastream/RTCRtpTransceiver.idl 251 Modules/mediastream/RTCRtpTransceiverDirection.idl 248 252 Modules/mediastream/RTCSessionDescription.idl 249 253 Modules/mediastream/RTCStatsReport.idl -
trunk/Source/WebCore/ChangeLog
r213990 r213992 1 2017-03-14 Jon Lee <jonlee@apple.com> 2 3 Clean up RTCPeerConnection IDL 4 https://bugs.webkit.org/show_bug.cgi?id=169660 5 6 Reviewed by Youenn Fablet. 7 8 * Modules/mediastream/RTCPeerConnection.cpp: 9 (WebCore::RTCPeerConnection::addTransceiver): Refactor to use RTCRtpTransceiverInit. 10 (WebCore::RTCPeerConnection::completeAddTransceiver): 11 * Modules/mediastream/RTCPeerConnection.h: Remove redundant definitions. 12 * Modules/mediastream/RTCPeerConnection.idl: Using 13 March 2017 Editor's Draft of 13 WebRTC spec. Move RTCOfferAnswerOptions out to separate IDLs. Keep RTCDataChannelInit and 14 RTCRtpTransceiverInit since they appear to be used only in RTCPeerConnection. 15 Reorder the properties, functions, and events based on their appearance in the spec. 16 Legacy MediaStream calls are placed at the end. I tried to use "partial interface" in the 17 same file, but in the end nothing was generated, so everything is contained in one interface 18 block. 19 20 * Modules/mediastream/RTCEnums.h: Added. This will be an all-in-one header to hold the 21 enums. 22 23 Move RTCAnswerOptions, RTCOfferAnswerOptions, RTCOfferOptions, RTCRtpTransceiverDirection 24 out to their own IDL's. 25 * CMakeLists.txt: 26 * DerivedSources.make: 27 * Modules/mediastream/RTCAnswerOptions.h: Added. 28 * Modules/mediastream/RTCAnswerOptions.idl: Added. 29 * Modules/mediastream/RTCOfferAnswerOptions.h: 30 * Modules/mediastream/RTCOfferAnswerOptions.idl: Added. 31 * Modules/mediastream/RTCOfferOptions.h: Added. Remove |offerToReceiveVideo| and 32 |offerToReceiveAudio|, which are not used. 33 * Modules/mediastream/RTCOfferOptions.idl: Added. 34 * Modules/mediastream/RTCRtpTransceiverDirection.h: Added. 35 * Modules/mediastream/RTCRtpTransceiverDirection.idl: Added. Use a typedef for 36 RTCRtpTransceiverDirection to prevent the code generator from prefixing RTCRtpTransceiver. 37 * Modules/mediastream/RTCRtpTransceiver.idl: Move RTCRtpTransceiverDirection. 38 * WebCore.xcodeproj/project.pbxproj: Add IDLs and derived sources. Remove unused 39 HTMLMediaElementMediaStream.h. Reorder. 40 41 Refactor. 42 * Modules/mediastream/RTCRtpTransceiver.h: Use RTCRtpTransceiverDirection. 43 * Modules/mediastream/MediaEndpointPeerConnection.cpp: 44 1 45 2017-03-15 Zan Dobersek <zdobersek@igalia.com> 2 46 -
trunk/Source/WebCore/DerivedSources.make
r213762 r213992 178 178 $(WebCore)/Modules/mediastream/OverconstrainedError.idl \ 179 179 $(WebCore)/Modules/mediastream/OverconstrainedErrorEvent.idl \ 180 $(WebCore)/Modules/mediastream/RTCAnswerOptions.idl \ 180 181 $(WebCore)/Modules/mediastream/RTCConfiguration.idl \ 181 182 $(WebCore)/Modules/mediastream/RTCDTMFSender.idl \ … … 186 187 $(WebCore)/Modules/mediastream/RTCIceCandidateEvent.idl \ 187 188 $(WebCore)/Modules/mediastream/RTCIceServer.idl \ 189 $(WebCore)/Modules/mediastream/RTCOfferAnswerOptions.idl \ 190 $(WebCore)/Modules/mediastream/RTCOfferOptions.idl \ 188 191 $(WebCore)/Modules/mediastream/RTCPeerConnection.idl \ 189 192 $(WebCore)/Modules/mediastream/RTCRtpReceiver.idl \ 190 193 $(WebCore)/Modules/mediastream/RTCRtpSender.idl \ 191 194 $(WebCore)/Modules/mediastream/RTCRtpTransceiver.idl \ 195 $(WebCore)/Modules/mediastream/RTCRtpTransceiverDirection.idl \ 192 196 $(WebCore)/Modules/mediastream/RTCSessionDescription.idl \ 193 197 $(WebCore)/Modules/mediastream/RTCStatsReport.idl \ -
trunk/Source/WebCore/Modules/mediastream/MediaEndpointPeerConnection.cpp
r213736 r213992 43 43 #include "NotImplemented.h" 44 44 #include "PeerMediaDescription.h" 45 #include "RTCAnswerOptions.h" 45 46 #include "RTCConfiguration.h" 46 47 #include "RTCIceCandidate.h" 47 48 #include "RTCIceCandidateEvent.h" 48 #include "RTCOffer AnswerOptions.h"49 #include "RTCOfferOptions.h" 49 50 #include "RTCPeerConnection.h" 50 51 #include "RTCRtpTransceiver.h" -
trunk/Source/WebCore/Modules/mediastream/RTCOfferAnswerOptions.h
r208141 r213992 35 35 }; 36 36 37 struct RTCOfferOptions : RTCOfferAnswerOptions {38 int64_t offerToReceiveVideo { 0 };39 int64_t offerToReceiveAudio { 0 };40 bool iceRestart { false };41 };42 43 struct RTCAnswerOptions : RTCOfferAnswerOptions {44 };45 46 37 } // namespace WebCore 47 38 -
trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp
r213982 r213992 3 3 * Copyright (C) 2013 Nokia Corporation and/or its subsidiary(-ies). 4 4 * Copyright (C) 2015, 2016 Ericsson AB. All rights reserved. 5 * Copyright (C) 2017 Apple Inc. All rights reserved. 5 6 * 6 7 * Redistribution and use in source and binary forms, with or without … … 49 50 #include "RTCIceCandidate.h" 50 51 #include "RTCIceCandidateEvent.h" 51 #include "RTCOfferAnswerOptions.h"52 52 #include "RTCSessionDescription.h" 53 53 #include "RTCTrackEvent.h" … … 173 173 } 174 174 175 ExceptionOr<Ref<RTCRtpTransceiver>> RTCPeerConnection::addTransceiver(Ref<MediaStreamTrack>&& track, const R tpTransceiverInit& init)175 ExceptionOr<Ref<RTCRtpTransceiver>> RTCPeerConnection::addTransceiver(Ref<MediaStreamTrack>&& track, const RTCRtpTransceiverInit& init) 176 176 { 177 177 if (m_signalingState == SignalingState::Closed) … … 191 191 } 192 192 193 ExceptionOr<Ref<RTCRtpTransceiver>> RTCPeerConnection::addTransceiver(const String& kind, const R tpTransceiverInit& init)193 ExceptionOr<Ref<RTCRtpTransceiver>> RTCPeerConnection::addTransceiver(const String& kind, const RTCRtpTransceiverInit& init) 194 194 { 195 195 if (m_signalingState == SignalingState::Closed) … … 211 211 } 212 212 213 void RTCPeerConnection::completeAddTransceiver(RTCRtpTransceiver& transceiver, const R tpTransceiverInit& init)213 void RTCPeerConnection::completeAddTransceiver(RTCRtpTransceiver& transceiver, const RTCRtpTransceiverInit& init) 214 214 { 215 215 transceiver.setDirection(static_cast<RTCRtpTransceiver::Direction>(init.direction)); -
trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.h
r213736 r213992 3 3 * Copyright (C) 2013 Nokia Corporation and/or its subsidiary(-ies). 4 4 * Copyright (C) 2015 Ericsson AB. All rights reserved. 5 * Copyright (C) 2017 Apple Inc. All rights reserved. 5 6 * 6 7 * Redistribution and use in source and binary forms, with or without … … 38 39 #include "EventTarget.h" 39 40 #include "MediaStream.h" 41 #include "RTCAnswerOptions.h" 40 42 #include "RTCConfiguration.h" 41 43 #include "RTCDataChannel.h" 42 #include "RTCOfferAnswerOptions.h" 44 #include "RTCEnums.h" 45 #include "RTCOfferOptions.h" 43 46 #include "RTCRtpTransceiver.h" 44 47 … … 52 55 class RTCSessionDescription; 53 56 class RTCStatsCallback; 57 58 struct RTCRtpTransceiverInit { 59 RTCRtpTransceiverDirection direction; 60 }; 54 61 55 62 class RTCPeerConnection final : public RefCounted<RTCPeerConnection>, public RTCRtpSenderClient, public EventTargetWithInlineData, public ActiveDOMObject { … … 75 82 ExceptionOr<void> removeTrack(RTCRtpSender&); 76 83 77 // This enum is mirrored in RTCRtpTransceiver.h 78 enum class RtpTransceiverDirection { Sendrecv, Sendonly, Recvonly, Inactive }; 79 80 struct RtpTransceiverInit { 81 RtpTransceiverDirection direction; 82 }; 83 84 ExceptionOr<Ref<RTCRtpTransceiver>> addTransceiver(Ref<MediaStreamTrack>&&, const RtpTransceiverInit&); 85 ExceptionOr<Ref<RTCRtpTransceiver>> addTransceiver(const String& kind, const RtpTransceiverInit&); 84 ExceptionOr<Ref<RTCRtpTransceiver>> addTransceiver(Ref<MediaStreamTrack>&&, const RTCRtpTransceiverInit&); 85 ExceptionOr<Ref<RTCRtpTransceiver>> addTransceiver(const String& kind, const RTCRtpTransceiverInit&); 86 86 87 87 void queuedCreateOffer(RTCOfferOptions&&, PeerConnection::SessionDescriptionPromise&&); … … 144 144 RTCPeerConnection(ScriptExecutionContext&); 145 145 146 void completeAddTransceiver(RTCRtpTransceiver&, const R tpTransceiverInit&);146 void completeAddTransceiver(RTCRtpTransceiver&, const RTCRtpTransceiverInit&); 147 147 148 148 RTCController& rtcController(); -
trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.idl
r211404 r213992 3 3 * Copyright (C) 2013 Nokia Corporation and/or its subsidiary(-ies). 4 4 * Copyright (C) 2015, 2016 Ericsson AB. All rights reserved. 5 * Copyright (C) 2017 Apple Inc. All rights reserved. 5 6 * 6 7 * Redistribution and use in source and binary forms, with or without … … 31 32 */ 32 33 33 dictionary RTCOfferAnswerOptions { 34 boolean voiceActivityDetection = true; 35 }; 36 37 dictionary RTCOfferOptions : RTCOfferAnswerOptions { 38 boolean iceRestart = false; 39 }; 40 41 dictionary RTCAnswerOptions : RTCOfferAnswerOptions { 42 }; 43 44 dictionary RTCDataChannelInit { 34 [ 35 Conditional=WEB_RTC, 36 EnabledAtRuntime=PeerConnection 37 ] dictionary RTCDataChannelInit { 45 38 boolean ordered = true; 39 // FIXME 169644: rename to maxPacketLifeTime; 46 40 unsigned short maxRetransmitTime; 47 41 unsigned short maxRetransmits; … … 49 43 boolean negotiated = false; 50 44 unsigned short id; 45 // FIXME 169644: missing priority 46 }; 47 48 [ 49 Conditional=WEB_RTC, 50 EnabledAtRuntime=PeerConnection, 51 ImplementedAs=RTCRtpTransceiverInit 52 ] dictionary RTCRtpTransceiverInit { 53 RTCRtpTransceiverDirection direction = "sendrecv"; 51 54 }; 52 55 … … 57 60 EnabledAtRuntime=PeerConnection, 58 61 ExportMacro=WEBCORE_EXPORT, 59 JSBuiltinConstructor ,62 JSBuiltinConstructor 60 63 ] interface RTCPeerConnection : EventTarget { 64 // FIXME 169644: update Constructor to take optional RTCConfiguration 61 65 // Private initializer 62 66 [PrivateIdentifier, CallWith=Document, MayThrowException] void initializeWith(RTCConfiguration configuration); 63 67 68 69 // 4.3.2 Interface Definition 70 // JSBuiltins provide support for legacy signatures 71 [JSBuiltin] Promise<RTCSessionDescriptionInit> createOffer(optional RTCOfferOptions offerOptions); 72 [JSBuiltin] Promise<RTCSessionDescriptionInit> createAnswer(optional RTCAnswerOptions answerOptions); 73 74 // FIXME 169644: change to RTCSessionDescriptionInit 75 [JSBuiltin] Promise<void> setLocalDescription(RTCSessionDescription description); 76 // FIXME 169644: change to nullable 77 readonly attribute RTCSessionDescription localDescription; 78 // FIXME 169644: change to nullable 79 readonly attribute RTCSessionDescription currentLocalDescription; 80 // FIXME 169644: change to nullable 81 readonly attribute RTCSessionDescription pendingLocalDescription; 82 83 // FIXME 169644: change to RTCSessionDescriptionInit 84 [JSBuiltin] Promise<void> setRemoteDescription(RTCSessionDescription description); 85 // FIXME 169644: change to nullable 86 readonly attribute RTCSessionDescription remoteDescription; 87 // FIXME 169644: change to nullable 88 readonly attribute RTCSessionDescription currentRemoteDescription; 89 // FIXME 169644: change to nullable 90 readonly attribute RTCSessionDescription pendingRemoteDescription; 91 92 // FIXME 169644: update parameter to (RTCIceCandidateInit or RTCIceCandidate) 93 [JSBuiltin] Promise<void> addIceCandidate(RTCIceCandidate candidate); 94 95 // FIXME 169644: convert to enum 96 readonly attribute DOMString signalingState; 97 // FIXME 169644: convert to enum 98 readonly attribute DOMString iceGatheringState; 99 // FIXME 169644: convert to enum 100 readonly attribute DOMString iceConnectionState; 101 102 // FIXME 169644: missing connectionState 103 // FIXME 169644: missing canTrickleIceCandidates 104 // FIXME 169644: missing defaultIceServers 105 106 RTCConfiguration getConfiguration(); 107 [MayThrowException] void setConfiguration(RTCConfiguration configuration); 108 void close(); 109 110 attribute EventHandler onnegotiationneeded; 111 attribute EventHandler onicecandidate; 112 // FIXME 169644: missing onicecandidateerror 113 attribute EventHandler onsignalingstatechange; 114 attribute EventHandler oniceconnectionstatechange; 115 attribute EventHandler onicegatheringstatechange; 116 // FIXME 169644: missing onconnectionstatechanged 117 // FIXME 169644: missing onfingerprintfailure 118 119 // Private API used to implement the overloaded operations above. Queued functions are called by runQueuedOperation(). 120 // See RTCPeerConnectionInternals.js. 121 [PrivateIdentifier] Promise<RTCSessionDescriptionInit> queuedCreateOffer(optional RTCOfferOptions offerOptions); 122 [PrivateIdentifier] Promise<RTCSessionDescriptionInit> queuedCreateAnswer(optional RTCAnswerOptions answerOptions); 123 [PrivateIdentifier] Promise<void> queuedSetLocalDescription(RTCSessionDescription description); 124 [PrivateIdentifier] Promise<void> queuedSetRemoteDescription(RTCSessionDescription description); 125 [PrivateIdentifier] Promise<void> queuedAddIceCandidate(RTCIceCandidate candidate); 126 127 128 // 4.3.3.1 Legacy extensions supported 129 // JSBuiltin attributes above handles support of the extensions 130 // FIXME 169646: wrap legacy calls in runtime flag 131 132 133 // 4.11 Certificate management 134 // FIXME 169644: missing generateCertificate 135 136 137 // 5.1 RTCPeerConnection extensions 64 138 // RTP Media API extensions 65 139 [PrivateIdentifier, PublicIdentifier] sequence<RTCRtpSender> getSenders(); … … 70 144 [PrivateIdentifier, PublicIdentifier, MayThrowException] void removeTrack(RTCRtpSender sender); 71 145 146 // FIXME 169644: convert to (MediaStreamTrack or DOMString) 72 147 [MayThrowException] RTCRtpTransceiver addTransceiver(MediaStreamTrack track, optional RTCRtpTransceiverInit init); 73 148 [MayThrowException] RTCRtpTransceiver addTransceiver(DOMString kind, optional RTCRtpTransceiverInit init); 74 149 75 // Legacy MediaSream-based API (implemented on top of the RTP Media API) 150 attribute EventHandler ontrack; 151 152 153 // 6.1 Peer-to-peer data API 154 // FIXME 169644: missing sctp 155 156 // FIXME 169644: convert to USVString 157 [CallWith=ScriptExecutionContext, MayThrowException] RTCDataChannel createDataChannel([TreatNullAs=EmptyString] DOMString label, optional RTCDataChannelInit options); 158 attribute EventHandler ondatachannel; 159 160 161 // 8.2 Statistics API 162 // FIXME 169644: |selector| may go away in a future version of the spec 163 Promise<RTCStatsReport> getStats(optional MediaStreamTrack? selector = null); 164 165 166 // 9.6 Identity Provider API 167 // FIXME 169644: missing IdP 168 169 170 // Legacy MediaStream API 171 // FIXME 169646: wrap this in runtime flag 76 172 [JSBuiltin] sequence<MediaStream> getLocalStreams(); 77 173 [PrivateIdentifier, PublicIdentifier] sequence<MediaStream> getRemoteStreams(); … … 81 177 [JSBuiltin] void removeStream(MediaStream stream); 82 178 83 [JSBuiltin] Promise<RTCSessionDescriptionInit> createOffer(optional RTCOfferOptions offerOptions);84 // Legacy signature: Promise<void> createOffer(RTCSessionDescriptionCallback successCallback85 // RTCPeerConnectionErrorCallback errorCallback,86 // optional Dictionary offerOptions);87 88 [JSBuiltin] Promise<RTCSessionDescriptionInit> createAnswer(optional RTCAnswerOptions answerOptions);89 // Legacy signature: Promise<void> createAnswer(RTCSessionDescriptionCallback successCallback90 // RTCPeerConnectionErrorCallback errorCallback,91 // optional Dictionary answerOptions);92 93 [JSBuiltin] Promise<void> setLocalDescription(RTCSessionDescription description);94 // Legacy signature: Promise<void> setLocalDescription(RTCSessionDescription description95 // VoidCallback successCallback,96 // RTCPeerConnectionErrorCallback errorCallback);97 98 readonly attribute RTCSessionDescription localDescription;99 readonly attribute RTCSessionDescription currentLocalDescription;100 readonly attribute RTCSessionDescription pendingLocalDescription;101 102 [JSBuiltin] Promise<void> setRemoteDescription(RTCSessionDescription description);103 // Legacy signature: Promise<void> setRemoteDescription(RTCSessionDescription description104 // VoidCallback successCallback,105 // RTCPeerConnectionErrorCallback errorCallback);106 107 readonly attribute RTCSessionDescription remoteDescription;108 readonly attribute RTCSessionDescription currentRemoteDescription;109 readonly attribute RTCSessionDescription pendingRemoteDescription;110 111 readonly attribute DOMString signalingState;112 113 [JSBuiltin] Promise<void> addIceCandidate(RTCIceCandidate candidate);114 // Legacy signature: Promise<void> addIceCandidate(RTCIceCandidate candidate115 // VoidCallback successCallback,116 // RTCPeerConnectionErrorCallback errorCallback);117 118 readonly attribute DOMString iceGatheringState;119 readonly attribute DOMString iceConnectionState;120 121 RTCConfiguration getConfiguration();122 [MayThrowException] void setConfiguration(RTCConfiguration configuration);123 124 Promise<RTCStatsReport> getStats(optional MediaStreamTrack? selector = null);125 126 // Private API used to implement the overloaded operations above. Queued functions are called by127 // runQueuedOperation() (defined in RTCPeerConnectionInternals.js).128 [PrivateIdentifier] Promise<RTCSessionDescriptionInit> queuedCreateOffer(optional RTCOfferOptions offerOptions);129 [PrivateIdentifier] Promise<RTCSessionDescriptionInit> queuedCreateAnswer(optional RTCAnswerOptions answerOptions);130 [PrivateIdentifier] Promise<void> queuedSetLocalDescription(RTCSessionDescription description);131 [PrivateIdentifier] Promise<void> queuedSetRemoteDescription(RTCSessionDescription description);132 [PrivateIdentifier] Promise<void> queuedAddIceCandidate(RTCIceCandidate candidate);133 134 [CallWith=ScriptExecutionContext, MayThrowException] RTCDataChannel createDataChannel([TreatNullAs=EmptyString] DOMString label, optional RTCDataChannelInit options);135 136 void close();137 138 attribute EventHandler onnegotiationneeded;139 attribute EventHandler onicecandidate;140 attribute EventHandler onsignalingstatechange;141 attribute EventHandler ontrack;142 attribute EventHandler oniceconnectionstatechange;143 attribute EventHandler onicegatheringstatechange;144 attribute EventHandler ondatachannel;145 146 179 // Legacy event handler (MediaStream-based API) 147 180 attribute EventHandler onaddstream; 148 181 }; 149 150 // This enum is mirrored in RTCRtpTransceiver.idl151 enum RTCRtpTransceiverDirection { "sendrecv", "sendonly", "recvonly", "inactive" };152 153 dictionary RTCRtpTransceiverInit {154 RTCRtpTransceiverDirection direction = "sendrecv";155 }; -
trunk/Source/WebCore/Modules/mediastream/RTCRtpTransceiver.h
r208683 r213992 33 33 #if ENABLE(WEB_RTC) 34 34 35 #include "RTCEnums.h" 35 36 #include "RTCIceTransport.h" 36 37 #include "RTCRtpReceiver.h" … … 46 47 public: 47 48 // This enum is mirrored in RTCPeerConnection.h 48 enum class Direction { Sendrecv, Sendonly, Recvonly, Inactive };49 using Direction = RTCRtpTransceiverDirection; 49 50 50 51 static Ref<RTCRtpTransceiver> create(Ref<RTCRtpSender>&& sender, Ref<RTCRtpReceiver>&& receiver) { return adoptRef(*new RTCRtpTransceiver(WTFMove(sender), WTFMove(receiver))); } -
trunk/Source/WebCore/Modules/mediastream/RTCRtpTransceiver.idl
r211006 r213992 1 1 /* 2 2 * Copyright (C) 2016 Ericsson AB. All rights reserved. 3 * Copyright (C) 2017 Apple Inc. All rights reserved. 3 4 * 4 5 * Redistribution and use in source and binary forms, with or without … … 29 30 */ 30 31 32 typedef RTCRtpTransceiverDirection RtpTransceiverDirection; 33 31 34 [ 32 35 Conditional=WEB_RTC, 33 EnabledAtRuntime=PeerConnection ,36 EnabledAtRuntime=PeerConnection 34 37 ] interface RTCRtpTransceiver { 35 38 readonly attribute DOMString? mid; … … 37 40 readonly attribute RTCRtpReceiver receiver; 38 41 readonly attribute boolean stopped; 39 readonly attribute R TCRtpTransceiverDirection direction;42 readonly attribute RtpTransceiverDirection direction; 40 43 41 void setDirection(R TCRtpTransceiverDirection direction);44 void setDirection(RtpTransceiverDirection direction); 42 45 void stop(); 43 46 }; 44 45 // This enum is mirrored in RTCPeerConnection.idl46 enum RTCRtpTransceiverDirection { "sendrecv", "sendonly", "recvonly", "inactive" }; -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r213985 r213992 166 166 077664FC183E6B5C00133B92 /* JSQuickTimePluginReplacement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 077664FA183E6B5C00133B92 /* JSQuickTimePluginReplacement.cpp */; }; 167 167 077664FD183E6B5C00133B92 /* JSQuickTimePluginReplacement.h in Headers */ = {isa = PBXBuildFile; fileRef = 077664FB183E6B5C00133B92 /* JSQuickTimePluginReplacement.h */; }; 168 0779BF0E18453168000B6AE7 /* HTMLMediaElementMediaStream.h in Headers */ = {isa = PBXBuildFile; fileRef = 0779BF0B18453168000B6AE7 /* HTMLMediaElementMediaStream.h */; };169 168 077AF14018F4AE400001ED61 /* SerializedPlatformRepresentation.h in Headers */ = {isa = PBXBuildFile; fileRef = 077AF13E18F4AE400001ED61 /* SerializedPlatformRepresentation.h */; settings = {ATTRIBUTES = (Private, ); }; }; 170 169 077AF14318F4B1BB0001ED61 /* SerializedPlatformRepresentationMac.h in Headers */ = {isa = PBXBuildFile; fileRef = 077AF14118F4B1BB0001ED61 /* SerializedPlatformRepresentationMac.h */; }; … … 1421 1420 316BDC0C1E7634CF00DE0D5A /* GPURenderPipelineColorAttachmentDescriptor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 316BDC081E76342700DE0D5A /* GPURenderPipelineColorAttachmentDescriptor.cpp */; }; 1422 1421 316BDC0D1E7634D200DE0D5A /* GPURenderPipelineColorAttachmentDescriptor.h in Headers */ = {isa = PBXBuildFile; fileRef = 316BDC091E76342700DE0D5A /* GPURenderPipelineColorAttachmentDescriptor.h */; settings = {ATTRIBUTES = (Private, ); }; }; 1422 316DCB1F1E78CA55001B5F87 /* JSRTCOfferAnswerOptions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 316DCB191E78CA55001B5F87 /* JSRTCOfferAnswerOptions.cpp */; }; 1423 316DCB201E78CA55001B5F87 /* JSRTCOfferAnswerOptions.h in Headers */ = {isa = PBXBuildFile; fileRef = 316DCB1A1E78CA55001B5F87 /* JSRTCOfferAnswerOptions.h */; }; 1424 316DCB211E78CA55001B5F87 /* JSRTCRtpTransceiverDirection.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 316DCB1B1E78CA55001B5F87 /* JSRTCRtpTransceiverDirection.cpp */; }; 1425 316DCB221E78CA55001B5F87 /* JSRTCRtpTransceiverDirection.h in Headers */ = {isa = PBXBuildFile; fileRef = 316DCB1C1E78CA55001B5F87 /* JSRTCRtpTransceiverDirection.h */; }; 1426 316DCB311E78FB6C001B5F87 /* JSRTCAnswerOptions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 316DCB2D1E78F496001B5F87 /* JSRTCAnswerOptions.cpp */; }; 1427 316DCB321E78FB70001B5F87 /* JSRTCOfferOptions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 316DCB2F1E78F496001B5F87 /* JSRTCOfferOptions.cpp */; }; 1423 1428 316FE0710E6CCBEE00BF6088 /* JSCSSKeyframeRule.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 316FE06D0E6CCBEE00BF6088 /* JSCSSKeyframeRule.cpp */; }; 1424 1429 316FE0720E6CCBEE00BF6088 /* JSCSSKeyframeRule.h in Headers */ = {isa = PBXBuildFile; fileRef = 316FE06E0E6CCBEE00BF6088 /* JSCSSKeyframeRule.h */; }; … … 7494 7499 077664FA183E6B5C00133B92 /* JSQuickTimePluginReplacement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSQuickTimePluginReplacement.cpp; sourceTree = "<group>"; }; 7495 7500 077664FB183E6B5C00133B92 /* JSQuickTimePluginReplacement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSQuickTimePluginReplacement.h; sourceTree = "<group>"; }; 7496 0779BF0B18453168000B6AE7 /* HTMLMediaElementMediaStream.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HTMLMediaElementMediaStream.h; sourceTree = "<group>"; };7497 0779BF0C18453168000B6AE7 /* HTMLMediaElementMediaStream.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLMediaElementMediaStream.idl; sourceTree = "<group>"; };7498 7501 077AF13E18F4AE400001ED61 /* SerializedPlatformRepresentation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SerializedPlatformRepresentation.h; sourceTree = "<group>"; }; 7499 7502 077AF14118F4B1BB0001ED61 /* SerializedPlatformRepresentationMac.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SerializedPlatformRepresentationMac.h; sourceTree = "<group>"; }; … … 8897 8900 316BDC091E76342700DE0D5A /* GPURenderPipelineColorAttachmentDescriptor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GPURenderPipelineColorAttachmentDescriptor.h; sourceTree = "<group>"; }; 8898 8901 316BDC0A1E76343600DE0D5A /* GPURenderPipelineColorAttachmentDescriptorMetal.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = GPURenderPipelineColorAttachmentDescriptorMetal.mm; sourceTree = "<group>"; }; 8902 316DCB121E78BE43001B5F87 /* RTCOfferAnswerOptions.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = RTCOfferAnswerOptions.idl; sourceTree = "<group>"; }; 8903 316DCB161E78C330001B5F87 /* RTCRtpTransceiverDirection.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RTCRtpTransceiverDirection.h; sourceTree = "<group>"; }; 8904 316DCB171E78C330001B5F87 /* RTCRtpTransceiverDirection.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = RTCRtpTransceiverDirection.idl; sourceTree = "<group>"; }; 8905 316DCB181E78C453001B5F87 /* RTCEnums.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RTCEnums.h; sourceTree = "<group>"; }; 8906 316DCB191E78CA55001B5F87 /* JSRTCOfferAnswerOptions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSRTCOfferAnswerOptions.cpp; sourceTree = "<group>"; }; 8907 316DCB1A1E78CA55001B5F87 /* JSRTCOfferAnswerOptions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSRTCOfferAnswerOptions.h; sourceTree = "<group>"; }; 8908 316DCB1B1E78CA55001B5F87 /* JSRTCRtpTransceiverDirection.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSRTCRtpTransceiverDirection.cpp; sourceTree = "<group>"; }; 8909 316DCB1C1E78CA55001B5F87 /* JSRTCRtpTransceiverDirection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSRTCRtpTransceiverDirection.h; sourceTree = "<group>"; }; 8910 316DCB281E78F395001B5F87 /* RTCOfferOptions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RTCOfferOptions.h; sourceTree = "<group>"; }; 8911 316DCB291E78F395001B5F87 /* RTCOfferOptions.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = RTCOfferOptions.idl; sourceTree = "<group>"; }; 8912 316DCB2B1E78F3A9001B5F87 /* RTCAnswerOptions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RTCAnswerOptions.h; sourceTree = "<group>"; }; 8913 316DCB2C1E78F3A9001B5F87 /* RTCAnswerOptions.idl */ = {isa = PBXFileReference; lastKnownFileType = text; path = RTCAnswerOptions.idl; sourceTree = "<group>"; }; 8914 316DCB2D1E78F496001B5F87 /* JSRTCAnswerOptions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSRTCAnswerOptions.cpp; sourceTree = "<group>"; }; 8915 316DCB2E1E78F496001B5F87 /* JSRTCAnswerOptions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSRTCAnswerOptions.h; sourceTree = "<group>"; }; 8916 316DCB2F1E78F496001B5F87 /* JSRTCOfferOptions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSRTCOfferOptions.cpp; sourceTree = "<group>"; }; 8917 316DCB301E78F496001B5F87 /* JSRTCOfferOptions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSRTCOfferOptions.h; sourceTree = "<group>"; }; 8899 8918 316FE06D0E6CCBEE00BF6088 /* JSCSSKeyframeRule.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSCSSKeyframeRule.cpp; sourceTree = "<group>"; }; 8900 8919 316FE06E0E6CCBEE00BF6088 /* JSCSSKeyframeRule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSCSSKeyframeRule.h; sourceTree = "<group>"; }; … … 15790 15809 93A806111E03B51C008A1F26 /* DoubleRange.h */, 15791 15810 93A806121E03B51C008A1F26 /* DoubleRange.idl */, 15792 0779BF0B18453168000B6AE7 /* HTMLMediaElementMediaStream.h */,15793 0779BF0C18453168000B6AE7 /* HTMLMediaElementMediaStream.idl */,15794 15811 93A806131E03B51C008A1F26 /* LongRange.h */, 15795 15812 93A806141E03B51C008A1F26 /* LongRange.idl */, … … 15840 15857 41E408381DCB747900EFCE19 /* PeerConnectionBackend.cpp */, 15841 15858 5E2C434D1BCEE2E50001E2BC /* PeerConnectionBackend.h */, 15859 316DCB2B1E78F3A9001B5F87 /* RTCAnswerOptions.h */, 15860 316DCB2C1E78F3A9001B5F87 /* RTCAnswerOptions.idl */, 15842 15861 07AB996518DA3C010018771E /* RTCConfiguration.h */, 15843 15862 07AB996618DA3C010018771E /* RTCConfiguration.idl */, … … 15856 15875 07221B6D17CEC32700848E51 /* RTCDTMFToneChangeEvent.h */, 15857 15876 07221B6E17CEC32700848E51 /* RTCDTMFToneChangeEvent.idl */, 15877 316DCB181E78C453001B5F87 /* RTCEnums.h */, 15858 15878 07221B7117CEC32700848E51 /* RTCIceCandidate.cpp */, 15859 15879 07221B7217CEC32700848E51 /* RTCIceCandidate.h */, … … 15866 15886 5E6653091DA437BF00FDD84C /* RTCIceTransport.h */, 15867 15887 073794DC19EE2C5200E5A045 /* RTCOfferAnswerOptions.h */, 15888 316DCB121E78BE43001B5F87 /* RTCOfferAnswerOptions.idl */, 15889 316DCB281E78F395001B5F87 /* RTCOfferOptions.h */, 15890 316DCB291E78F395001B5F87 /* RTCOfferOptions.idl */, 15868 15891 07221B7717CEC32700848E51 /* RTCPeerConnection.cpp */, 15869 15892 07221B7817CEC32700848E51 /* RTCPeerConnection.h */, … … 15881 15904 5E5E2B111CFC3E4B000C0D85 /* RTCRtpTransceiver.h */, 15882 15905 5E5E2B121CFC3E4B000C0D85 /* RTCRtpTransceiver.idl */, 15906 316DCB161E78C330001B5F87 /* RTCRtpTransceiverDirection.h */, 15907 316DCB171E78C330001B5F87 /* RTCRtpTransceiverDirection.idl */, 15883 15908 07221B7A17CEC32700848E51 /* RTCSessionDescription.cpp */, 15884 15909 07221B7B17CEC32700848E51 /* RTCSessionDescription.h */, … … 16063 16088 0704A4131D6F39FB0086DCDB /* JSOverconstrainedErrorEvent.cpp */, 16064 16089 0704A4141D6F39FB0086DCDB /* JSOverconstrainedErrorEvent.h */, 16090 316DCB2D1E78F496001B5F87 /* JSRTCAnswerOptions.cpp */, 16091 316DCB2E1E78F496001B5F87 /* JSRTCAnswerOptions.h */, 16065 16092 073794E319EE2FF200E5A045 /* JSRTCConfiguration.cpp */, 16066 16093 073794E419EE2FF200E5A045 /* JSRTCConfiguration.h */, … … 16079 16106 073794E919EE341E00E5A045 /* JSRTCIceServer.cpp */, 16080 16107 073794EA19EE341E00E5A045 /* JSRTCIceServer.h */, 16108 316DCB191E78CA55001B5F87 /* JSRTCOfferAnswerOptions.cpp */, 16109 316DCB1A1E78CA55001B5F87 /* JSRTCOfferAnswerOptions.h */, 16110 316DCB2F1E78F496001B5F87 /* JSRTCOfferOptions.cpp */, 16111 316DCB301E78F496001B5F87 /* JSRTCOfferOptions.h */, 16081 16112 07969D9F17D14151007FF842 /* JSRTCPeerConnection.cpp */, 16082 16113 07969DA017D14151007FF842 /* JSRTCPeerConnection.h */, … … 16087 16118 5E2C436D1BCF0D690001E2BD /* JSRTCRtpTransceiver.cpp */, 16088 16119 5E2C436E1BCF0D690001E2BD /* JSRTCRtpTransceiver.h */, 16120 316DCB1B1E78CA55001B5F87 /* JSRTCRtpTransceiverDirection.cpp */, 16121 316DCB1C1E78CA55001B5F87 /* JSRTCRtpTransceiverDirection.h */, 16089 16122 07969DA117D14151007FF842 /* JSRTCSessionDescription.cpp */, 16090 16123 07969DA217D14151007FF842 /* JSRTCSessionDescription.h */, … … 27047 27080 CD5209E61B0BD9E10077184E /* HTMLMediaElementEnums.h in Headers */, 27048 27081 C937FE8D1B1F6821008ECC5D /* HTMLMediaElementMediaSession.h in Headers */, 27049 0779BF0E18453168000B6AE7 /* HTMLMediaElementMediaStream.h in Headers */,27050 27082 A8EA79F40A1916DF00A8EF5F /* HTMLMenuElement.h in Headers */, 27051 27083 2BE8E2C712A589EC00FAD550 /* HTMLMetaCharsetParser.h in Headers */, … … 27145 27177 5185FC911BB4C4E80012898F /* IDBIndex.h in Headers */, 27146 27178 51F798F01BE880E7008AE491 /* IDBIndexInfo.h in Headers */, 27179 316DCB201E78CA55001B5F87 /* JSRTCOfferAnswerOptions.h in Headers */, 27147 27180 51E269371DD3BD9B006B6A58 /* IDBIterateCursorData.h in Headers */, 27148 27181 5185FC951BB4C4E80012898F /* IDBKey.h in Headers */, … … 27334 27367 FDA15EA412B03EE1003A583A /* JSChannelSplitterNode.h in Headers */, 27335 27368 65DF31F409D1CC60000BE325 /* JSCharacterData.h in Headers */, 27369 316DCB221E78CA55001B5F87 /* JSRTCRtpTransceiverDirection.h in Headers */, 27336 27370 BCC065880F3CE2A700CD2D87 /* JSClientRect.h in Headers */, 27337 27371 BCC0658A0F3CE2A700CD2D87 /* JSClientRectList.h in Headers */, … … 30505 30539 9418278E1D8CAF9200492764 /* CSSPendingSubstitutionValue.cpp in Sources */, 30506 30540 977B3862122883E900B81FF8 /* CSSPreloadScanner.cpp in Sources */, 30541 316DCB1F1E78CA55001B5F87 /* JSRTCOfferAnswerOptions.cpp in Sources */, 30507 30542 A80E6D050A1989CA007FB8C5 /* CSSPrimitiveValue.cpp in Sources */, 30508 30543 A80E6CF70A1989CA007FB8C5 /* CSSProperty.cpp in Sources */, … … 30847 30882 1432E8490C51493F00B1500F /* GCController.cpp in Sources */, 30848 30883 4FB390AD15EF61F3007AD51F /* GeneratedImage.cpp in Sources */, 30884 316DCB211E78CA55001B5F87 /* JSRTCRtpTransceiverDirection.cpp in Sources */, 30849 30885 830030F51B7D33B500ED3AAC /* GenericCachedHTMLCollection.cpp in Sources */, 30850 30886 0720B0A014D3323500642955 /* GenericEventQueue.cpp in Sources */, … … 31624 31660 CB38FD511CCF938900592A3F /* JSPerformanceEntry.cpp in Sources */, 31625 31661 CB38FD571CD21E2A00592A3F /* JSPerformanceEntryCustom.cpp in Sources */, 31662 316DCB311E78FB6C001B5F87 /* JSRTCAnswerOptions.cpp in Sources */, 31626 31663 A58C59D01E382EAC0047859C /* JSPerformanceMark.cpp in Sources */, 31627 31664 A58C59D21E382EB00047859C /* JSPerformanceMeasure.cpp in Sources */, … … 31999 32036 E18772F1126E2629003DD586 /* Language.cpp in Sources */, 32000 32037 2917B5611473496C0052C9D0 /* LayerFlushScheduler.cpp in Sources */, 32038 316DCB321E78FB70001B5F87 /* JSRTCOfferOptions.cpp in Sources */, 32001 32039 2917B566147349950052C9D0 /* LayerFlushSchedulerMac.cpp in Sources */, 32002 32040 7AA3A69F194B59B6001CBD24 /* LayerPool.cpp in Sources */,
Note:
See TracChangeset
for help on using the changeset viewer.