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

Changeset 244796 in webkit


Ignore:
Timestamp:
Apr 30, 2019, 1:08:01 PM (7 years ago)
Author:
Alan Coon
Message:

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

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.2.6.1-branch/Source/WebCore
Files:
2 edited

Legend:

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

    r244174 r244796  
     12019-04-30  Alan Coon  <alancoon@apple.com>
     2
     3        Cherry-pick r244632. rdar://problem/50344188
     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-04-10  Alan Coon  <alancoon@apple.com>
    235
  • branches/safari-607.2.6.1-branch/Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCMediaEndpoint.cpp

    r244166 r244796  
    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.