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

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

Issue 1493403003: modules/rtp_rtcp/include folder cleared of lint warnings (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: webrtc do not use newly depricated functions itself. Created 5 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 251
252 // Send a TelephoneEvent tone using RFC 2833 (4733). 252 // Send a TelephoneEvent tone using RFC 2833 (4733).
253 int32_t SendTelephoneEventOutband(uint8_t key, 253 int32_t SendTelephoneEventOutband(uint8_t key,
254 uint16_t time_ms, 254 uint16_t time_ms,
255 uint8_t level) override; 255 uint8_t level) override;
256 256
257 // Set payload type for Redundant Audio Data RFC 2198. 257 // Set payload type for Redundant Audio Data RFC 2198.
258 int32_t SetSendREDPayloadType(int8_t payload_type) override; 258 int32_t SetSendREDPayloadType(int8_t payload_type) override;
259 259
260 // Get payload type for Redundant Audio Data RFC 2198. 260 // Get payload type for Redundant Audio Data RFC 2198.
261 int32_t SendREDPayloadType(int8_t& payload_type) const override; 261 int32_t SendREDPayloadType(int8_t* payload_type) const override;
262 262
263 // Store the audio level in d_bov for header-extension-for-audio-level- 263 // Store the audio level in d_bov for header-extension-for-audio-level-
264 // indication. 264 // indication.
265 int32_t SetAudioLevel(uint8_t level_d_bov) override; 265 int32_t SetAudioLevel(uint8_t level_d_bov) override;
266 266
267 // Video part. 267 // Video part.
268 268
269 int32_t SendRTCPSliceLossIndication(uint8_t picture_id) override; 269 int32_t SendRTCPSliceLossIndication(uint8_t picture_id) override;
270 270
271 // Set method for requesting a new key frame. 271 // Set method for requesting a new key frame.
272 int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) override; 272 int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) override;
273 273
274 // Send a request for a keyframe. 274 // Send a request for a keyframe.
275 int32_t RequestKeyFrame() override; 275 int32_t RequestKeyFrame() override;
276 276
277 void SetTargetSendBitrate(uint32_t bitrate_bps) override; 277 void SetTargetSendBitrate(uint32_t bitrate_bps) override;
278 278
279 void SetGenericFECStatus(bool enable, 279 void SetGenericFECStatus(bool enable,
280 uint8_t payload_type_red, 280 uint8_t payload_type_red,
281 uint8_t payload_type_fec) override; 281 uint8_t payload_type_fec) override;
282 282
283 void GenericFECStatus(bool& enable, 283 void GenericFECStatus(bool* enable,
284 uint8_t& payload_type_red, 284 uint8_t* payload_type_red,
285 uint8_t& payload_type_fec) override; 285 uint8_t* payload_type_fec) override;
286 286
287 int32_t SetFecParameters(const FecProtectionParams* delta_params, 287 int32_t SetFecParameters(const FecProtectionParams* delta_params,
288 const FecProtectionParams* key_params) override; 288 const FecProtectionParams* key_params) override;
289 289
290 bool LastReceivedNTP(uint32_t* NTPsecs, 290 bool LastReceivedNTP(uint32_t* NTPsecs,
291 uint32_t* NTPfrac, 291 uint32_t* NTPfrac,
292 uint32_t* remote_sr) const; 292 uint32_t* remote_sr) const;
293 293
294 bool LastReceivedXrReferenceTimeInfo(RtcpReceiveTimeInfo* info) const; 294 bool LastReceivedXrReferenceTimeInfo(RtcpReceiveTimeInfo* info) const;
295 295
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 PacketLossStats receive_loss_stats_; 379 PacketLossStats receive_loss_stats_;
380 380
381 // The processed RTT from RtcpRttStats. 381 // The processed RTT from RtcpRttStats.
382 rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtt_; 382 rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtt_;
383 int64_t rtt_ms_; 383 int64_t rtt_ms_;
384 }; 384 };
385 385
386 } // namespace webrtc 386 } // namespace webrtc
387 387
388 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ 388 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698