| 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 16 matching lines...) Expand all Loading... |
| 27 virtual ~RTPReceiverVideo(); | 27 virtual ~RTPReceiverVideo(); |
| 28 | 28 |
| 29 int32_t ParseRtpPacket(WebRtcRTPHeader* rtp_header, | 29 int32_t ParseRtpPacket(WebRtcRTPHeader* rtp_header, |
| 30 const PayloadUnion& specific_payload, | 30 const PayloadUnion& specific_payload, |
| 31 bool is_red, | 31 bool is_red, |
| 32 const uint8_t* packet, | 32 const uint8_t* packet, |
| 33 size_t packet_length, | 33 size_t packet_length, |
| 34 int64_t timestamp, | 34 int64_t timestamp, |
| 35 bool is_first_packet) override; | 35 bool is_first_packet) override; |
| 36 | 36 |
| 37 TelephoneEventHandler* GetTelephoneEventHandler() override { return NULL; } | 37 TelephoneEventHandler* GetTelephoneEventHandler() { return NULL; } |
| 38 | 38 |
| 39 int GetPayloadTypeFrequency() const override; | 39 int GetPayloadTypeFrequency() const override; |
| 40 | 40 |
| 41 RTPAliveType ProcessDeadOrAlive(uint16_t last_payload_length) const override; | 41 RTPAliveType ProcessDeadOrAlive(uint16_t last_payload_length) const override; |
| 42 | 42 |
| 43 bool ShouldReportCsrcChanges(uint8_t payload_type) const override; | 43 bool ShouldReportCsrcChanges(uint8_t payload_type) const override; |
| 44 | 44 |
| 45 int32_t OnNewPayloadTypeCreated( | 45 int32_t OnNewPayloadTypeCreated( |
| 46 const char payload_name[RTP_PAYLOAD_NAME_SIZE], | 46 const char payload_name[RTP_PAYLOAD_NAME_SIZE], |
| 47 int8_t payload_type, | 47 int8_t payload_type, |
| 48 uint32_t frequency) override; | 48 uint32_t frequency) override; |
| 49 | 49 |
| 50 int32_t InvokeOnInitializeDecoder( | 50 int32_t InvokeOnInitializeDecoder( |
| 51 RtpFeedback* callback, | 51 RtpFeedback* callback, |
| 52 int8_t payload_type, | 52 int8_t payload_type, |
| 53 const char payload_name[RTP_PAYLOAD_NAME_SIZE], | 53 const char payload_name[RTP_PAYLOAD_NAME_SIZE], |
| 54 const PayloadUnion& specific_payload) const override; | 54 const PayloadUnion& specific_payload) const override; |
| 55 | 55 |
| 56 void SetPacketOverHead(uint16_t packet_over_head); | 56 void SetPacketOverHead(uint16_t packet_over_head); |
| 57 | 57 |
| 58 private: | 58 private: |
| 59 OneTimeEvent first_packet_received_; | 59 OneTimeEvent first_packet_received_; |
| 60 }; | 60 }; |
| 61 } // namespace webrtc | 61 } // namespace webrtc |
| 62 | 62 |
| 63 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RECEIVER_VIDEO_H_ | 63 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RECEIVER_VIDEO_H_ |
| OLD | NEW |