1 /* 2 * Copyright (c) 2012 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 MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ 12 #define MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ 13 14 #include <memory> 15 16 #include "absl/base/attributes.h" 17 #include "modules/rtp_rtcp/source/rtp_rtcp_interface.h" 18 19 namespace webrtc { 20 21 class ABSL_DEPRECATED("") RtpRtcp : public RtpRtcpInterface { 22 public: 23 // Instantiates a deprecated version of the RtpRtcp module. 24 static std::unique_ptr<RtpRtcp> ABSL_DEPRECATED("") Create(const Configuration & configuration)25 Create(const Configuration& configuration) { 26 return DEPRECATED_Create(configuration); 27 } 28 29 static std::unique_ptr<RtpRtcp> DEPRECATED_Create( 30 const Configuration& configuration); 31 32 // Process any pending tasks such as timeouts. 33 virtual void Process() = 0; 34 }; 35 36 } // namespace webrtc 37 38 #endif // MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ 39