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

Unified 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: Remove RTP FIR + test refactoring 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h
diff --git a/webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h b/webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h
index fdca434ca420ae9da66468b7ce4ed2e5263661a0..a262a07b6228683a1d42015a8b956ca856540297 100644
--- a/webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h
+++ b/webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h
@@ -65,7 +65,6 @@ enum ProtectionType {
};
enum StorageType {
- kDontStore,
kDontRetransmit,
kAllowRetransmission
};
@@ -108,12 +107,7 @@ enum RTCPPacketType : uint32_t {
kRtcpTransportFeedback = 0x100000,
};
-enum KeyFrameRequestMethod
-{
- kKeyFrameReqFirRtp = 1,
- kKeyFrameReqPliRtcp = 2,
- kKeyFrameReqFirRtcp = 3
-};
+enum KeyFrameRequestMethod { kKeyFrameReqPliRtcp, kKeyFrameReqFirRtcp };
enum RtpRtcpPacketType
{
@@ -404,12 +398,12 @@ class RtpPacketSender {
// Returns true if we send the packet now, else it will add the packet
// information to the queue and call TimeToSendPacket when it's time to send.
- virtual bool SendPacket(Priority priority,
- uint32_t ssrc,
- uint16_t sequence_number,
- int64_t capture_time_ms,
- size_t bytes,
- bool retransmission) = 0;
+ virtual void InsertPacket(Priority priority,
+ uint32_t ssrc,
+ uint16_t sequence_number,
+ int64_t capture_time_ms,
+ size_t bytes,
+ bool retransmission) = 0;
};
class TransportSequenceNumberAllocator {
« no previous file with comments | « webrtc/modules/remote_bitrate_estimator/test/packet_sender.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_packet_history.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698