blob: b3380fd2587480b89f28e29fcf48d771864d9d4f [file] [log] [blame]
Ruslan Burakov493a6502019-02-27 15:32:48 +01001/*
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 Burakov428dcb22019-04-18 17:49:49 +020011#ifndef PC_JITTER_BUFFER_DELAY_PROXY_H_
12#define PC_JITTER_BUFFER_DELAY_PROXY_H_
Ruslan Burakov493a6502019-02-27 15:32:48 +010013
14#include <stdint.h>
15
16#include "api/proxy.h"
17#include "media/base/delayable.h"
Ruslan Burakov428dcb22019-04-18 17:49:49 +020018#include "pc/jitter_buffer_delay_interface.h"
Ruslan Burakov493a6502019-02-27 15:32:48 +010019
20namespace webrtc {
21
Ruslan Burakov428dcb22019-04-18 17:49:49 +020022BEGIN_PROXY_MAP(JitterBufferDelay)
Ruslan Burakov493a6502019-02-27 15:32:48 +010023PROXY_SIGNALING_THREAD_DESTRUCTOR()
24PROXY_METHOD2(void, OnStart, cricket::Delayable*, uint32_t)
25PROXY_METHOD0(void, OnStop)
Ruslan Burakov428dcb22019-04-18 17:49:49 +020026PROXY_WORKER_METHOD1(void, Set, absl::optional<double>)
Ruslan Burakov493a6502019-02-27 15:32:48 +010027END_PROXY_MAP()
28
29} // namespace webrtc
30
Ruslan Burakov428dcb22019-04-18 17:49:49 +020031#endif // PC_JITTER_BUFFER_DELAY_PROXY_H_