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

Unified Diff: content/renderer/media/media_recorder_handler.h

Issue 1920483002: MediaRecorderHandler and WebmMuxer: add support for H264. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed TODO (V_MPEG4/ISO/AVC) and adapted unit tests Created 4 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 | « no previous file | content/renderer/media/media_recorder_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_recorder_handler.h
diff --git a/content/renderer/media/media_recorder_handler.h b/content/renderer/media/media_recorder_handler.h
index df4645a01986b7a43cf921d9c7e835e7854c6c03..8fa56c4ad4fa3c5739e06e0ecd05f3e4532aa879 100644
--- a/content/renderer/media/media_recorder_handler.h
+++ b/content/renderer/media/media_recorder_handler.h
@@ -14,6 +14,7 @@
#include "base/strings/string_piece.h"
#include "base/threading/thread_checker.h"
#include "content/common/content_export.h"
+#include "content/renderer/media/video_track_recorder.h"
#include "third_party/WebKit/public/platform/WebMediaRecorderHandler.h"
#include "third_party/WebKit/public/platform/WebMediaStream.h"
@@ -31,7 +32,6 @@ class WebmMuxer;
namespace content {
-class VideoTrackRecorder;
class AudioTrackRecorder;
// MediaRecorderHandler orchestrates the creation, lifetime management and
@@ -89,8 +89,8 @@ class CONTENT_EXPORT MediaRecorderHandler final
int32_t video_bits_per_second_;
int32_t audio_bits_per_second_;
- // Force using VP9 for video encoding, otherwise VP8 will be used by default.
- bool use_vp9_;
+ // Video Codec, VP8 is used by default.
+ VideoTrackRecorder::CodecId codec_id_;
// |client_| has no notion of time, thus may configure us via start(timeslice)
// to notify it after a certain |timeslice_| has passed. We use a moving
« no previous file with comments | « no previous file | content/renderer/media/media_recorder_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698