• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_AUDIO_PLAYOUT_H_
12 #define LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_AUDIO_PLAYOUT_H_
13 
14 #include <stdint.h>
15 
16 #include <memory>
17 
18 #include "api/rtc_event_log/rtc_event.h"
19 
20 namespace webrtc {
21 
22 class RtcEventAudioPlayout final : public RtcEvent {
23  public:
24   explicit RtcEventAudioPlayout(uint32_t ssrc);
25   ~RtcEventAudioPlayout() override = default;
26 
27   Type GetType() const override;
28 
29   bool IsConfigEvent() const override;
30 
31   std::unique_ptr<RtcEventAudioPlayout> Copy() const;
32 
ssrc()33   uint32_t ssrc() const { return ssrc_; }
34 
35  private:
36   RtcEventAudioPlayout(const RtcEventAudioPlayout& other);
37 
38   const uint32_t ssrc_;
39 };
40 
41 }  // namespace webrtc
42 
43 #endif  // LOGGING_RTC_EVENT_LOG_EVENTS_RTC_EVENT_AUDIO_PLAYOUT_H_
44