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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 int32_t OnInitializeDecoder(int8_t payload_type, | 110 int32_t OnInitializeDecoder(int8_t payload_type, |
111 const char payload_name[RTP_PAYLOAD_NAME_SIZE], | 111 const char payload_name[RTP_PAYLOAD_NAME_SIZE], |
112 int frequency, | 112 int frequency, |
113 size_t channels, | 113 size_t channels, |
114 uint32_t rate) override; | 114 uint32_t rate) override; |
115 void OnIncomingSSRCChanged(uint32_t ssrc) override; | 115 void OnIncomingSSRCChanged(uint32_t ssrc) override; |
116 void OnIncomingCSRCChanged(uint32_t CSRC, bool added) override {} | 116 void OnIncomingCSRCChanged(uint32_t CSRC, bool added) override {} |
117 | 117 |
118 // Implements VCMFrameTypeCallback. | 118 // Implements VCMFrameTypeCallback. |
119 int32_t RequestKeyFrame() override; | 119 int32_t RequestKeyFrame() override; |
120 int32_t SliceLossIndicationRequest(const uint64_t picture_id) override; | |
121 | 120 |
122 bool IsUlpfecEnabled() const; | 121 bool IsUlpfecEnabled() const; |
123 bool IsRetransmissionsEnabled() const; | 122 bool IsRetransmissionsEnabled() const; |
124 // Don't use, still experimental. | 123 // Don't use, still experimental. |
125 void RequestPacketRetransmit(const std::vector<uint16_t>& sequence_numbers); | 124 void RequestPacketRetransmit(const std::vector<uint16_t>& sequence_numbers); |
126 | 125 |
127 // Implements VCMPacketRequestCallback. | 126 // Implements VCMPacketRequestCallback. |
128 int32_t ResendPackets(const uint16_t* sequenceNumbers, | 127 int32_t ResendPackets(const uint16_t* sequenceNumbers, |
129 uint16_t length) override; | 128 uint16_t length) override; |
130 | 129 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 // TODO(johan): Remove pt_codec_params_ once | 193 // TODO(johan): Remove pt_codec_params_ once |
195 // https://bugs.chromium.org/p/webrtc/issues/detail?id=6883 is resolved. | 194 // https://bugs.chromium.org/p/webrtc/issues/detail?id=6883 is resolved. |
196 // Maps a payload type to a map of out-of-band supplied codec parameters. | 195 // Maps a payload type to a map of out-of-band supplied codec parameters. |
197 std::map<uint8_t, std::map<std::string, std::string>> pt_codec_params_; | 196 std::map<uint8_t, std::map<std::string, std::string>> pt_codec_params_; |
198 int16_t last_payload_type_ = -1; | 197 int16_t last_payload_type_ = -1; |
199 }; | 198 }; |
200 | 199 |
201 } // namespace webrtc | 200 } // namespace webrtc |
202 | 201 |
203 #endif // WEBRTC_VIDEO_RTP_STREAM_RECEIVER_H_ | 202 #endif // WEBRTC_VIDEO_RTP_STREAM_RECEIVER_H_ |
OLD | NEW |