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

Side by Side Diff: webrtc/video/rtp_stream_receiver.h

Issue 2064523002: GN: Add video_engine_tests (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: audio_receive_stream_unittest compile Created 4 years, 6 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 bool DeliverRtp(const uint8_t* rtp_packet, 79 bool DeliverRtp(const uint8_t* rtp_packet,
80 size_t rtp_packet_length, 80 size_t rtp_packet_length,
81 const PacketTime& packet_time); 81 const PacketTime& packet_time);
82 bool DeliverRtcp(const uint8_t* rtcp_packet, size_t rtcp_packet_length); 82 bool DeliverRtcp(const uint8_t* rtcp_packet, size_t rtcp_packet_length);
83 83
84 void SignalNetworkState(NetworkState state); 84 void SignalNetworkState(NetworkState state);
85 85
86 // Implements RtpData. 86 // Implements RtpData.
87 int32_t OnReceivedPayloadData(const uint8_t* payload_data, 87 int32_t OnReceivedPayloadData(const uint8_t* payload_data,
88 const size_t payload_size, 88 size_t payload_size,
89 const WebRtcRTPHeader* rtp_header) override; 89 const WebRtcRTPHeader* rtp_header) override;
90 bool OnRecoveredPacket(const uint8_t* packet, size_t packet_length) override; 90 bool OnRecoveredPacket(const uint8_t* packet, size_t packet_length) override;
91 91
92 // Implements RtpFeedback. 92 // Implements RtpFeedback.
93 int32_t OnInitializeDecoder(const int8_t payload_type, 93 int32_t OnInitializeDecoder(const int8_t payload_type,
94 const char payload_name[RTP_PAYLOAD_NAME_SIZE], 94 const char payload_name[RTP_PAYLOAD_NAME_SIZE],
95 const int frequency, 95 const int frequency,
96 const size_t channels, 96 const size_t channels,
97 const uint32_t rate) override; 97 const uint32_t rate) override;
98 void OnIncomingSSRCChanged(const uint32_t ssrc) override; 98 void OnIncomingSSRCChanged(const uint32_t ssrc) override;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 uint8_t restored_packet_[IP_PACKET_SIZE] GUARDED_BY(receive_cs_); 149 uint8_t restored_packet_[IP_PACKET_SIZE] GUARDED_BY(receive_cs_);
150 bool restored_packet_in_use_ GUARDED_BY(receive_cs_); 150 bool restored_packet_in_use_ GUARDED_BY(receive_cs_);
151 int64_t last_packet_log_ms_ GUARDED_BY(receive_cs_); 151 int64_t last_packet_log_ms_ GUARDED_BY(receive_cs_);
152 152
153 const std::unique_ptr<RtpRtcp> rtp_rtcp_; 153 const std::unique_ptr<RtpRtcp> rtp_rtcp_;
154 }; 154 };
155 155
156 } // namespace webrtc 156 } // namespace webrtc
157 157
158 #endif // WEBRTC_VIDEO_RTP_STREAM_RECEIVER_H_ 158 #endif // WEBRTC_VIDEO_RTP_STREAM_RECEIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698