| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 public: | 55 public: |
| 56 RtpStreamReceiver(vcm::VideoReceiver* video_receiver, | 56 RtpStreamReceiver(vcm::VideoReceiver* video_receiver, |
| 57 RemoteBitrateEstimator* remote_bitrate_estimator, | 57 RemoteBitrateEstimator* remote_bitrate_estimator, |
| 58 Transport* transport, | 58 Transport* transport, |
| 59 RtcpRttStats* rtt_stats, | 59 RtcpRttStats* rtt_stats, |
| 60 PacedSender* paced_sender, | 60 PacedSender* paced_sender, |
| 61 PacketRouter* packet_router, | 61 PacketRouter* packet_router, |
| 62 VieRemb* remb, | 62 VieRemb* remb, |
| 63 const VideoReceiveStream::Config* config, | 63 const VideoReceiveStream::Config* config, |
| 64 ReceiveStatisticsProxy* receive_stats_proxy, | 64 ReceiveStatisticsProxy* receive_stats_proxy, |
| 65 ProcessThread* process_thread); | 65 ProcessThread* process_thread, |
| 66 RateLimiter* retransmission_rate_limiter); |
| 66 ~RtpStreamReceiver(); | 67 ~RtpStreamReceiver(); |
| 67 | 68 |
| 68 bool SetReceiveCodec(const VideoCodec& video_codec); | 69 bool SetReceiveCodec(const VideoCodec& video_codec); |
| 69 | 70 |
| 70 uint32_t GetRemoteSsrc() const; | 71 uint32_t GetRemoteSsrc() const; |
| 71 int GetCsrcs(uint32_t* csrcs) const; | 72 int GetCsrcs(uint32_t* csrcs) const; |
| 72 | 73 |
| 73 RtpReceiver* GetRtpReceiver() const; | 74 RtpReceiver* GetRtpReceiver() const; |
| 74 RtpRtcp* rtp_rtcp() const { return rtp_rtcp_.get(); } | 75 RtpRtcp* rtp_rtcp() const { return rtp_rtcp_.get(); } |
| 75 | 76 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 uint8_t restored_packet_[IP_PACKET_SIZE] GUARDED_BY(receive_cs_); | 150 uint8_t restored_packet_[IP_PACKET_SIZE] GUARDED_BY(receive_cs_); |
| 150 bool restored_packet_in_use_ GUARDED_BY(receive_cs_); | 151 bool restored_packet_in_use_ GUARDED_BY(receive_cs_); |
| 151 int64_t last_packet_log_ms_ GUARDED_BY(receive_cs_); | 152 int64_t last_packet_log_ms_ GUARDED_BY(receive_cs_); |
| 152 | 153 |
| 153 const std::unique_ptr<RtpRtcp> rtp_rtcp_; | 154 const std::unique_ptr<RtpRtcp> rtp_rtcp_; |
| 154 }; | 155 }; |
| 155 | 156 |
| 156 } // namespace webrtc | 157 } // namespace webrtc |
| 157 | 158 |
| 158 #endif // WEBRTC_VIDEO_RTP_STREAM_RECEIVER_H_ | 159 #endif // WEBRTC_VIDEO_RTP_STREAM_RECEIVER_H_ |
| OLD | NEW |