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

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

Issue 3013523002: Move StreamConfig into its own file (Closed)
Patch Set: . 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/api/rtpparameters.h"
18 #include "webrtc/common_types.h"
19
20 namespace webrtc {
21 namespace rtclog {
22
23 struct StreamConfig {
24 uint32_t local_ssrc = 0;
25 uint32_t remote_ssrc = 0;
26 uint32_t rtx_ssrc = 0;
27 std::string rsid;
28
29 bool remb = false;
30 std::vector<RtpExtension> rtp_extensions;
31
32 RtcpMode rtcp_mode = RtcpMode::kReducedSize;
33
34 struct Codec {
35 Codec(const std::string& payload_name,
36 int payload_type,
37 int rtx_payload_type)
38 : payload_name(payload_name),
39 payload_type(payload_type),
40 rtx_payload_type(rtx_payload_type) {}
41
42 std::string payload_name;
43 int payload_type;
44 int rtx_payload_type;
45 };
46 std::vector<Codec> codecs;
47 };
48
49 } // namespace rtclog
50 } // namespace webrtc
51
52 #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