| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 RTPReceiverVideo::~RTPReceiverVideo() { | 38 RTPReceiverVideo::~RTPReceiverVideo() { |
| 39 } | 39 } |
| 40 | 40 |
| 41 bool RTPReceiverVideo::ShouldReportCsrcChanges(uint8_t payload_type) const { | 41 bool RTPReceiverVideo::ShouldReportCsrcChanges(uint8_t payload_type) const { |
| 42 // Always do this for video packets. | 42 // Always do this for video packets. |
| 43 return true; | 43 return true; |
| 44 } | 44 } |
| 45 | 45 |
| 46 int32_t RTPReceiverVideo::OnNewPayloadTypeCreated( | 46 int32_t RTPReceiverVideo::OnNewPayloadTypeCreated( |
| 47 const char payload_name[RTP_PAYLOAD_NAME_SIZE], | 47 const CodecInst& audio_codec) { |
| 48 int8_t payload_type, | 48 RTC_NOTREACHED(); |
| 49 uint32_t frequency) { | |
| 50 return 0; | 49 return 0; |
| 51 } | 50 } |
| 52 | 51 |
| 53 int32_t RTPReceiverVideo::ParseRtpPacket(WebRtcRTPHeader* rtp_header, | 52 int32_t RTPReceiverVideo::ParseRtpPacket(WebRtcRTPHeader* rtp_header, |
| 54 const PayloadUnion& specific_payload, | 53 const PayloadUnion& specific_payload, |
| 55 bool is_red, | 54 bool is_red, |
| 56 const uint8_t* payload, | 55 const uint8_t* payload, |
| 57 size_t payload_length, | 56 size_t payload_length, |
| 58 int64_t timestamp_ms, | 57 int64_t timestamp_ms, |
| 59 bool is_first_packet) { | 58 bool is_first_packet) { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 RtpFeedback* callback, | 116 RtpFeedback* callback, |
| 118 int8_t payload_type, | 117 int8_t payload_type, |
| 119 const char payload_name[RTP_PAYLOAD_NAME_SIZE], | 118 const char payload_name[RTP_PAYLOAD_NAME_SIZE], |
| 120 const PayloadUnion& specific_payload) const { | 119 const PayloadUnion& specific_payload) const { |
| 121 // TODO(pbos): Remove as soon as audio can handle a changing payload type | 120 // TODO(pbos): Remove as soon as audio can handle a changing payload type |
| 122 // without this callback. | 121 // without this callback. |
| 123 return 0; | 122 return 0; |
| 124 } | 123 } |
| 125 | 124 |
| 126 } // namespace webrtc | 125 } // namespace webrtc |
| OLD | NEW |