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

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

Issue 1710713002: Move media/capture/webm_muxer* to media/muxers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moving webm_muxer* going to media/muxers, cleaning up DEPS Created 4 years, 10 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
« no previous file with comments | « no previous file | media/BUILD.gn » ('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 #include "content/renderer/media/media_recorder_handler.h" 5 #include "content/renderer/media/media_recorder_handler.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/strings/string_tokenizer.h" 13 #include "base/strings/string_tokenizer.h"
14 #include "base/strings/string_util.h" 14 #include "base/strings/string_util.h"
15 #include "content/renderer/media/audio_track_recorder.h" 15 #include "content/renderer/media/audio_track_recorder.h"
16 #include "content/renderer/media/media_stream_audio_track.h" 16 #include "content/renderer/media/media_stream_audio_track.h"
17 #include "content/renderer/media/media_stream_track.h" 17 #include "content/renderer/media/media_stream_track.h"
18 #include "content/renderer/media/video_track_recorder.h" 18 #include "content/renderer/media/video_track_recorder.h"
19 #include "content/renderer/media/webrtc_uma_histograms.h" 19 #include "content/renderer/media/webrtc_uma_histograms.h"
20 #include "media/audio/audio_parameters.h" 20 #include "media/audio/audio_parameters.h"
21 #include "media/base/audio_bus.h" 21 #include "media/base/audio_bus.h"
22 #include "media/base/bind_to_current_loop.h" 22 #include "media/base/bind_to_current_loop.h"
23 #include "media/base/mime_util.h" 23 #include "media/base/mime_util.h"
24 #include "media/base/video_frame.h" 24 #include "media/base/video_frame.h"
25 #include "media/capture/webm_muxer.h" 25 #include "media/muxers/webm_muxer.h"
26 #include "third_party/WebKit/public/platform/WebMediaRecorderHandlerClient.h" 26 #include "third_party/WebKit/public/platform/WebMediaRecorderHandlerClient.h"
27 #include "third_party/WebKit/public/platform/WebString.h" 27 #include "third_party/WebKit/public/platform/WebString.h"
28 28
29 using base::TimeDelta; 29 using base::TimeDelta;
30 using base::TimeTicks; 30 using base::TimeTicks;
31 31
32 namespace content { 32 namespace content {
33 33
34 MediaRecorderHandler::MediaRecorderHandler() 34 MediaRecorderHandler::MediaRecorderHandler()
35 : video_bits_per_second_(0), 35 : video_bits_per_second_(0),
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 recorder->OnData(audio_bus, timestamp); 261 recorder->OnData(audio_bus, timestamp);
262 } 262 }
263 263
264 void MediaRecorderHandler::SetAudioFormatForTesting( 264 void MediaRecorderHandler::SetAudioFormatForTesting(
265 const media::AudioParameters& params) { 265 const media::AudioParameters& params) {
266 for (auto* recorder : audio_recorders_) 266 for (auto* recorder : audio_recorders_)
267 recorder->OnSetFormat(params); 267 recorder->OnSetFormat(params);
268 } 268 }
269 269
270 } // namespace content 270 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | media/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698