blob: c1d910472512839841da00e4015c4f03db6501e0 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "remoting/protocol/webrtc_dummy_video_capturer.h"
namespace remoting {
namespace protocol {
WebrtcDummyVideoCapturer::WebrtcDummyVideoCapturer() {}
WebrtcDummyVideoCapturer::~WebrtcDummyVideoCapturer() {}
cricket::CaptureState WebrtcDummyVideoCapturer::Start(
const cricket::VideoFormat& capture_format) {
return cricket::CS_RUNNING;
}
void WebrtcDummyVideoCapturer::Stop() {
SetCaptureState(cricket::CS_STOPPED);
}
bool WebrtcDummyVideoCapturer::IsRunning() {
return true;
}
bool WebrtcDummyVideoCapturer::IsScreencast() const {
return true;
}
bool WebrtcDummyVideoCapturer::GetPreferredFourccs(
std::vector<uint32_t>* fourccs) {
return true;
}
} // namespace protocol
} // namespace remoting