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

Unified Diff: webrtc/call/call.cc

Issue 1478253002: Add histogram stats for send delay for a sent video stream. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/call/rtc_event_log_unittest.cc » ('j') | webrtc/video/send_statistics_proxy.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/call/call.cc
diff --git a/webrtc/call/call.cc b/webrtc/call/call.cc
index 441de87ef4983fc7ee0fd0c88486d3828bbf04b5..cd4c75bfeea41201acd766ba37ce68a4289002fa 100644
--- a/webrtc/call/call.cc
+++ b/webrtc/call/call.cc
@@ -568,6 +568,11 @@ void Call::OnSentPacket(const rtc::SentPacket& sent_packet) {
if (first_packet_sent_ms_ == -1)
first_packet_sent_ms_ = clock_->TimeInMilliseconds();
congestion_controller_->OnSentPacket(sent_packet);
+
+ ReadLockScoped read_lock(*send_crit_);
+ for (VideoSendStream* stream : video_send_streams_) {
pbos-webrtc 2015/12/07 06:06:52 Can you somehow know which stream to deliver to he
åsapersson 2015/12/08 12:50:15 No don't know which stream it belongs to here (but
+ stream->OnSentPacket(sent_packet.packet_id);
+ }
}
void Call::OnNetworkChanged(uint32_t target_bitrate_bps, uint8_t fraction_loss,
« no previous file with comments | « no previous file | webrtc/call/rtc_event_log_unittest.cc » ('j') | webrtc/video/send_statistics_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698