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

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

Issue 1398443007: Pause/resume pacer from Call instead of via SendStreams. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Remove call from vie encoder 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
« no previous file with comments | « webrtc/call/call.cc ('k') | webrtc/video_engine/vie_channel_group.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 void DeleteChannel(int channel_id); 62 void DeleteChannel(int channel_id);
63 ViEChannel* GetChannel(int channel_id) const; 63 ViEChannel* GetChannel(int channel_id) const;
64 ViEEncoder* GetEncoder(int channel_id) const; 64 ViEEncoder* GetEncoder(int channel_id) const;
65 void SetSyncInterface(VoEVideoSync* sync_interface); 65 void SetSyncInterface(VoEVideoSync* sync_interface);
66 void SetBweBitrates(int min_bitrate_bps, 66 void SetBweBitrates(int min_bitrate_bps,
67 int start_bitrate_bps, 67 int start_bitrate_bps,
68 int max_bitrate_bps); 68 int max_bitrate_bps);
69 69
70 void SetChannelRembStatus(bool sender, bool receiver, ViEChannel* channel); 70 void SetChannelRembStatus(bool sender, bool receiver, ViEChannel* channel);
71 71
72 void SignalNetworkState(NetworkState state);
73
72 BitrateController* GetBitrateController() const; 74 BitrateController* GetBitrateController() const;
73 CallStats* GetCallStats() const; 75 CallStats* GetCallStats() const;
74 RemoteBitrateEstimator* GetRemoteBitrateEstimator() const; 76 RemoteBitrateEstimator* GetRemoteBitrateEstimator() const;
75 EncoderStateFeedback* GetEncoderStateFeedback() const; 77 EncoderStateFeedback* GetEncoderStateFeedback() const;
76 int64_t GetPacerQueuingDelayMs() const; 78 int64_t GetPacerQueuingDelayMs() const;
77 79
78 // Implements BitrateObserver. 80 // Implements BitrateObserver.
79 void OnNetworkChanged(uint32_t target_bitrate_bps, 81 void OnNetworkChanged(uint32_t target_bitrate_bps,
80 uint8_t fraction_loss, 82 uint8_t fraction_loss,
81 int64_t rtt) override; 83 int64_t rtt) override;
(...skipping 30 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
« no previous file with comments | « webrtc/call/call.cc ('k') | webrtc/video_engine/vie_channel_group.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698