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

Side by Side Diff: webrtc/video/rtp_stream_receiver.h

Issue 2874933004: Request keyframe if the first received frame is not a keyframe. (Closed)
Patch Set: Created 3 years, 7 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 | webrtc/video/rtp_stream_receiver.cc » ('j') | webrtc/video/rtp_stream_receiver.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 std::unique_ptr<video_coding::RtpFrameReferenceFinder> reference_finder_; 185 std::unique_ptr<video_coding::RtpFrameReferenceFinder> reference_finder_;
186 rtc::CriticalSection last_seq_num_cs_; 186 rtc::CriticalSection last_seq_num_cs_;
187 std::map<uint16_t, uint16_t, DescendingSeqNumComp<uint16_t>> 187 std::map<uint16_t, uint16_t, DescendingSeqNumComp<uint16_t>>
188 last_seq_num_for_pic_id_ GUARDED_BY(last_seq_num_cs_); 188 last_seq_num_for_pic_id_ GUARDED_BY(last_seq_num_cs_);
189 video_coding::H264SpsPpsTracker tracker_; 189 video_coding::H264SpsPpsTracker tracker_;
190 // TODO(johan): Remove pt_codec_params_ once 190 // TODO(johan): Remove pt_codec_params_ once
191 // https://bugs.chromium.org/p/webrtc/issues/detail?id=6883 is resolved. 191 // https://bugs.chromium.org/p/webrtc/issues/detail?id=6883 is resolved.
192 // Maps a payload type to a map of out-of-band supplied codec parameters. 192 // Maps a payload type to a map of out-of-band supplied codec parameters.
193 std::map<uint8_t, std::map<std::string, std::string>> pt_codec_params_; 193 std::map<uint8_t, std::map<std::string, std::string>> pt_codec_params_;
194 int16_t last_payload_type_ = -1; 194 int16_t last_payload_type_ = -1;
195
196 bool has_received_frame_;
195 }; 197 };
196 198
197 } // namespace webrtc 199 } // namespace webrtc
198 200
199 #endif // WEBRTC_VIDEO_RTP_STREAM_RECEIVER_H_ 201 #endif // WEBRTC_VIDEO_RTP_STREAM_RECEIVER_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/video/rtp_stream_receiver.cc » ('j') | webrtc/video/rtp_stream_receiver.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698