| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 size_t incoming_packet_length) override; | 44 size_t incoming_packet_length) override; |
| 45 | 45 |
| 46 void SetRemoteSSRC(uint32_t ssrc) override; | 46 void SetRemoteSSRC(uint32_t ssrc) override; |
| 47 | 47 |
| 48 // Sender part. | 48 // Sender part. |
| 49 | 49 |
| 50 int32_t RegisterSendPayload(const CodecInst& voice_codec) override; | 50 int32_t RegisterSendPayload(const CodecInst& voice_codec) override; |
| 51 | 51 |
| 52 int32_t RegisterSendPayload(const VideoCodec& video_codec) override; | 52 int32_t RegisterSendPayload(const VideoCodec& video_codec) override; |
| 53 | 53 |
| 54 void RegisterVideoSendPayload(int payload_type, |
| 55 const char* payload_name) override; |
| 56 |
| 54 int32_t DeRegisterSendPayload(int8_t payload_type) override; | 57 int32_t DeRegisterSendPayload(int8_t payload_type) override; |
| 55 | 58 |
| 56 int8_t SendPayloadType() const; | 59 int8_t SendPayloadType() const; |
| 57 | 60 |
| 58 // Register RTP header extension. | 61 // Register RTP header extension. |
| 59 int32_t RegisterSendRtpHeaderExtension(RTPExtensionType type, | 62 int32_t RegisterSendRtpHeaderExtension(RTPExtensionType type, |
| 60 uint8_t id) override; | 63 uint8_t id) override; |
| 61 | 64 |
| 62 int32_t DeregisterSendRtpHeaderExtension(RTPExtensionType type) override; | 65 int32_t DeregisterSendRtpHeaderExtension(RTPExtensionType type) override; |
| 63 | 66 |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 uint16_t packet_overhead_; | 365 uint16_t packet_overhead_; |
| 363 | 366 |
| 364 size_t padding_index_; | 367 size_t padding_index_; |
| 365 | 368 |
| 366 // Send side | 369 // Send side |
| 367 NACKMethod nack_method_; | 370 NACKMethod nack_method_; |
| 368 int64_t nack_last_time_sent_full_; | 371 int64_t nack_last_time_sent_full_; |
| 369 uint32_t nack_last_time_sent_full_prev_; | 372 uint32_t nack_last_time_sent_full_prev_; |
| 370 uint16_t nack_last_seq_number_sent_; | 373 uint16_t nack_last_seq_number_sent_; |
| 371 | 374 |
| 372 VideoCodec send_video_codec_; | |
| 373 KeyFrameRequestMethod key_frame_req_method_; | 375 KeyFrameRequestMethod key_frame_req_method_; |
| 374 | 376 |
| 375 RemoteBitrateEstimator* remote_bitrate_; | 377 RemoteBitrateEstimator* remote_bitrate_; |
| 376 | 378 |
| 377 RtcpRttStats* rtt_stats_; | 379 RtcpRttStats* rtt_stats_; |
| 378 | 380 |
| 379 PacketLossStats send_loss_stats_; | 381 PacketLossStats send_loss_stats_; |
| 380 PacketLossStats receive_loss_stats_; | 382 PacketLossStats receive_loss_stats_; |
| 381 | 383 |
| 382 // The processed RTT from RtcpRttStats. | 384 // The processed RTT from RtcpRttStats. |
| 383 rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtt_; | 385 rtc::scoped_ptr<CriticalSectionWrapper> critical_section_rtt_; |
| 384 int64_t rtt_ms_; | 386 int64_t rtt_ms_; |
| 385 }; | 387 }; |
| 386 | 388 |
| 387 } // namespace webrtc | 389 } // namespace webrtc |
| 388 | 390 |
| 389 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ | 391 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RTCP_IMPL_H_ |
| OLD | NEW |