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

Unified Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 1249233002: [backup] Add MediaRecorderHandler (video part) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@m_crbug262211__MSRecorder__4__VideoTrackRecorder
Patch Set: UnitTests cleanup Created 5 years, 4 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 | « content/renderer/renderer_blink_platform_impl.h ('k') | media/capture/webm_muxer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_blink_platform_impl.cc
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
index c4a009dc7ab3ff296833d3ed099402d86a7bbe44..af837375a9111cc21ead05bb4142013b9aba6a34 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -126,6 +126,7 @@
#endif
#if defined(ENABLE_WEBRTC)
+#include "content/renderer/media/media_recorder_handler.h"
#include "content/renderer/media/webrtc/peer_connection_dependency_factory.h"
#endif
@@ -139,6 +140,7 @@ using blink::WebGamepad;
using blink::WebGamepads;
using blink::WebIDBFactory;
using blink::WebMIDIAccessor;
+using blink::WebMediaRecorderHandler;
using blink::WebMediaStreamCenter;
using blink::WebMediaStreamCenterClient;
using blink::WebMimeRegistry;
@@ -865,6 +867,12 @@ void RendererBlinkPlatformImpl::sampleGamepads(WebGamepads& gamepads) {
}
//------------------------------------------------------------------------------
+WebMediaRecorderHandler*
+RendererBlinkPlatformImpl::createMediaRecorderHandler() {
+ return new content::MediaRecorderHandler();
+}
+
+//------------------------------------------------------------------------------
WebRTCPeerConnectionHandler*
RendererBlinkPlatformImpl::createRTCPeerConnectionHandler(
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.h ('k') | media/capture/webm_muxer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698