[Webkit-unassigned] [Bug 231162] New: ObjectiveC WebRTC frame buffers are autoreleased late, especially on Debug builds

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 4 03:03:48 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=231162

            Bug ID: 231162
           Summary: ObjectiveC WebRTC frame buffers are autoreleased late,
                    especially on Debug builds
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: youennf at gmail.com
                CC: youennf at gmail.com

ObjectiveC WebRTC frame buffers are autoreleased late, especially on Debug builds.
On debug builds, running https://webrtc.github.io/samples/src/content/peerconnection/change-codecs/ with VP8 and mock capture source (click start, then call) will see memory increases a lot, up to more than 1 GB.
When clicking hang up, all this memory got autoreleased but we would hope it would be released sooner.

On debug builds, running https://webrtc.github.io/samples/src/content/peerconnection/pc1/ with the real camera fails after a few frames being encoded (click start, then call).
The camera CVPixelBuffers are only released after clicking hang up, which makes the camera stopping to emit frames.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211004/87aee5ad/attachment.htm>


More information about the webkit-unassigned mailing list