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

Side by Side Diff: talk/media/webrtc/fakewebrtccall.h

Issue 1600973002: Initialize VideoEncoder objects asynchronously. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rename new_codec_settings Created 4 years, 11 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 | « no previous file | talk/media/webrtc/fakewebrtccall.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 * libjingle 2 * libjingle
3 * Copyright 2015 Google Inc. 3 * Copyright 2015 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 // webrtc::SendStream implementation. 140 // webrtc::SendStream implementation.
141 void Start() override; 141 void Start() override;
142 void Stop() override; 142 void Stop() override;
143 void SignalNetworkState(webrtc::NetworkState state) override {} 143 void SignalNetworkState(webrtc::NetworkState state) override {}
144 bool DeliverRtcp(const uint8_t* packet, size_t length) override { 144 bool DeliverRtcp(const uint8_t* packet, size_t length) override {
145 return true; 145 return true;
146 } 146 }
147 147
148 // webrtc::VideoSendStream implementation. 148 // webrtc::VideoSendStream implementation.
149 webrtc::VideoSendStream::Stats GetStats() override; 149 webrtc::VideoSendStream::Stats GetStats() override;
150 bool ReconfigureVideoEncoder( 150 void ReconfigureVideoEncoder(
151 const webrtc::VideoEncoderConfig& config) override; 151 const webrtc::VideoEncoderConfig& config) override;
152 webrtc::VideoCaptureInput* Input() override; 152 webrtc::VideoCaptureInput* Input() override;
153 153
154 bool sending_; 154 bool sending_;
155 webrtc::VideoSendStream::Config config_; 155 webrtc::VideoSendStream::Config config_;
156 webrtc::VideoEncoderConfig encoder_config_; 156 webrtc::VideoEncoderConfig encoder_config_;
157 bool codec_settings_set_; 157 bool codec_settings_set_;
158 union VpxSettings { 158 union VpxSettings {
159 webrtc::VideoCodecVP8 vp8; 159 webrtc::VideoCodecVP8 vp8;
160 webrtc::VideoCodecVP9 vp9; 160 webrtc::VideoCodecVP9 vp9;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 std::vector<FakeAudioSendStream*> audio_send_streams_; 260 std::vector<FakeAudioSendStream*> audio_send_streams_;
261 std::vector<FakeVideoReceiveStream*> video_receive_streams_; 261 std::vector<FakeVideoReceiveStream*> video_receive_streams_;
262 std::vector<FakeAudioReceiveStream*> audio_receive_streams_; 262 std::vector<FakeAudioReceiveStream*> audio_receive_streams_;
263 263
264 int num_created_send_streams_; 264 int num_created_send_streams_;
265 int num_created_receive_streams_; 265 int num_created_receive_streams_;
266 }; 266 };
267 267
268 } // namespace cricket 268 } // namespace cricket
269 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_ 269 #endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOENGINE2_UNITTEST_H_
OLDNEW
« no previous file with comments | « no previous file | talk/media/webrtc/fakewebrtccall.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698