[webkit-changes] [WebKit/WebKit] 1bf31f: Update RTCDataChannelHandlerClient::didReceiveRawD...

Chris Dumez noreply at github.com
Fri Mar 22 07:48:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1bf31f611455b721dd37583785c4975d378cf31f
      https://github.com/WebKit/WebKit/commit/1bf31f611455b721dd37583785c4975d378cf31f
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-03-22 (Fri, 22 Mar 2024)

  Changed paths:
    M Source/WebCore/Modules/mediastream/RTCDataChannel.cpp
    M Source/WebCore/Modules/mediastream/RTCDataChannel.h
    M Source/WebCore/Modules/mediastream/RTCDataChannelRemoteHandler.cpp
    M Source/WebCore/Modules/mediastream/RTCDataChannelRemoteHandler.h
    M Source/WebCore/Modules/mediastream/RTCDataChannelRemoteSource.h
    M Source/WebCore/Modules/mediastream/gstreamer/GStreamerDataChannelHandler.cpp
    M Source/WebCore/Modules/mediastream/gstreamer/GStreamerDataChannelHandler.h
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCDataChannelHandler.cpp
    M Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCDataChannelHandler.h
    M Source/WebCore/platform/mediastream/RTCDataChannelHandler.h
    M Source/WebCore/platform/mediastream/RTCDataChannelHandlerClient.h
    M Source/WebCore/platform/mediastream/RTCDataChannelRemoteHandlerConnection.h
    M Source/WebCore/platform/mediastream/RTCDataChannelRemoteSourceConnection.h
    M Source/WebCore/platform/mock/RTCDataChannelHandlerMock.cpp
    M Source/WebCore/platform/mock/RTCDataChannelHandlerMock.h
    M Source/WebKit/WebProcess/Network/webrtc/RTCDataChannelRemoteManager.cpp
    M Source/WebKit/WebProcess/Network/webrtc/RTCDataChannelRemoteManager.h

  Log Message:
  -----------
  Update RTCDataChannelHandlerClient::didReceiveRawData() to take in a std::span
https://bugs.webkit.org/show_bug.cgi?id=271444

Reviewed by Darin Adler.

* Source/WebCore/Modules/mediastream/RTCDataChannel.cpp:
(WebCore::RTCDataChannel::createMessageQueue):
(WebCore::RTCDataChannel::didReceiveRawData):
* Source/WebCore/Modules/mediastream/RTCDataChannel.h:
* Source/WebCore/Modules/mediastream/RTCDataChannelRemoteHandler.cpp:
(WebCore::RTCDataChannelRemoteHandler::didReceiveRawData):
(WebCore::RTCDataChannelRemoteHandler::readyToSend):
(WebCore::RTCDataChannelRemoteHandler::sendStringData):
(WebCore::RTCDataChannelRemoteHandler::sendRawData):
* Source/WebCore/Modules/mediastream/RTCDataChannelRemoteHandler.h:
* Source/WebCore/Modules/mediastream/RTCDataChannelRemoteSource.h:
(WebCore::RTCDataChannelRemoteSource::sendRawData):
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerDataChannelHandler.cpp:
(WebCore::GStreamerDataChannelHandler::setClient):
(WebCore::GStreamerDataChannelHandler::sendRawData):
(WebCore::GStreamerDataChannelHandler::onMessageData):
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerDataChannelHandler.h:
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCDataChannelHandler.cpp:
(WebCore::LibWebRTCDataChannelHandler::setClient):
(WebCore::LibWebRTCDataChannelHandler::sendRawData):
(WebCore::LibWebRTCDataChannelHandler::OnMessage):
* Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCDataChannelHandler.h:
* Source/WebCore/platform/mediastream/RTCDataChannelHandler.h:
* Source/WebCore/platform/mediastream/RTCDataChannelHandlerClient.h:
* Source/WebCore/platform/mediastream/RTCDataChannelRemoteHandlerConnection.h:
* Source/WebCore/platform/mediastream/RTCDataChannelRemoteSourceConnection.h:
* Source/WebCore/platform/mock/RTCDataChannelHandlerMock.cpp:
(WebCore::RTCDataChannelHandlerMock::sendRawData):
* Source/WebCore/platform/mock/RTCDataChannelHandlerMock.h:
* Source/WebKit/WebProcess/Network/webrtc/RTCDataChannelRemoteManager.cpp:
(WebKit::RTCDataChannelRemoteManager::sendData):
(WebKit::RTCDataChannelRemoteManager::receiveData):
(WebKit::RTCDataChannelRemoteManager::RemoteHandlerConnection::sendData):
(WebKit::RTCDataChannelRemoteManager::RemoteSourceConnection::didReceiveRawData):
* Source/WebKit/WebProcess/Network/webrtc/RTCDataChannelRemoteManager.h:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list