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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h

Issue 2946413002: Report timing frames info in GetStats. (Closed)
Patch Set: rebase Created 3 years, 5 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/source/rtp_packet_to_send.h
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h b/webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h
index 55bad2d502c0ce360da956489c83a62c457b8eef..5d5b31b39bc06271bf0ba6b628a263b473099991 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h
+++ b/webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h
@@ -32,26 +32,26 @@ class RtpPacketToSend : public rtp::Packet {
void set_packetization_finish_time_ms(int64_t time) {
SetExtension<VideoTimingExtension>(
- VideoTiming::GetDeltaCappedMs(capture_time_ms_, time),
- VideoTiming::kPacketizationFinishDeltaIdx);
+ VideoSendTiming::GetDeltaCappedMs(capture_time_ms_, time),
+ VideoSendTiming::kPacketizationFinishDeltaIdx);
}
void set_pacer_exit_time_ms(int64_t time) {
SetExtension<VideoTimingExtension>(
- VideoTiming::GetDeltaCappedMs(capture_time_ms_, time),
- VideoTiming::kPacerExitDeltaIdx);
+ VideoSendTiming::GetDeltaCappedMs(capture_time_ms_, time),
+ VideoSendTiming::kPacerExitDeltaIdx);
}
void set_network_time_ms(int64_t time) {
SetExtension<VideoTimingExtension>(
- VideoTiming::GetDeltaCappedMs(capture_time_ms_, time),
- VideoTiming::kNetworkTimestampDeltaIdx);
+ VideoSendTiming::GetDeltaCappedMs(capture_time_ms_, time),
+ VideoSendTiming::kNetworkTimestampDeltaIdx);
}
void set_network2_time_ms(int64_t time) {
SetExtension<VideoTimingExtension>(
- VideoTiming::GetDeltaCappedMs(capture_time_ms_, time),
- VideoTiming::kNetwork2TimestampDeltaIdx);
+ VideoSendTiming::GetDeltaCappedMs(capture_time_ms_, time),
+ VideoSendTiming::kNetwork2TimestampDeltaIdx);
}
private:
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698