[webkit-changes] [WebKit/WebKit] 954e6e: [GStreamer][WebRTC] Duplicate state change notific...
Philippe Normand
noreply at github.com
Tue May 2 04:08:48 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 954e6ee42148be3c05dde3571bad5a92f9f6aade
https://github.com/WebKit/WebKit/commit/954e6ee42148be3c05dde3571bad5a92f9f6aade
Author: Philippe Normand <philn at igalia.com>
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
More information about the webkit-changes
mailing list