Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 954e6ee42148be3c05dde3571bad5a92f9f6aade
      
https://github.com/WebKit/WebKit/commit/954e6ee42148be3c05dde3571bad5a92f9f6aade
  Author: Philippe Normand <[email protected]>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M 
Source/WebCore/Modules/mediastream/gstreamer/GStreamerDataChannelHandler.cpp
    M Source/WebCore/Modules/mediastream/gstreamer/GStreamerDataChannelHandler.h

  Log Message:
  -----------
  [GStreamer][WebRTC] Duplicate state change notifications in DataChannel 
handler
https://bugs.webkit.org/show_bug.cgi?id=256163

Reviewed by Xabier Rodriguez-Calvar.

The `checkState()` might dispatch a ready-state-change notification, so there's 
no need to dispatch
another one when processing pending messages.

* Source/WebCore/Modules/mediastream/gstreamer/GStreamerDataChannelHandler.cpp:
(WebCore::GStreamerDataChannelHandler::setClient):
(WebCore::GStreamerDataChannelHandler::checkState):
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerDataChannelHandler.h:

Canonical link: https://commits.webkit.org/263584@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to