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

Unified Diff: remoting/protocol/frame_stats.cc

Issue 2767193007: [Chromoting] Send DesktopFrame::capturer_id() to client through WebrtcVideoStream (Closed)
Patch Set: crash in msan Created 3 years, 9 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
« no previous file with comments | « remoting/protocol/frame_stats.h ('k') | remoting/protocol/webrtc_video_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/frame_stats.cc
diff --git a/remoting/protocol/frame_stats.cc b/remoting/protocol/frame_stats.cc
index ca9ad4b75434c84f9b594446f91893b60bebfd75..2c73e909f2167adf96abc7ba91a20223273873fe 100644
--- a/remoting/protocol/frame_stats.cc
+++ b/remoting/protocol/frame_stats.cc
@@ -133,6 +133,9 @@ void HostFrameStats::ToFrameStatsMessage(FrameStatsMessage* message_out) const {
if (bandwidth_estimate_kbps >= 0) {
message_out->set_bandwidth_estimate_kbps(bandwidth_estimate_kbps);
}
+ if (capturer_id != webrtc::DesktopCapturerId::kUnknown) {
+ message_out->set_capturer_id(capturer_id);
+ }
}
FrameStats::FrameStats() = default;
« no previous file with comments | « remoting/protocol/frame_stats.h ('k') | remoting/protocol/webrtc_video_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698