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

Unified Diff: webrtc/video/video_send_stream.h

Issue 1936503002: Removed SSRC knowledge from ViEEncoder. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@move_payload_router2
Patch Set: 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
Index: webrtc/video/video_send_stream.h
diff --git a/webrtc/video/video_send_stream.h b/webrtc/video/video_send_stream.h
index dba44482ca939914ceb4fa20f6c90fb5bf66e530..fcfcb3c4a2ed13a0f1dfc841ac558320c53b128c 100644
--- a/webrtc/video/video_send_stream.h
+++ b/webrtc/video/video_send_stream.h
@@ -23,7 +23,6 @@
#include "webrtc/video/payload_router.h"
#include "webrtc/video/send_statistics_proxy.h"
#include "webrtc/video/video_capture_input.h"
-#include "webrtc/video/vie_channel.h"
#include "webrtc/video/vie_encoder.h"
#include "webrtc/video_receive_stream.h"
#include "webrtc/video_send_stream.h"
@@ -33,9 +32,9 @@ namespace webrtc {
class BitrateAllocator;
class CallStats;
class CongestionController;
+class IvfFileWriter;
class ProcessThread;
class RtpRtcp;
-class ViEChannel;
class ViEEncoder;
class VieRemb;
@@ -126,6 +125,10 @@ class VideoSendStream : public webrtc::VideoSendStream,
BitrateAllocator* const bitrate_allocator_;
VieRemb* const remb_;
+ static const bool kEnableFrameRecording = false;
+ static const int kMaxLayers = 3;
+ std::unique_ptr<IvfFileWriter> file_writers_[kMaxLayers];
+
rtc::PlatformThread encoder_thread_;
rtc::Event encoder_wakeup_event_;
volatile int stop_encoder_thread_;

Powered by Google App Engine
This is Rietveld 408576698