5

[GStreamer][VideoCapture] Add support for capturing encoded video str… · WebKit/...

 1 year ago
source link: https://github.com/WebKit/WebKit/commit/4e6c9f2028df849574df76dab51e7b94bf34a44f
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

[GStreamer][VideoCapture] Add support for capturing encoded video str… · WebKit/WebKit@4e6c9f2 · GitHubPermalink

Browse files

[GStreamer][VideoCapture] Add support for capturing encoded video str…
…eams from a webcam

https://bugs.webkit.org/show_bug.cgi?id=240229

Patch by Loïc Le Page <[email protected]> on 2022-05-12
Reviewed by Philippe Normand.

Takes into account encoded video streams produced by a webcam for
video capture.

Manually tested (requires a webcam with encoded video streams).

* platform/mediastream/gstreamer/GStreamerVideoCaptureSource.cpp:
(WebCore::GStreamerVideoCaptureSource::generatePresets):
* platform/mediastream/gstreamer/GStreamerVideoCapturer.cpp:
(WebCore::GStreamerVideoCapturer::createConverter):
(WebCore::GStreamerVideoCapturer::setSize):
(WebCore::GStreamerVideoCapturer::setFrameRate):
(WebCore::GStreamerVideoCapturer::adjustVideoSrcMIMEType):
* platform/mediastream/gstreamer/GStreamerVideoCapturer.h:

Canonical link: https://commits.webkit.org/250489@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294104 268f45cc-cd09-0410-ab3c-d52691b4dbfc

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK