⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 245397 in webkit


Ignore:
Timestamp:
May 16, 2019, 8:36:33 AM (7 years ago)
Author:
Kocsen Chung
Message:

Cherry-pick r244632. rdar://problem/50344384

Do not restart WebRTC stats timer if backend is stopped
https://bugs.webkit.org/show_bug.cgi?id=197257
<rdar://problem/50095879>

Reviewed by Eric Carlson.

We used to stop and reschedule the stat gathering timer in case the
gathering delay is changing. Timer should not be rescheduled if the backend is stopped.

  • Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp: (WebCore::LibWebRTCMediaEndpoint::OnStatsDelivered):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244632 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Location:
branches/safari-607-branch/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-607-branch/Source/WebCore/ChangeLog

    r245357 r245397  
     12019-05-16  Kocsen Chung  <kocsen_chung@apple.com>
     2
     3        Cherry-pick r244632. rdar://problem/50344384
     4
     5    Do not restart WebRTC stats timer if backend is stopped
     6    https://bugs.webkit.org/show_bug.cgi?id=197257
     7    <rdar://problem/50095879>
     8   
     9    Reviewed by Eric Carlson.
     10   
     11    We used to stop and reschedule the stat gathering timer in case the
     12    gathering delay is changing. Timer should not be rescheduled if the backend is stopped.
     13   
     14    * Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp:
     15    (WebCore::LibWebRTCMediaEndpoint::OnStatsDelivered):
     16   
     17   
     18    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     19
     20    2019-04-24  Youenn Fablet  <youenn@apple.com>
     21
     22            Do not restart WebRTC stats timer if backend is stopped
     23            https://bugs.webkit.org/show_bug.cgi?id=197257
     24            <rdar://problem/50095879>
     25
     26            Reviewed by Eric Carlson.
     27
     28            We used to stop and reschedule the stat gathering timer in case the
     29            gathering delay is changing. Timer should not be rescheduled if the backend is stopped.
     30
     31            * Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp:
     32            (WebCore::LibWebRTCMediaEndpoint::OnStatsDelivered):
     33
    1342019-05-15  Kocsen Chung  <kocsen_chung@apple.com>
    235
  • branches/safari-607-branch/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp

    r244798 r245397  
    848848
    849849    callOnMainThread([protectedThis = makeRef(*this), this, timestamp, report] {
    850         if (m_statsLogTimer.repeatInterval() != statsLogInterval(timestamp)) {
     850        if (m_backend && m_statsLogTimer.repeatInterval() != statsLogInterval(timestamp)) {
    851851            m_statsLogTimer.stop();
    852852            m_statsLogTimer.startRepeating(statsLogInterval(timestamp));
Note: See TracChangeset for help on using the changeset viewer.