diff options
Diffstat (limited to 'remoting/protocol/video_writer.cc')
-rw-r--r-- | remoting/protocol/video_writer.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/remoting/protocol/video_writer.cc b/remoting/protocol/video_writer.cc index 8ebf285..b3e0f03 100644 --- a/remoting/protocol/video_writer.cc +++ b/remoting/protocol/video_writer.cc @@ -6,7 +6,6 @@ #include "remoting/protocol/session_config.h" #include "remoting/protocol/protobuf_video_writer.h" -#include "remoting/protocol/rtp_video_writer.h" namespace remoting { namespace protocol { @@ -17,9 +16,7 @@ VideoWriter::~VideoWriter() { } VideoWriter* VideoWriter::Create(base::MessageLoopProxy* message_loop, const SessionConfig& config) { const ChannelConfig& video_config = config.video_config(); - if (video_config.transport == ChannelConfig::TRANSPORT_SRTP) { - return new RtpVideoWriter(message_loop); - } else if (video_config.transport == ChannelConfig::TRANSPORT_STREAM) { + if (video_config.transport == ChannelConfig::TRANSPORT_STREAM) { return new ProtobufVideoWriter(message_loop); } return NULL; |