blob: 4a09873f37c7aa2de08b1c9a31551e2d2e9f7f7a [file] [log] [blame]
eladalon4bb3b9c2017-09-11 07:25:26 -07001/*
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
20namespace webrtc {
21namespace rtclog {
22
23struct StreamConfig {
24 StreamConfig();
25 ~StreamConfig();
26
27 uint32_t local_ssrc = 0;
28 uint32_t remote_ssrc = 0;
29 uint32_t rtx_ssrc = 0;
30 std::string rsid;
31
32 bool remb = false;
33 std::vector<RtpExtension> rtp_extensions;
34
35 RtcpMode rtcp_mode = RtcpMode::kReducedSize;
36
37 struct Codec {
38 Codec(const std::string& payload_name,
39 int payload_type,
40 int rtx_payload_type);
41
42 std::string payload_name;
43 int payload_type;
44 int rtx_payload_type;
45 };
46
47 std::vector<Codec> codecs;
48};
49
50} // namespace rtclog
51} // namespace webrtc
52
53#endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RTC_STREAM_CONFIG_H_