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

Unified Diff: webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc

Issue 1376673004: Add a PacketOptions struct to webrtc::Transport. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: . Created 5 years, 3 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/test/testAPI/test_api.cc
diff --git a/webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc b/webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc
index 1540e5542eeee0f9be3906fa068334f3d2acfb1e..b66c71b40aa359f7a8a35c20e4f2c24b69c45012 100644
--- a/webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc
+++ b/webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc
@@ -30,7 +30,9 @@ void LoopBackTransport::DropEveryNthPacket(int n) {
packet_loss_ = n;
}
-bool LoopBackTransport::SendRtp(const uint8_t* data, size_t len) {
+bool LoopBackTransport::SendRtp(const uint8_t* data,
+ size_t len,
+ const PacketOptions& options) {
count_++;
if (packet_loss_ > 0) {
if ((count_ % packet_loss_) == 0) {

Powered by Google App Engine
This is Rietveld 408576698