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

Side by Side Diff: content/renderer/media/media_stream_renderer_factory_impl.h

Issue 1211973012: [Experimental] MediaStreamRecorder playground (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed FFmpegMuxer, using instead libwebm::IMkvMuxer, which is partially added Created 5 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_RENDERER_FACTORY_IMPL_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_RENDERER_FACTORY_IMPL_H_
6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_RENDERER_FACTORY_IMPL_H_ 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_RENDERER_FACTORY_IMPL_H_
7 7
8 #include "content/public/renderer/media_stream_renderer_factory.h" 8 #include "content/public/renderer/media_stream_renderer_factory.h"
9 //TODO(mcasas): remove this and |media_recorder_handler_|, both hacks for test.
10 #include "content/renderer/media/media_recorder_handler.h"
9 11
10 namespace content { 12 namespace content {
11 13
12 class MediaStreamRendererFactoryImpl : public MediaStreamRendererFactory { 14 class MediaStreamRendererFactoryImpl : public MediaStreamRendererFactory {
13 public: 15 public:
14 MediaStreamRendererFactoryImpl(); 16 MediaStreamRendererFactoryImpl();
15 ~MediaStreamRendererFactoryImpl() override; 17 ~MediaStreamRendererFactoryImpl() override;
16 18
17 scoped_refptr<VideoFrameProvider> GetVideoFrameProvider( 19 scoped_refptr<VideoFrameProvider> GetVideoFrameProvider(
18 const GURL& url, 20 const GURL& url,
19 const base::Closure& error_cb, 21 const base::Closure& error_cb,
20 const VideoFrameProvider::RepaintCB& repaint_cb) override; 22 const VideoFrameProvider::RepaintCB& repaint_cb) override;
21 23
22 scoped_refptr<MediaStreamAudioRenderer> GetAudioRenderer( 24 scoped_refptr<MediaStreamAudioRenderer> GetAudioRenderer(
23 const GURL& url, 25 const GURL& url,
24 int render_frame_id) override; 26 int render_frame_id) override;
25 27
26 private: 28 private:
29 MediaRecorderHandler media_recorder_handler_;
30
27 DISALLOW_COPY_AND_ASSIGN(MediaStreamRendererFactoryImpl); 31 DISALLOW_COPY_AND_ASSIGN(MediaStreamRendererFactoryImpl);
28 }; 32 };
29 33
30 } // namespace content 34 } // namespace content
31 35
32 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_RENDERER_FACTORY_IMPL_H_ 36 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_RENDERER_FACTORY_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/media_recorder_handler.cc ('k') | content/renderer/media/media_stream_renderer_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698