OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 rtc::Optional<VideoCodecSettings> SelectSendVideoCodec( | 480 rtc::Optional<VideoCodecSettings> SelectSendVideoCodec( |
481 const std::vector<VideoCodecSettings>& remote_mapped_codecs) const; | 481 const std::vector<VideoCodecSettings>& remote_mapped_codecs) const; |
482 | 482 |
483 static bool ReceiveCodecsHaveChanged(std::vector<VideoCodecSettings> before, | 483 static bool ReceiveCodecsHaveChanged(std::vector<VideoCodecSettings> before, |
484 std::vector<VideoCodecSettings> after); | 484 std::vector<VideoCodecSettings> after); |
485 | 485 |
486 void FillSenderStats(VideoMediaInfo* info, bool log_stats); | 486 void FillSenderStats(VideoMediaInfo* info, bool log_stats); |
487 void FillReceiverStats(VideoMediaInfo* info, bool log_stats); | 487 void FillReceiverStats(VideoMediaInfo* info, bool log_stats); |
488 void FillBandwidthEstimationStats(const webrtc::Call::Stats& stats, | 488 void FillBandwidthEstimationStats(const webrtc::Call::Stats& stats, |
489 VideoMediaInfo* info); | 489 VideoMediaInfo* info); |
| 490 void FillSendAndReceiveCodecStats(VideoMediaInfo* video_media_info); |
490 | 491 |
491 rtc::ThreadChecker thread_checker_; | 492 rtc::ThreadChecker thread_checker_; |
492 | 493 |
493 uint32_t rtcp_receiver_report_ssrc_; | 494 uint32_t rtcp_receiver_report_ssrc_; |
494 bool sending_; | 495 bool sending_; |
495 webrtc::Call* const call_; | 496 webrtc::Call* const call_; |
496 | 497 |
497 DefaultUnsignalledSsrcHandler default_unsignalled_ssrc_handler_; | 498 DefaultUnsignalledSsrcHandler default_unsignalled_ssrc_handler_; |
498 UnsignalledSsrcHandler* const unsignalled_ssrc_handler_; | 499 UnsignalledSsrcHandler* const unsignalled_ssrc_handler_; |
499 | 500 |
(...skipping 21 matching lines...) Expand all Loading... |
521 VideoSendParameters send_params_; | 522 VideoSendParameters send_params_; |
522 VideoOptions default_send_options_; | 523 VideoOptions default_send_options_; |
523 VideoRecvParameters recv_params_; | 524 VideoRecvParameters recv_params_; |
524 bool red_disabled_by_remote_side_; | 525 bool red_disabled_by_remote_side_; |
525 int64_t last_stats_log_ms_; | 526 int64_t last_stats_log_ms_; |
526 }; | 527 }; |
527 | 528 |
528 } // namespace cricket | 529 } // namespace cricket |
529 | 530 |
530 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ | 531 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVIDEOENGINE2_H_ |
OLD | NEW |