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, |