Ruslan Burakov | 493a650 | 2019-02-27 14:32:48 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2019 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 | |
Ruslan Burakov | 428dcb2 | 2019-04-18 15:49:49 | [diff] [blame] | 11 | #ifndef PC_JITTER_BUFFER_DELAY_PROXY_H_ |
| 12 | #define PC_JITTER_BUFFER_DELAY_PROXY_H_ |
Ruslan Burakov | 493a650 | 2019-02-27 14:32:48 | [diff] [blame] | 13 | |
| 14 | #include <stdint.h> |
| 15 | |
| 16 | #include "api/proxy.h" |
| 17 | #include "media/base/delayable.h" |
Ruslan Burakov | 428dcb2 | 2019-04-18 15:49:49 | [diff] [blame] | 18 | #include "pc/jitter_buffer_delay_interface.h" |
Ruslan Burakov | 493a650 | 2019-02-27 14:32:48 | [diff] [blame] | 19 | |
| 20 | namespace webrtc { |
| 21 | |
Ruslan Burakov | 428dcb2 | 2019-04-18 15:49:49 | [diff] [blame] | 22 | BEGIN_PROXY_MAP(JitterBufferDelay) |
Mirko Bonadei | 9d9b8de | 2021-02-26 08:51:26 | [diff] [blame] | 23 | PROXY_PRIMARY_THREAD_DESTRUCTOR() |
Ruslan Burakov | 493a650 | 2019-02-27 14:32:48 | [diff] [blame] | 24 | PROXY_METHOD2(void, OnStart, cricket::Delayable*, uint32_t) |
| 25 | PROXY_METHOD0(void, OnStop) |
Mirko Bonadei | 9d9b8de | 2021-02-26 08:51:26 | [diff] [blame] | 26 | PROXY_SECONDARY_METHOD1(void, Set, absl::optional<double>) |
Ruslan Burakov | 493a650 | 2019-02-27 14:32:48 | [diff] [blame] | 27 | END_PROXY_MAP() |
| 28 | |
| 29 | } // namespace webrtc |
| 30 | |
Ruslan Burakov | 428dcb2 | 2019-04-18 15:49:49 | [diff] [blame] | 31 | #endif // PC_JITTER_BUFFER_DELAY_PROXY_H_ |