OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_AUDIO_SEND_STREAM_CONFIG_H
_ | 11 #ifndef WEBRTC_LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_AUDIO_SEND_STREAM_CONFIG_H
_ |
12 #define WEBRTC_LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_AUDIO_SEND_STREAM_CONFIG_H
_ | 12 #define WEBRTC_LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_AUDIO_SEND_STREAM_CONFIG_H
_ |
13 | 13 |
| 14 #include <memory> |
| 15 |
14 #include "webrtc/logging/rtc_event_log/events/rtc_event.h" | 16 #include "webrtc/logging/rtc_event_log/events/rtc_event.h" |
15 | 17 |
16 namespace webrtc { | 18 namespace webrtc { |
17 | 19 |
| 20 namespace rtclog { |
| 21 struct StreamConfig; |
| 22 } // namespace rtclog |
| 23 |
18 class RtcEventAudioSendStreamConfig final : public RtcEvent { | 24 class RtcEventAudioSendStreamConfig final : public RtcEvent { |
19 public: | 25 public: |
20 ~RtcEventAudioSendStreamConfig() override = default; | 26 explicit RtcEventAudioSendStreamConfig( |
| 27 std::unique_ptr<rtclog::StreamConfig> config); |
| 28 ~RtcEventAudioSendStreamConfig() override; |
21 | 29 |
22 Type GetType() const override; | 30 Type GetType() const override; |
23 | 31 |
24 bool IsConfigEvent() const override; | 32 bool IsConfigEvent() const override; |
| 33 |
| 34 const std::unique_ptr<const rtclog::StreamConfig> config_; |
25 }; | 35 }; |
26 | 36 |
27 } // namespace webrtc | 37 } // namespace webrtc |
28 | 38 |
29 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_AUDIO_SEND_STREAM_CONFI
G_H_ | 39 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_AUDIO_SEND_STREAM_CONFI
G_H_ |
OLD | NEW |