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

Unified Diff: webrtc/logging/rtc_event_log/rtc_event_log.h

Issue 3013523002: Move StreamConfig into its own file (Closed)
Patch Set: Rebased Created 3 years, 3 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 | « webrtc/logging/BUILD.gn ('k') | webrtc/logging/rtc_event_log/rtc_stream_config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/logging/rtc_event_log/rtc_event_log.h
diff --git a/webrtc/logging/rtc_event_log/rtc_event_log.h b/webrtc/logging/rtc_event_log/rtc_event_log.h
index 1e4650c054fd9e7c11a170ce90c21a11af588e5d..40d89896351cd31cfc2a255705f21defb0c47f21 100644
--- a/webrtc/logging/rtc_event_log/rtc_event_log.h
+++ b/webrtc/logging/rtc_event_log/rtc_event_log.h
@@ -15,43 +15,17 @@
#include <string>
#include <vector>
+// TODO(eladalon): Get rid of this later in the CL-stack.
#include "webrtc/api/rtpparameters.h"
#include "webrtc/common_types.h"
+// TODO(eladalon): Get rid of this later in the CL-stack.
+#include "webrtc/logging/rtc_event_log/rtc_stream_config.h"
#include "webrtc/rtc_base/platform_file.h"
namespace webrtc {
-// Forward declaration of storage class that is automatically generated from
-// the protobuf file.
namespace rtclog {
-class EventStream;
-
-struct StreamConfig {
- uint32_t local_ssrc = 0;
- uint32_t remote_ssrc = 0;
- uint32_t rtx_ssrc = 0;
- std::string rsid;
-
- bool remb = false;
- std::vector<RtpExtension> rtp_extensions;
-
- RtcpMode rtcp_mode = RtcpMode::kReducedSize;
-
- struct Codec {
- Codec(const std::string& payload_name,
- int payload_type,
- int rtx_payload_type)
- : payload_name(payload_name),
- payload_type(payload_type),
- rtx_payload_type(rtx_payload_type) {}
-
- std::string payload_name;
- int payload_type;
- int rtx_payload_type;
- };
- std::vector<Codec> codecs;
-};
-
+class EventStream; // Storage class automatically generated from protobuf.
} // namespace rtclog
class Clock;
« no previous file with comments | « webrtc/logging/BUILD.gn ('k') | webrtc/logging/rtc_event_log/rtc_stream_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698