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

Side by Side Diff: webrtc/logging/rtc_event_log/rtc_stream_config.h

Issue 3013523002: Move StreamConfig into its own file (Closed)
Patch Set: s/2015/2017 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 unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #ifndef WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_STREAM_CONFIG_H_
12 #define WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_STREAM_CONFIG_H_
13
14 #include <string>
15 #include <vector>
16
17 #include "webrtc/common_types.h"
18
19 namespace webrtc {
20
21 // Forward declaration of storage class that is automatically generated from
22 // the protobuf file.
terelius 2017/09/08 12:51:50 The comment no longer applies.
eladalon 2017/09/08 13:04:16 Done.
23 namespace rtclog {
24
25 struct StreamConfig {
26 uint32_t local_ssrc = 0;
27 uint32_t remote_ssrc = 0;
28 uint32_t rtx_ssrc = 0;
29 std::string rsid;
30
31 bool remb = false;
32 std::vector<RtpExtension> rtp_extensions;
33
34 RtcpMode rtcp_mode = RtcpMode::kReducedSize;
35
36 struct Codec {
37 Codec(const std::string& payload_name,
38 int payload_type,
39 int rtx_payload_type)
40 : payload_name(payload_name),
41 payload_type(payload_type),
42 rtx_payload_type(rtx_payload_type) {}
43
44 std::string payload_name;
45 int payload_type;
46 int rtx_payload_type;
47 };
48 std::vector<Codec> codecs;
49 };
50
51 } // namespace rtclog
52 } // namespace webrtc
53
54 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_STREAM_CONFIG_H_
OLDNEW
« webrtc/logging/rtc_event_log/rtc_event_log.h ('K') | « webrtc/logging/rtc_event_log/rtc_event_log.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698