[webkit-changes] [WebKit/WebKit] 76d4bd: Update Modules/mediastream to use std::span more

Chris Dumez noreply at github.com
Sun Mar 24 10:16:46 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 76d4bdd76987f7f1c6b1d3ad1e88384b72c4d6b3
      https://github.com/WebKit/WebKit/commit/76d4bdd76987f7f1c6b1d3ad1e88384b72c4d6b3
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-03-24 (Sun, 24 Mar 2024)

  Changed paths:
    M Source/WebCore/Modules/mediastream/RTCRtpSFrameTransformer.cpp
    M Source/WebCore/Modules/mediastream/RTCRtpSFrameTransformer.h
    M Source/WebCore/Modules/mediastream/RTCRtpSFrameTransformerCocoa.cpp
    M Source/WebCore/Modules/mediastream/SFrameUtils.cpp
    M Source/WebCore/Modules/mediastream/SFrameUtils.h
    M Source/WebCore/Modules/mediastream/STUNMessageParsing.cpp
    M Source/WebCore/Modules/mediastream/STUNMessageParsing.h
    M Source/WebCore/crypto/cocoa/CryptoAlgorithmAESCTRMac.cpp
    M Source/WebCore/crypto/cocoa/CryptoUtilitiesCocoa.cpp
    M Source/WebCore/crypto/cocoa/CryptoUtilitiesCocoa.h
    M Source/WebKit/NetworkProcess/webrtc/NetworkRTCTCPSocketCocoa.mm
    M Tools/TestWebKitAPI/Tests/WebCore/RTCRtpSFrameTransformerTests.cpp
    M Tools/TestWebKitAPI/Tests/WebCore/STUNMessageParsingTest.cpp

  Log Message:
  -----------
  Update Modules/mediastream to use std::span more
https://bugs.webkit.org/show_bug.cgi?id=271495

Reviewed by Ryosuke Niwa.

* Source/WebCore/Modules/mediastream/RTCRtpSFrameTransformer.cpp:
(WebCore::readUInt64):
(WebCore::parseSFrameHeader):
(WebCore::RTCRtpSFrameTransformer::decryptFrame):
(WebCore::RTCRtpSFrameTransformer::encryptFrame):
(WebCore::RTCRtpSFrameTransformer::decryptData):
(WebCore::RTCRtpSFrameTransformer::encryptData):
(WebCore::RTCRtpSFrameTransformer::computeEncryptedDataSignature):
* Source/WebCore/Modules/mediastream/RTCRtpSFrameTransformer.h:
* Source/WebCore/Modules/mediastream/RTCRtpSFrameTransformerCocoa.cpp:
(WebCore::RTCRtpSFrameTransformer::decryptData):
(WebCore::RTCRtpSFrameTransformer::encryptData):
(WebCore::RTCRtpSFrameTransformer::computeEncryptedDataSignature):
* Source/WebCore/Modules/mediastream/SFrameUtils.cpp:
(WebCore::findNalus):
(WebCore::computeH264PrefixOffset):
(WebCore::needsRbspUnescaping):
(WebCore::fromRbsp):
(WebCore::computeH264PrefixBuffer):
(WebCore::isVP8KeyFrame):
(WebCore::computeVP8PrefixOffset):
(WebCore::computeVP8PrefixBuffer):
* Source/WebCore/Modules/mediastream/SFrameUtils.h:
* Source/WebCore/Modules/mediastream/STUNMessageParsing.cpp:
(WebCore::WebRTC::extractSTUNOrTURNMessages):
(WebCore::WebRTC::extractDataMessages):
(WebCore::WebRTC::extractMessages):
* Source/WebCore/Modules/mediastream/STUNMessageParsing.h:
* Source/WebCore/crypto/cocoa/CryptoAlgorithmAESCTRMac.cpp:
(WebCore::CryptoAlgorithmAESCTR::platformEncrypt):
(WebCore::CryptoAlgorithmAESCTR::platformDecrypt):
* Source/WebCore/crypto/cocoa/CryptoUtilitiesCocoa.cpp:
(WebCore::transformAESCTR):
* Source/WebCore/crypto/cocoa/CryptoUtilitiesCocoa.h:

Canonical link: https://commits.webkit.org/276611@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