Title: [238607] trunk/Source/WebCore
Revision
238607
Author
[email protected]
Date
2018-11-28 04:51:46 -0800 (Wed, 28 Nov 2018)

Log Message

[WebRTC][GStreamer] Tag all cameras with as 'Unknown' facing mode
https://bugs.webkit.org/show_bug.cgi?id=192028

Patch by Thibault Saunier <[email protected]> on 2018-11-28
Reviewed by Philippe Normand.

* platform/mediastream/gstreamer/GStreamerVideoCaptureSource.cpp:
(WebCore::GStreamerVideoCaptureSource::capabilities):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (238606 => 238607)


--- trunk/Source/WebCore/ChangeLog	2018-11-28 12:41:51 UTC (rev 238606)
+++ trunk/Source/WebCore/ChangeLog	2018-11-28 12:51:46 UTC (rev 238607)
@@ -1,5 +1,15 @@
 2018-11-28  Thibault Saunier  <[email protected]>
 
+        [WebRTC][GStreamer] Tag all cameras with as 'Unknown' facing mode
+        https://bugs.webkit.org/show_bug.cgi?id=192028
+
+        Reviewed by Philippe Normand.
+
+        * platform/mediastream/gstreamer/GStreamerVideoCaptureSource.cpp:
+        (WebCore::GStreamerVideoCaptureSource::capabilities):
+
+2018-11-28  Thibault Saunier  <[email protected]>
+
         [WebRTC][GStreamer] Use a GUniquePtr to hold the GstAudioConverter in our OutgoingAudioSource
         https://bugs.webkit.org/show_bug.cgi?id=192027
 

Modified: trunk/Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoCaptureSource.cpp (238606 => 238607)


--- trunk/Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoCaptureSource.cpp	2018-11-28 12:41:51 UTC (rev 238606)
+++ trunk/Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoCaptureSource.cpp	2018-11-28 12:51:46 UTC (rev 238607)
@@ -186,6 +186,8 @@
     capabilities.setDeviceId(hashedId());
     updateCapabilities(capabilities);
 
+    capabilities.addFacingMode(RealtimeMediaSourceSettings::Unknown);
+
     m_capabilities = WTFMove(capabilities);
 
     return m_capabilities.value();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to