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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 const VideoReceiveStream::Config* config, | 75 const VideoReceiveStream::Config* config, |
76 ReceiveStatisticsProxy* receive_stats_proxy, | 76 ReceiveStatisticsProxy* receive_stats_proxy, |
77 ProcessThread* process_thread, | 77 ProcessThread* process_thread, |
78 RateLimiter* retransmission_rate_limiter, | 78 RateLimiter* retransmission_rate_limiter, |
79 NackSender* nack_sender, | 79 NackSender* nack_sender, |
80 KeyFrameRequestSender* keyframe_request_sender, | 80 KeyFrameRequestSender* keyframe_request_sender, |
81 video_coding::OnCompleteFrameCallback* complete_frame_callback, | 81 video_coding::OnCompleteFrameCallback* complete_frame_callback, |
82 VCMTiming* timing); | 82 VCMTiming* timing); |
83 ~RtpStreamReceiver(); | 83 ~RtpStreamReceiver(); |
84 | 84 |
85 bool SetReceiveCodec(const VideoCodec& video_codec); | 85 bool AddReceiveCodec(const VideoCodec& video_codec); |
86 | 86 |
87 uint32_t GetRemoteSsrc() const; | 87 uint32_t GetRemoteSsrc() const; |
88 int GetCsrcs(uint32_t* csrcs) const; | 88 int GetCsrcs(uint32_t* csrcs) const; |
89 | 89 |
90 RtpReceiver* GetRtpReceiver() const; | 90 RtpReceiver* GetRtpReceiver() const; |
91 RtpRtcp* rtp_rtcp() const { return rtp_rtcp_.get(); } | 91 RtpRtcp* rtp_rtcp() const { return rtp_rtcp_.get(); } |
92 | 92 |
93 void StartReceive(); | 93 void StartReceive(); |
94 void StopReceive(); | 94 void StopReceive(); |
95 | 95 |
(...skipping 98 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 |