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