OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (c) 2016 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 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_defines_nullimpl.h" |
| 12 |
| 13 namespace webrtc { |
| 14 |
| 15 int32_t NullRtpFeedback::OnInitializeDecoder( |
| 16 int8_t payload_type, |
| 17 const char payloadName[RTP_PAYLOAD_NAME_SIZE], |
| 18 int frequency, |
| 19 size_t channels, |
| 20 uint32_t rate) { |
| 21 return 0; |
| 22 } |
| 23 |
| 24 int32_t NullRtpData::OnReceivedPayloadData(const uint8_t* payload_data, |
| 25 size_t payload_size, |
| 26 const WebRtcRTPHeader* rtp_header) { |
| 27 return 0; |
| 28 } |
| 29 |
| 30 bool NullRtpData::OnRecoveredPacket(const uint8_t* packet, |
| 31 size_t packet_length) { |
| 32 return true; |
| 33 } |
| 34 |
| 35 } // namespace webrtc |
OLD | NEW |