Lines Matching refs:video_channel
76 int ViEBaseImpl::RegisterCpuOveruseObserver(int video_channel,
78 LOG_F(LS_INFO) << "RegisterCpuOveruseObserver on channel " << video_channel;
80 ViEChannel* vie_channel = cs.Channel(video_channel);
85 ViEEncoder* vie_encoder = cs.Encoder(video_channel);
97 std::pair<int, CpuOveruseObserver*>(video_channel, observer));
101 int ViEBaseImpl::SetCpuOveruseOptions(int video_channel,
104 ViEChannel* vie_channel = cs.Channel(video_channel);
109 ViEEncoder* vie_encoder = cs.Encoder(video_channel);
124 int ViEBaseImpl::CpuOveruseMeasures(int video_channel,
130 ViEChannel* vie_channel = cs.Channel(video_channel);
135 ViEEncoder* vie_encoder = cs.Encoder(video_channel);
155 int ViEBaseImpl::GetCpuOveruseMetrics(int video_channel,
158 ViEChannel* vie_channel = cs.Channel(video_channel);
163 ViEEncoder* vie_encoder = cs.Encoder(video_channel);
178 int ViEBaseImpl::CreateChannel(int& video_channel) { // NOLINT
179 return CreateChannel(video_channel, static_cast<const Config*>(NULL));
182 int ViEBaseImpl::CreateChannel(int& video_channel, // NOLINT
184 if (shared_data_.channel_manager()->CreateChannel(&video_channel,
186 video_channel = -1;
190 LOG(LS_INFO) << "Video channel created: " << video_channel;
194 int ViEBaseImpl::CreateChannel(int& video_channel, // NOLINT
196 return CreateChannel(video_channel, original_channel, true);
199 int ViEBaseImpl::CreateReceiveChannel(int& video_channel, // NOLINT
201 return CreateChannel(video_channel, original_channel, false);
204 int ViEBaseImpl::DeleteChannel(const int video_channel) {
207 ViEChannel* vie_channel = cs.Channel(video_channel);
214 ViEEncoder* vie_encoder = cs.Encoder(video_channel);
215 if (cs.ChannelUsingViEEncoder(video_channel) == false) {
224 if (shared_data_.channel_manager()->DeleteChannel(video_channel) == -1) {
228 LOG(LS_INFO) << "Channel deleted " << video_channel;
232 int ViEBaseImpl::ConnectAudioChannel(const int video_channel,
234 LOG_F(LS_INFO) << "ConnectAudioChannel, video channel " << video_channel
237 if (!cs.Channel(video_channel)) {
242 if (shared_data_.channel_manager()->ConnectVoiceChannel(video_channel,
250 int ViEBaseImpl::DisconnectAudioChannel(const int video_channel) {
251 LOG_F(LS_INFO) << "DisconnectAudioChannel " << video_channel;
253 if (!cs.Channel(video_channel)) {
259 video_channel) != 0) {
266 int ViEBaseImpl::StartSend(const int video_channel) {
267 LOG_F(LS_INFO) << "StartSend: " << video_channel;
269 ViEChannel* vie_channel = cs.Channel(video_channel);
275 ViEEncoder* vie_encoder = cs.Encoder(video_channel);
277 if (vie_encoder->Owner() != video_channel) {
291 LOG_F(LS_ERROR) << "Could not start sending " << video_channel;
300 int ViEBaseImpl::StopSend(const int video_channel) {
301 LOG_F(LS_INFO) << "StopSend " << video_channel;
304 ViEChannel* vie_channel = cs.Channel(video_channel);
315 LOG_F(LS_ERROR) << "Could not stop sending " << video_channel;
323 int ViEBaseImpl::StartReceive(const int video_channel) {
324 LOG_F(LS_INFO) << "StartReceive " << video_channel;
327 ViEChannel* vie_channel = cs.Channel(video_channel);
339 int ViEBaseImpl::StopReceive(const int video_channel) {
340 LOG_F(LS_INFO) << "StopReceive " << video_channel;
342 ViEChannel* vie_channel = cs.Channel(video_channel);
379 int ViEBaseImpl::CreateChannel(int& video_channel, // NOLINT
387 if (shared_data_.channel_manager()->CreateChannel(&video_channel,
390 video_channel = -1;
394 LOG_F(LS_INFO) << "VideoChannel created: " << video_channel