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

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

Issue 1486623004: MediaStreamRecorder: enable in Android (including linking libwebm) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Connect RendererBlinkPlatformImpl::createMediaRecorderHandler() Created 5 years 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
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/renderer/media/media_recorder_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_RECORDER_HANDLER_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_RECORDER_HANDLER_H_
6 #define CONTENT_RENDERER_MEDIA_MEDIA_RECORDER_HANDLER_H_ 6 #define CONTENT_RENDERER_MEDIA_MEDIA_RECORDER_HANDLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 bool recording_; 90 bool recording_;
91 blink::WebMediaStream media_stream_; // The MediaStream being recorded. 91 blink::WebMediaStream media_stream_; // The MediaStream being recorded.
92 92
93 // |client_| is a weak pointer, and is valid for the lifetime of this object. 93 // |client_| is a weak pointer, and is valid for the lifetime of this object.
94 blink::WebMediaRecorderHandlerClient* client_; 94 blink::WebMediaRecorderHandlerClient* client_;
95 95
96 ScopedVector<VideoTrackRecorder> video_recorders_; 96 ScopedVector<VideoTrackRecorder> video_recorders_;
97 ScopedVector<AudioTrackRecorder> audio_recorders_; 97 ScopedVector<AudioTrackRecorder> audio_recorders_;
98 98
99 #if !defined(MEDIA_DISABLE_LIBWEBM)
100 // Worker class doing the actual Webm Muxing work. 99 // Worker class doing the actual Webm Muxing work.
101 scoped_ptr<media::WebmMuxer> webm_muxer_; 100 scoped_ptr<media::WebmMuxer> webm_muxer_;
102 #endif
103 101
104 base::WeakPtrFactory<MediaRecorderHandler> weak_factory_; 102 base::WeakPtrFactory<MediaRecorderHandler> weak_factory_;
105 103
106 DISALLOW_COPY_AND_ASSIGN(MediaRecorderHandler); 104 DISALLOW_COPY_AND_ASSIGN(MediaRecorderHandler);
107 }; 105 };
108 106
109 } // namespace content 107 } // namespace content
110 #endif // CONTENT_RENDERER_MEDIA_MEDIA_RECORDER_HANDLER_H_ 108 #endif // CONTENT_RENDERER_MEDIA_MEDIA_RECORDER_HANDLER_H_
OLDNEW
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/renderer/media/media_recorder_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698