Title: [265135] trunk/Source/WebCore
Revision
265135
Author
[email protected]
Date
2020-07-31 00:15:25 -0700 (Fri, 31 Jul 2020)

Log Message

Add LibWebRTCAudioModule logging
https://bugs.webkit.org/show_bug.cgi?id=214987

Reviewed by Eric Carlson.

* platform/mediastream/libwebrtc/LibWebRTCAudioModule.cpp:
(WebCore::LibWebRTCAudioModule::RegisterAudioCallback):
(WebCore::LibWebRTCAudioModule::StartPlayout):
(WebCore::LibWebRTCAudioModule::StopPlayout):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (265134 => 265135)


--- trunk/Source/WebCore/ChangeLog	2020-07-31 06:16:33 UTC (rev 265134)
+++ trunk/Source/WebCore/ChangeLog	2020-07-31 07:15:25 UTC (rev 265135)
@@ -1,3 +1,15 @@
+2020-07-31  Youenn Fablet  <[email protected]>
+
+        Add LibWebRTCAudioModule logging
+        https://bugs.webkit.org/show_bug.cgi?id=214987
+
+        Reviewed by Eric Carlson.
+
+        * platform/mediastream/libwebrtc/LibWebRTCAudioModule.cpp:
+        (WebCore::LibWebRTCAudioModule::RegisterAudioCallback):
+        (WebCore::LibWebRTCAudioModule::StartPlayout):
+        (WebCore::LibWebRTCAudioModule::StopPlayout):
+
 2020-07-30  Simon Fraser  <[email protected]>
 
         Minor RenderLayerCompositor::updateBackingAndHierarchy() cleanup

Modified: trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCAudioModule.cpp (265134 => 265135)


--- trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCAudioModule.cpp	2020-07-31 06:16:33 UTC (rev 265134)
+++ trunk/Source/WebCore/platform/mediastream/libwebrtc/LibWebRTCAudioModule.cpp	2020-07-31 07:15:25 UTC (rev 265135)
@@ -40,6 +40,8 @@
 
 int32_t LibWebRTCAudioModule::RegisterAudioCallback(webrtc::AudioTransport* audioTransport)
 {
+    RELEASE_LOG(WebRTC, "LibWebRTCAudioModule::RegisterAudioCallback %d", !!audioTransport);
+
     m_audioTransport = audioTransport;
     return 0;
 }
@@ -46,6 +48,8 @@
 
 int32_t LibWebRTCAudioModule::StartPlayout()
 {
+    RELEASE_LOG(WebRTC, "LibWebRTCAudioModule::StartPlayout %d", m_isPlaying);
+
     if (m_isPlaying)
         return 0;
 
@@ -59,8 +63,9 @@
 
 int32_t LibWebRTCAudioModule::StopPlayout()
 {
-    if (m_isPlaying)
-        m_isPlaying = false;
+    RELEASE_LOG(WebRTC, "LibWebRTCAudioModule::StopPlayout %d", m_isPlaying);
+
+    m_isPlaying = false;
     return 0;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to