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

Side by Side Diff: video/video_receive_stream.h

Issue 3017613002: Continuously request keyframes if decoding does not recover. (Closed)
Patch Set: Created 3 years, 2 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 unified diff | Download patch
« no previous file with comments | « no previous file | video/video_receive_stream.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 std::unique_ptr<RtpStreamReceiverInterface> media_receiver_; 148 std::unique_ptr<RtpStreamReceiverInterface> media_receiver_;
149 std::unique_ptr<RtxReceiveStream> rtx_receive_stream_; 149 std::unique_ptr<RtxReceiveStream> rtx_receive_stream_;
150 std::unique_ptr<RtpStreamReceiverInterface> rtx_receiver_; 150 std::unique_ptr<RtpStreamReceiverInterface> rtx_receiver_;
151 151
152 // Whenever we are in an undecodable state (stream has just started or due to 152 // Whenever we are in an undecodable state (stream has just started or due to
153 // a decoding error) we require a keyframe to restart the stream. 153 // a decoding error) we require a keyframe to restart the stream.
154 bool keyframe_required_ = true; 154 bool keyframe_required_ = true;
155 155
156 // If we have successfully decoded any frame. 156 // If we have successfully decoded any frame.
157 bool frame_decoded_ = false; 157 bool frame_decoded_ = false;
158
159 int64_t last_keyframe_request_ms_ = 0;
158 }; 160 };
159 } // namespace internal 161 } // namespace internal
160 } // namespace webrtc 162 } // namespace webrtc
161 163
162 #endif // VIDEO_VIDEO_RECEIVE_STREAM_H_ 164 #endif // VIDEO_VIDEO_RECEIVE_STREAM_H_
OLDNEW
« no previous file with comments | « no previous file | video/video_receive_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698