Changeset 202378 in webkit
- Timestamp:
- Jun 23, 2016 8:10:46 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r202376 r202378 1 2016-06-23 Adam Bergkvist <adam.bergkvist@ericsson.com> 2 3 WebRTC: Align 'update ICE connection/gathering state' steps with the WebRTC 1.0 specification 4 https://bugs.webkit.org/show_bug.cgi?id=159054 5 6 Reviewed by Eric Carlson. 7 8 Add checks for same state and closed RTCPeerConnection in the 'update ICE connection state' 9 and 'update ICE gathering state' routines as described in [1]. 10 11 [1] https://w3c.github.io/webrtc-pc/archives/20160513/webrtc.html#update-ice-gathering-state 12 13 No change in current behavior. 14 15 * Modules/mediastream/RTCPeerConnection.cpp: 16 (WebCore::RTCPeerConnection::updateIceGatheringState): 17 (WebCore::RTCPeerConnection::updateIceConnectionState): 18 1 19 2016-06-23 Adam Bergkvist <adam.bergkvist@ericsson.com> 2 20 -
trunk/Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp
r202339 r202378 458 458 { 459 459 scriptExecutionContext()->postTask([=](ScriptExecutionContext&) { 460 if (m_signalingState == SignalingState::Closed || m_iceGatheringState == newState) 461 return; 462 460 463 m_iceGatheringState = newState; 461 462 464 dispatchEvent(Event::create(eventNames().icegatheringstatechangeEvent, false, false)); 463 465 }); … … 467 469 { 468 470 scriptExecutionContext()->postTask([=](ScriptExecutionContext&) { 471 if (m_signalingState == SignalingState::Closed || m_iceConnectionState == newState) 472 return; 473 469 474 m_iceConnectionState = newState; 470 471 475 dispatchEvent(Event::create(eventNames().iceconnectionstatechangeEvent, false, false)); 472 476 });
Note: See TracChangeset
for help on using the changeset viewer.