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

Unified Diff: remoting/protocol/session_config.cc

Issue 1923573006: Implement a dummy host to do capturing and analysis only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve review commnets Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/protocol/session_config.h ('k') | remoting/remoting_srcs.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/session_config.cc
diff --git a/remoting/protocol/session_config.cc b/remoting/protocol/session_config.cc
index 4a2c82710b5d66769e2b9cc288c1112d888e8d04..7a6a9caaf249fab8ca3916c0738f4b32fc765379 100644
--- a/remoting/protocol/session_config.cc
+++ b/remoting/protocol/session_config.cc
@@ -164,6 +164,14 @@ std::unique_ptr<SessionConfig> SessionConfig::ForTest() {
return result;
}
+std::unique_ptr<SessionConfig> SessionConfig::ForTestWithAudio() {
+ std::unique_ptr<SessionConfig> result(ForTest());
+ result->audio_config_ = ChannelConfig(ChannelConfig::TRANSPORT_STREAM,
+ kDefaultStreamVersion,
+ ChannelConfig::CODEC_OPUS);
+ return result;
+}
+
std::unique_ptr<SessionConfig> SessionConfig::ForTestWithVerbatimVideo() {
std::unique_ptr<SessionConfig> result = ForTest();
result->video_config_ = ChannelConfig(ChannelConfig::TRANSPORT_STREAM,
« no previous file with comments | « remoting/protocol/session_config.h ('k') | remoting/remoting_srcs.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698