Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: webrtc/video_engine/vie_channel_group.h

Issue 1363573002: Wire up transport sequence number / send time callbacks to webrtc via libjingle. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: No changes to const parameters. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 CallStats* GetCallStats() const; 73 CallStats* GetCallStats() const;
74 RemoteBitrateEstimator* GetRemoteBitrateEstimator() const; 74 RemoteBitrateEstimator* GetRemoteBitrateEstimator() const;
75 EncoderStateFeedback* GetEncoderStateFeedback() const; 75 EncoderStateFeedback* GetEncoderStateFeedback() const;
76 int64_t GetPacerQueuingDelayMs() const; 76 int64_t GetPacerQueuingDelayMs() const;
77 77
78 // Implements BitrateObserver. 78 // Implements BitrateObserver.
79 void OnNetworkChanged(uint32_t target_bitrate_bps, 79 void OnNetworkChanged(uint32_t target_bitrate_bps,
80 uint8_t fraction_loss, 80 uint8_t fraction_loss,
81 int64_t rtt) override; 81 int64_t rtt) override;
82 82
83 void OnPacketSent(const SentPacket& packet_sent);
84
83 private: 85 private:
84 typedef std::map<int, ViEChannel*> ChannelMap; 86 typedef std::map<int, ViEChannel*> ChannelMap;
85 typedef std::map<int, ViEEncoder*> EncoderMap; 87 typedef std::map<int, ViEEncoder*> EncoderMap;
86 88
87 bool CreateChannel(int channel_id, 89 bool CreateChannel(int channel_id,
88 Transport* transport, 90 Transport* transport,
89 int number_of_cores, 91 int number_of_cores,
90 ViEEncoder* vie_encoder, 92 ViEEncoder* vie_encoder,
91 size_t max_rtp_streams, 93 size_t max_rtp_streams,
92 bool sender, 94 bool sender,
(...skipping 19 matching lines...) Expand all
112 rtc::scoped_ptr<ProcessThread> pacer_thread_; 114 rtc::scoped_ptr<ProcessThread> pacer_thread_;
113 115
114 rtc::scoped_ptr<BitrateController> bitrate_controller_; 116 rtc::scoped_ptr<BitrateController> bitrate_controller_;
115 rtc::scoped_ptr<TransportFeedbackAdapter> transport_feedback_adapter_; 117 rtc::scoped_ptr<TransportFeedbackAdapter> transport_feedback_adapter_;
116 int min_bitrate_bps_; 118 int min_bitrate_bps_;
117 }; 119 };
118 120
119 } // namespace webrtc 121 } // namespace webrtc
120 122
121 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_GROUP_H_ 123 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_GROUP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698