Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_receiver_video.h

Issue 2357583002: Remove unnecessary interface TelephoneEventHandler (Closed)
Patch Set: rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
38 int GetPayloadTypeFrequency() const override; 36 int GetPayloadTypeFrequency() const override;
39 37
40 RTPAliveType ProcessDeadOrAlive(uint16_t last_payload_length) const override; 38 RTPAliveType ProcessDeadOrAlive(uint16_t last_payload_length) const override;
41 39
42 bool ShouldReportCsrcChanges(uint8_t payload_type) const override; 40 bool ShouldReportCsrcChanges(uint8_t payload_type) const override;
43 41
44 int32_t OnNewPayloadTypeCreated( 42 int32_t OnNewPayloadTypeCreated(
45 const char payload_name[RTP_PAYLOAD_NAME_SIZE], 43 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
46 int8_t payload_type, 44 int8_t payload_type,
47 uint32_t frequency) override; 45 uint32_t frequency) override;
48 46
49 int32_t InvokeOnInitializeDecoder( 47 int32_t InvokeOnInitializeDecoder(
50 RtpFeedback* callback, 48 RtpFeedback* callback,
51 int8_t payload_type, 49 int8_t payload_type,
52 const char payload_name[RTP_PAYLOAD_NAME_SIZE], 50 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
53 const PayloadUnion& specific_payload) const override; 51 const PayloadUnion& specific_payload) const override;
54 52
55 void SetPacketOverHead(uint16_t packet_over_head); 53 void SetPacketOverHead(uint16_t packet_over_head);
56 54
57 private: 55 private:
58 OneTimeEvent first_packet_received_; 56 OneTimeEvent first_packet_received_;
59 }; 57 };
60 } // namespace webrtc 58 } // namespace webrtc
61 59
62 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RECEIVER_VIDEO_H_ 60 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RECEIVER_VIDEO_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_receiver_strategy.h ('k') | webrtc/modules/rtp_rtcp/test/testAPI/test_api_audio.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698