| 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 28 matching lines...) Expand all Loading... |
| 39 // Channel group contains data common for several channels. All channels in the | 39 // Channel group contains data common for several channels. All channels in the |
| 40 // group are assumed to send/receive data to the same end-point. | 40 // group are assumed to send/receive data to the same end-point. |
| 41 class ChannelGroup : public BitrateObserver { | 41 class ChannelGroup : public BitrateObserver { |
| 42 public: | 42 public: |
| 43 explicit ChannelGroup(ProcessThread* process_thread); | 43 explicit ChannelGroup(ProcessThread* process_thread); |
| 44 ~ChannelGroup(); | 44 ~ChannelGroup(); |
| 45 bool CreateSendChannel(int channel_id, | 45 bool CreateSendChannel(int channel_id, |
| 46 int engine_id, | 46 int engine_id, |
| 47 Transport* transport, | 47 Transport* transport, |
| 48 int number_of_cores, | 48 int number_of_cores, |
| 49 size_t max_rtp_streams, | 49 const std::vector<uint32_t>& ssrcs, |
| 50 bool disable_default_encoder); | 50 bool disable_default_encoder); |
| 51 bool CreateReceiveChannel(int channel_id, | 51 bool CreateReceiveChannel(int channel_id, |
| 52 int engine_id, | 52 int engine_id, |
| 53 int base_channel_id, | 53 int base_channel_id, |
| 54 Transport* transport, | 54 Transport* transport, |
| 55 int number_of_cores, | 55 int number_of_cores, |
| 56 bool disable_default_encoder); | 56 bool disable_default_encoder); |
| 57 void DeleteChannel(int channel_id); | 57 void DeleteChannel(int channel_id); |
| 58 void AddChannel(int channel_id); | 58 void AddChannel(int channel_id); |
| 59 void RemoveChannel(int channel_id); | 59 void RemoveChannel(int channel_id); |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 // Registered at construct time and assumed to outlive this class. | 115 // Registered at construct time and assumed to outlive this class. |
| 116 ProcessThread* process_thread_; | 116 ProcessThread* process_thread_; |
| 117 rtc::scoped_ptr<ProcessThread> pacer_thread_; | 117 rtc::scoped_ptr<ProcessThread> pacer_thread_; |
| 118 | 118 |
| 119 rtc::scoped_ptr<BitrateController> bitrate_controller_; | 119 rtc::scoped_ptr<BitrateController> bitrate_controller_; |
| 120 }; | 120 }; |
| 121 | 121 |
| 122 } // namespace webrtc | 122 } // namespace webrtc |
| 123 | 123 |
| 124 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_GROUP_H_ | 124 #endif // WEBRTC_VIDEO_ENGINE_VIE_CHANNEL_GROUP_H_ |
| OLD | NEW |