OLD | NEW |
(Empty) | |
| 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 // Syncable is used by RtpStreamsSynchronizer in VideoReceiveStream, and |
| 12 // implemented by AudioReceiveStream. |
| 13 |
| 14 #ifndef WEBRTC_CALL_SYNCABLE_H_ |
| 15 #define WEBRTC_CALL_SYNCABLE_H_ |
| 16 |
| 17 #include <stdint.h> |
| 18 |
| 19 namespace webrtc { |
| 20 |
| 21 class RtpReceiver; |
| 22 class RtpRtcp; |
| 23 |
| 24 class Syncable { |
| 25 public: |
| 26 virtual ~Syncable(); |
| 27 virtual void GetRtpRtcp(RtpRtcp** rtp_rtcp, |
| 28 RtpReceiver** rtp_receiver) const = 0; |
| 29 virtual void GetDelayEstimate(int* jitter_buffer_delay_ms, |
| 30 int* playout_buffer_delay_ms) const = 0; |
| 31 virtual uint32_t GetPlayoutTimestamp() const = 0; |
| 32 virtual void SetMinimumPlayoutDelay(int delay_ms) = 0; |
| 33 virtual int id() const = 0; |
| 34 }; |
| 35 } // namespace webrtc |
| 36 |
| 37 #endif // WEBRTC_CALL_SYNCABLE_H_ |
OLD | NEW |