jitter_buffer_delay_proxy.h 935 B

12345678910111213141516171819202122232425262728293031
  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. #ifndef PC_JITTER_BUFFER_DELAY_PROXY_H_
  11. #define PC_JITTER_BUFFER_DELAY_PROXY_H_
  12. #include <stdint.h>
  13. #include "api/proxy.h"
  14. #include "media/base/delayable.h"
  15. #include "pc/jitter_buffer_delay_interface.h"
  16. namespace webrtc {
  17. BEGIN_PROXY_MAP(JitterBufferDelay)
  18. PROXY_SIGNALING_THREAD_DESTRUCTOR()
  19. PROXY_METHOD2(void, OnStart, cricket::Delayable*, uint32_t)
  20. PROXY_METHOD0(void, OnStop)
  21. PROXY_WORKER_METHOD1(void, Set, absl::optional<double>)
  22. END_PROXY_MAP()
  23. } // namespace webrtc
  24. #endif // PC_JITTER_BUFFER_DELAY_PROXY_H_