Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Unified Diff: third_party/WebKit/public/platform/WebMediaRecorderHandler.h

Issue 2811103006: Media Capabilities encoding: Blink pass-thru and skeleton renderer/ impl (Closed)
Patch Set: haraken@ comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/modules/modules_idl_files.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebMediaRecorderHandler.h
diff --git a/third_party/WebKit/public/platform/WebMediaRecorderHandler.h b/third_party/WebKit/public/platform/WebMediaRecorderHandler.h
index fe9c90cb273fe26e5c0f45cd0a6340176220ff13..ddc064a1c9d8df47430c5d3c8a2d187d8e0b0cbb 100644
--- a/third_party/WebKit/public/platform/WebMediaRecorderHandler.h
+++ b/third_party/WebKit/public/platform/WebMediaRecorderHandler.h
@@ -5,11 +5,16 @@
#ifndef WebMediaRecorderHandler_h
#define WebMediaRecorderHandler_h
+#include <memory>
+
#include "WebCommon.h"
+#include "public/platform/modules/media_capabilities/WebMediaCapabilitiesInfo.h"
+
namespace blink {
class WebMediaRecorderHandlerClient;
+struct WebMediaConfiguration;
class WebMediaStream;
class WebString;
@@ -41,6 +46,12 @@ class BLINK_PLATFORM_EXPORT WebMediaRecorderHandler {
const WebString& codecs) {
return false;
}
+
+ // Implements WICG Media Capabilities encodingInfo() call for local encoding.
+ // https://wicg.github.io/media-capabilities/#media-capabilities-interface
+ virtual void EncodingInfo(
+ const WebMediaConfiguration&,
+ std::unique_ptr<blink::WebMediaCapabilitiesQueryCallbacks>) {}
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/modules/modules_idl_files.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698