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

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

Issue 2523843002: Send audio and video codecs to RTPPayloadRegistry (Closed)
Patch Set: Change strcpy to strncpy Created 4 years 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 21 matching lines...) Expand all
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; } 36 TelephoneEventHandler* GetTelephoneEventHandler() override { return NULL; }
37 37
38 RTPAliveType ProcessDeadOrAlive(uint16_t last_payload_length) const override; 38 RTPAliveType ProcessDeadOrAlive(uint16_t last_payload_length) const override;
39 39
40 bool ShouldReportCsrcChanges(uint8_t payload_type) const override; 40 bool ShouldReportCsrcChanges(uint8_t payload_type) const override;
41 41
42 int32_t OnNewPayloadTypeCreated( 42 int32_t OnNewPayloadTypeCreated(const CodecInst& audio_codec) override;
43 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
44 int8_t payload_type,
45 uint32_t frequency) override;
46 43
47 int32_t InvokeOnInitializeDecoder( 44 int32_t InvokeOnInitializeDecoder(
48 RtpFeedback* callback, 45 RtpFeedback* callback,
49 int8_t payload_type, 46 int8_t payload_type,
50 const char payload_name[RTP_PAYLOAD_NAME_SIZE], 47 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
51 const PayloadUnion& specific_payload) const override; 48 const PayloadUnion& specific_payload) const override;
52 49
53 void SetPacketOverHead(uint16_t packet_over_head); 50 void SetPacketOverHead(uint16_t packet_over_head);
54 51
55 private: 52 private:
56 OneTimeEvent first_packet_received_; 53 OneTimeEvent first_packet_received_;
57 }; 54 };
58 } // namespace webrtc 55 } // namespace webrtc
59 56
60 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RECEIVER_VIDEO_H_ 57 #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/source/rtp_receiver_video.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698