Title: [286644] trunk/Source/WebCore
Revision
286644
Author
[email protected]
Date
2021-12-07 22:43:30 -0800 (Tue, 07 Dec 2021)

Log Message

Add logging to RealtimeOutgoingVideoSource creation
https://bugs.webkit.org/show_bug.cgi?id=233929

Reviewed by Eric Carlson.

This will allow to identify when trying to start sending video.
No change of behavior.

* platform/mediastream/RealtimeOutgoingVideoSource.cpp:
(WebCore::RealtimeOutgoingVideoSource::RealtimeOutgoingVideoSource):
(WebCore::RealtimeOutgoingVideoSource::setSource):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (286643 => 286644)


--- trunk/Source/WebCore/ChangeLog	2021-12-08 06:34:20 UTC (rev 286643)
+++ trunk/Source/WebCore/ChangeLog	2021-12-08 06:43:30 UTC (rev 286644)
@@ -1,3 +1,17 @@
+2021-12-07  Youenn Fablet  <[email protected]>
+
+        Add logging to RealtimeOutgoingVideoSource creation
+        https://bugs.webkit.org/show_bug.cgi?id=233929
+
+        Reviewed by Eric Carlson.
+
+        This will allow to identify when trying to start sending video.
+        No change of behavior.
+
+        * platform/mediastream/RealtimeOutgoingVideoSource.cpp:
+        (WebCore::RealtimeOutgoingVideoSource::RealtimeOutgoingVideoSource):
+        (WebCore::RealtimeOutgoingVideoSource::setSource):
+
 2021-12-07  Antoine Quint  <[email protected]>
 
         [Model] Only expose APIs on the IDL interface when the feature is enabled

Modified: trunk/Source/WebCore/platform/mediastream/RealtimeOutgoingVideoSource.cpp (286643 => 286644)


--- trunk/Source/WebCore/platform/mediastream/RealtimeOutgoingVideoSource.cpp	2021-12-08 06:34:20 UTC (rev 286643)
+++ trunk/Source/WebCore/platform/mediastream/RealtimeOutgoingVideoSource.cpp	2021-12-08 06:43:30 UTC (rev 286644)
@@ -52,6 +52,7 @@
     , m_logIdentifier(m_videoSource->logIdentifier())
 #endif
 {
+    ALWAYS_LOG(LOGIDENTIFIER);
 }
 
 RealtimeOutgoingVideoSource::~RealtimeOutgoingVideoSource()
@@ -83,6 +84,8 @@
     ASSERT(!m_videoSource->hasObserver(*this));
     m_videoSource = WTFMove(newSource);
 
+    ALWAYS_LOG(LOGIDENTIFIER, "track ", m_videoSource->logIdentifier());
+
     if (!m_areSinksAskingToApplyRotation)
         return;
     if (!m_videoSource->source().setShouldApplyRotation(true))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to