| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 // encoder report that it has timed out before it has processed the first | 262 // encoder report that it has timed out before it has processed the first |
| 263 // frame. | 263 // frame. |
| 264 if (last_observed_bitrate_bps_ != 0 && | 264 if (last_observed_bitrate_bps_ != 0 && |
| 265 time_of_last_frame_activity_ms_ == | 265 time_of_last_frame_activity_ms_ == |
| 266 std::numeric_limits<int64_t>::max()) { | 266 std::numeric_limits<int64_t>::max()) { |
| 267 time_of_last_frame_activity_ms_ = rtc::TimeMillis(); | 267 time_of_last_frame_activity_ms_ = rtc::TimeMillis(); |
| 268 } | 268 } |
| 269 } | 269 } |
| 270 | 270 |
| 271 if (stats_proxy_ && video_suspension_changed) { | 271 if (stats_proxy_ && video_suspension_changed) { |
| 272 LOG(LS_INFO) << "Video suspend state changed " << video_is_suspended; | 272 LOG(LS_INFO) << "Video suspend state changed to: " |
| 273 << (video_is_suspended ? "suspended" : "not suspended"); |
| 273 stats_proxy_->OnSuspendChange(video_is_suspended); | 274 stats_proxy_->OnSuspendChange(video_is_suspended); |
| 274 } | 275 } |
| 275 } | 276 } |
| 276 | 277 |
| 277 } // namespace webrtc | 278 } // namespace webrtc |
| OLD | NEW |