Changeset 284860 in webkit


Ignore:
Timestamp:
Oct 26, 2021 2:17:13 AM (9 months ago)
Author:
youenn@apple.com
Message:

Decrease WebRTC latency by pulling data more often
https://bugs.webkit.org/show_bug.cgi?id=232143

Reviewed by Eric Carlson.

We were previously pulling 10 ms chunks by groups of 5, we then redunced to 3.
Let's reduce to 1 to further reduce WebRTC remote audio track latency.
This triggers scheduling of 100 tasks per second instead of 33 previously.

  • platform/mediastream/libwebrtc/LibWebRTCAudioModule.h:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r284859 r284860  
     12021-10-26  Youenn Fablet  <youenn@apple.com>
     2
     3        Decrease WebRTC latency by pulling data more often
     4        https://bugs.webkit.org/show_bug.cgi?id=232143
     5
     6        Reviewed by Eric Carlson.
     7
     8        We were previously pulling 10 ms chunks by groups of 5, we then redunced to 3.
     9        Let's reduce to 1 to further reduce WebRTC remote audio track latency.
     10        This triggers scheduling of 100 tasks per second instead of 33 previously.
     11
     12        * platform/mediastream/libwebrtc/LibWebRTCAudioModule.h:
     13
    1142021-10-26  Antti Koivisto  <antti@apple.com>
    215
  • trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCAudioModule.h

    r276633 r284860  
    4747    LibWebRTCAudioModule();
    4848
    49     static constexpr unsigned PollSamplesCount = 3;
     49    static constexpr unsigned PollSamplesCount = 1;
    5050
    5151private:
Note: See TracChangeset for help on using the changeset viewer.