| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 | 56 |
| 57 void SetRtpRtcpModule(RtpRtcp* module); | 57 void SetRtpRtcpModule(RtpRtcp* module); |
| 58 | 58 |
| 59 RtpReceiver* GetRtpReceiver() const; | 59 RtpReceiver* GetRtpReceiver() const; |
| 60 | 60 |
| 61 void RegisterRtpRtcpModules(const std::vector<RtpRtcp*>& rtp_modules); | 61 void RegisterRtpRtcpModules(const std::vector<RtpRtcp*>& rtp_modules); |
| 62 | 62 |
| 63 bool SetReceiveTimestampOffsetStatus(bool enable, int id); | 63 bool SetReceiveTimestampOffsetStatus(bool enable, int id); |
| 64 bool SetReceiveAbsoluteSendTimeStatus(bool enable, int id); | 64 bool SetReceiveAbsoluteSendTimeStatus(bool enable, int id); |
| 65 bool SetReceiveVideoRotationStatus(bool enable, int id); | 65 bool SetReceiveVideoRotationStatus(bool enable, int id); |
| 66 bool SetReceiveTransportSequenceNumber(bool enable, int id); |
| 66 | 67 |
| 67 void StartReceive(); | 68 void StartReceive(); |
| 68 void StopReceive(); | 69 void StopReceive(); |
| 69 | 70 |
| 70 // Receives packets from external transport. | 71 // Receives packets from external transport. |
| 71 int ReceivedRTPPacket(const void* rtp_packet, size_t rtp_packet_length, | 72 int ReceivedRTPPacket(const void* rtp_packet, size_t rtp_packet_length, |
| 72 const PacketTime& packet_time); | 73 const PacketTime& packet_time); |
| 73 int ReceivedRTCPPacket(const void* rtcp_packet, size_t rtcp_packet_length); | 74 int ReceivedRTCPPacket(const void* rtcp_packet, size_t rtcp_packet_length); |
| 74 | 75 |
| 75 // Implements RtpData. | 76 // Implements RtpData. |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 VideoCodingModule* vcm_; | 110 VideoCodingModule* vcm_; |
| 110 RemoteBitrateEstimator* remote_bitrate_estimator_; | 111 RemoteBitrateEstimator* remote_bitrate_estimator_; |
| 111 | 112 |
| 112 rtc::scoped_ptr<RemoteNtpTimeEstimator> ntp_estimator_; | 113 rtc::scoped_ptr<RemoteNtpTimeEstimator> ntp_estimator_; |
| 113 | 114 |
| 114 bool receiving_; | 115 bool receiving_; |
| 115 uint8_t restored_packet_[kViEMaxMtu]; | 116 uint8_t restored_packet_[kViEMaxMtu]; |
| 116 bool restored_packet_in_use_; | 117 bool restored_packet_in_use_; |
| 117 bool receiving_ast_enabled_; | 118 bool receiving_ast_enabled_; |
| 118 bool receiving_cvo_enabled_; | 119 bool receiving_cvo_enabled_; |
| 120 bool receiving_tsn_enabled_; |
| 119 int64_t last_packet_log_ms_; | 121 int64_t last_packet_log_ms_; |
| 120 }; | 122 }; |
| 121 | 123 |
| 122 } // namespace webrt | 124 } // namespace webrt |
| 123 | 125 |
| 124 #endif // WEBRTC_VIDEO_ENGINE_VIE_RECEIVER_H_ | 126 #endif // WEBRTC_VIDEO_ENGINE_VIE_RECEIVER_H_ |
| OLD | NEW |