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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 const WebRtcRTPHeader* rtp_header) override; | 105 const WebRtcRTPHeader* rtp_header) override; |
106 // Implements RecoveredPacketReceiver. | 106 // Implements RecoveredPacketReceiver. |
107 void OnRecoveredPacket(const uint8_t* packet, size_t packet_length) override; | 107 void OnRecoveredPacket(const uint8_t* packet, size_t packet_length) override; |
108 | 108 |
109 // Implements RtpFeedback. | 109 // Implements RtpFeedback. |
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 | 120 |
121 bool IsUlpfecEnabled() const; | 121 bool IsUlpfecEnabled() const; |
122 bool IsRetransmissionsEnabled() const; | 122 bool IsRetransmissionsEnabled() const; |
123 // Don't use, still experimental. | 123 // Don't use, still experimental. |
124 void RequestPacketRetransmit(const std::vector<uint16_t>& sequence_numbers); | 124 void RequestPacketRetransmit(const std::vector<uint16_t>& sequence_numbers); |
125 | 125 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 // Maps a payload type to a map of out-of-band supplied codec parameters. | 197 // Maps a payload type to a map of out-of-band supplied codec parameters. |
198 std::map<uint8_t, std::map<std::string, std::string>> pt_codec_params_; | 198 std::map<uint8_t, std::map<std::string, std::string>> pt_codec_params_; |
199 int16_t last_payload_type_ = -1; | 199 int16_t last_payload_type_ = -1; |
200 | 200 |
201 bool has_received_frame_; | 201 bool has_received_frame_; |
202 }; | 202 }; |
203 | 203 |
204 } // namespace webrtc | 204 } // namespace webrtc |
205 | 205 |
206 #endif // WEBRTC_VIDEO_RTP_VIDEO_STREAM_RECEIVER_H_ | 206 #endif // WEBRTC_VIDEO_RTP_VIDEO_STREAM_RECEIVER_H_ |
OLD | NEW |