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

Side by Side Diff: webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h

Issue 1392513002: Disable pacer disabling. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 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 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 enum Priority { 397 enum Priority {
398 kHighPriority = 0, // Pass through; will be sent immediately. 398 kHighPriority = 0, // Pass through; will be sent immediately.
399 kNormalPriority = 2, // Put in back of the line. 399 kNormalPriority = 2, // Put in back of the line.
400 kLowPriority = 3, // Put in back of the low priority line. 400 kLowPriority = 3, // Put in back of the low priority line.
401 }; 401 };
402 // Low priority packets are mixed with the normal priority packets 402 // Low priority packets are mixed with the normal priority packets
403 // while we are paused. 403 // while we are paused.
404 404
405 // Returns true if we send the packet now, else it will add the packet 405 // Returns true if we send the packet now, else it will add the packet
406 // information to the queue and call TimeToSendPacket when it's time to send. 406 // information to the queue and call TimeToSendPacket when it's time to send.
407 virtual bool SendPacket(Priority priority, 407 virtual void InsertPacket(Priority priority,
408 uint32_t ssrc, 408 uint32_t ssrc,
409 uint16_t sequence_number, 409 uint16_t sequence_number,
410 int64_t capture_time_ms, 410 int64_t capture_time_ms,
411 size_t bytes, 411 size_t bytes,
412 bool retransmission) = 0; 412 bool retransmission) = 0;
413 }; 413 };
414 414
415 class TransportSequenceNumberAllocator { 415 class TransportSequenceNumberAllocator {
416 public: 416 public:
417 TransportSequenceNumberAllocator() {} 417 TransportSequenceNumberAllocator() {}
418 virtual ~TransportSequenceNumberAllocator() {} 418 virtual ~TransportSequenceNumberAllocator() {}
419 419
420 virtual uint16_t AllocateSequenceNumber() = 0; 420 virtual uint16_t AllocateSequenceNumber() = 0;
421 }; 421 };
422 422
423 } // namespace webrtc 423 } // namespace webrtc
424 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_DEFINES_H_ 424 #endif // WEBRTC_MODULES_RTP_RTCP_INTERFACE_RTP_RTCP_DEFINES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698