OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2004 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2004 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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 | 354 |
355 private: | 355 private: |
356 bool InitNetwork_n(const std::string* bundle_transport_name); | 356 bool InitNetwork_n(const std::string* bundle_transport_name); |
357 void DisconnectTransportChannels_n(); | 357 void DisconnectTransportChannels_n(); |
358 void DestroyTransportChannels_n(); | 358 void DestroyTransportChannels_n(); |
359 void SignalSentPacket_n(TransportChannel* channel, | 359 void SignalSentPacket_n(TransportChannel* channel, |
360 const rtc::SentPacket& sent_packet); | 360 const rtc::SentPacket& sent_packet); |
361 void SignalSentPacket_w(const rtc::SentPacket& sent_packet); | 361 void SignalSentPacket_w(const rtc::SentPacket& sent_packet); |
362 bool IsReadyToSendMedia_n() const; | 362 bool IsReadyToSendMedia_n() const; |
363 void CacheRtpAbsSendTimeHeaderExtension_n(int rtp_abs_sendtime_extn_id); | 363 void CacheRtpAbsSendTimeHeaderExtension_n(int rtp_abs_sendtime_extn_id); |
| 364 int GetTransportOverheadPerPacket( |
| 365 const CandidatePairInterface& selected_candidate_pair); |
364 | 366 |
365 rtc::Thread* const worker_thread_; | 367 rtc::Thread* const worker_thread_; |
366 rtc::Thread* const network_thread_; | 368 rtc::Thread* const network_thread_; |
367 rtc::AsyncInvoker invoker_; | 369 rtc::AsyncInvoker invoker_; |
368 | 370 |
369 const std::string content_name_; | 371 const std::string content_name_; |
370 std::unique_ptr<ConnectionMonitor> connection_monitor_; | 372 std::unique_ptr<ConnectionMonitor> connection_monitor_; |
371 | 373 |
372 // Transport related members that should be accessed from network thread. | 374 // Transport related members that should be accessed from network thread. |
373 TransportController* const transport_controller_; | 375 TransportController* const transport_controller_; |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
721 // SetSendParameters. | 723 // SetSendParameters. |
722 DataSendParameters last_send_params_; | 724 DataSendParameters last_send_params_; |
723 // Last DataRecvParameters sent down to the media_channel() via | 725 // Last DataRecvParameters sent down to the media_channel() via |
724 // SetRecvParameters. | 726 // SetRecvParameters. |
725 DataRecvParameters last_recv_params_; | 727 DataRecvParameters last_recv_params_; |
726 }; | 728 }; |
727 | 729 |
728 } // namespace cricket | 730 } // namespace cricket |
729 | 731 |
730 #endif // WEBRTC_PC_CHANNEL_H_ | 732 #endif // WEBRTC_PC_CHANNEL_H_ |
OLD | NEW |