| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 int frequency, | 116 int frequency, |
| 117 size_t channels, | 117 size_t channels, |
| 118 uint32_t rate) override; | 118 uint32_t rate) override; |
| 119 void OnIncomingSSRCChanged(uint32_t ssrc) override; | 119 void OnIncomingSSRCChanged(uint32_t ssrc) override; |
| 120 void OnIncomingCSRCChanged(uint32_t CSRC, bool added) override {} | 120 void OnIncomingCSRCChanged(uint32_t CSRC, bool added) override {} |
| 121 | 121 |
| 122 // Implements VCMFrameTypeCallback. | 122 // Implements VCMFrameTypeCallback. |
| 123 int32_t RequestKeyFrame() override; | 123 int32_t RequestKeyFrame() override; |
| 124 int32_t SliceLossIndicationRequest(const uint64_t picture_id) override; | 124 int32_t SliceLossIndicationRequest(const uint64_t picture_id) override; |
| 125 | 125 |
| 126 bool IsFecEnabled() const; | 126 bool IsUlpfecEnabled() const; |
| 127 bool IsRetransmissionsEnabled() const; | 127 bool IsRetransmissionsEnabled() const; |
| 128 // Don't use, still experimental. | 128 // Don't use, still experimental. |
| 129 void RequestPacketRetransmit(const std::vector<uint16_t>& sequence_numbers); | 129 void RequestPacketRetransmit(const std::vector<uint16_t>& sequence_numbers); |
| 130 | 130 |
| 131 // Implements VCMPacketRequestCallback. | 131 // Implements VCMPacketRequestCallback. |
| 132 int32_t ResendPackets(const uint16_t* sequenceNumbers, | 132 int32_t ResendPackets(const uint16_t* sequenceNumbers, |
| 133 uint16_t length) override; | 133 uint16_t length) override; |
| 134 | 134 |
| 135 // Implements OnReceivedFrameCallback. | 135 // Implements OnReceivedFrameCallback. |
| 136 void OnReceivedFrame( | 136 void OnReceivedFrame( |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 std::unique_ptr<video_coding::RtpFrameReferenceFinder> reference_finder_; | 194 std::unique_ptr<video_coding::RtpFrameReferenceFinder> reference_finder_; |
| 195 rtc::CriticalSection last_seq_num_cs_; | 195 rtc::CriticalSection last_seq_num_cs_; |
| 196 std::map<uint16_t, uint16_t, DescendingSeqNumComp<uint16_t>> | 196 std::map<uint16_t, uint16_t, DescendingSeqNumComp<uint16_t>> |
| 197 last_seq_num_for_pic_id_ GUARDED_BY(last_seq_num_cs_); | 197 last_seq_num_for_pic_id_ GUARDED_BY(last_seq_num_cs_); |
| 198 video_coding::H264SpsPpsTracker tracker_; | 198 video_coding::H264SpsPpsTracker tracker_; |
| 199 }; | 199 }; |
| 200 | 200 |
| 201 } // namespace webrtc | 201 } // namespace webrtc |
| 202 | 202 |
| 203 #endif // WEBRTC_VIDEO_RTP_STREAM_RECEIVER_H_ | 203 #endif // WEBRTC_VIDEO_RTP_STREAM_RECEIVER_H_ |
| OLD | NEW |