[webkit-changes] [WebKit/WebKit] 61130c: Add frame rate monitoring logging before and after...

youennf noreply at github.com
Mon Aug 21 11:22:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 61130cc5ff5ca99c2e5ab3eeb3fd21ab77eddb29
      https://github.com/WebKit/WebKit/commit/61130cc5ff5ca99c2e5ab3eeb3fd21ab77eddb29
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2023-08-21 (Mon, 21 Aug 2023)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/Modules/mediastream/RTCRtpScriptTransformer.cpp
    M Source/WebCore/Modules/mediastream/RTCRtpScriptTransformer.h

  Log Message:
  -----------
  Add frame rate monitoring logging before and after WebRTC script transforms
https://bugs.webkit.org/show_bug.cgi?id=260465
rdar://problem/114189110

Reviewed by Jean-Yves Avenard.

When the internal media pipeline additional logging flag is enabled, we check frame rate for all script transforms on input and output.
This might tell us whether:
- frame rate gets broken before the script transform (there is some related logging in libwebrtc already).
- frame rate gets broken by the script transform.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/Modules/mediastream/RTCRtpScriptTransformer.cpp:
(WebCore::RTCRtpScriptTransformer::RTCRtpScriptTransformer):
(WebCore::RTCRtpScriptTransformer::writable):
(WebCore::RTCRtpScriptTransformer::enqueueFrame):
* Source/WebCore/Modules/mediastream/RTCRtpScriptTransformer.h:

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




More information about the webkit-changes mailing list