// Copyright 2019 Fuzhou Rockchip Electronics Co., Ltd. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include #include #include #include #include #include #include "dbus_media_control.h" namespace rockchip { namespace aiserver { int32_t DBusMediaControl::listenMediaCtrl(DBus::Connection &connection, RTGraphListener* listener) { camera_controls_ = std::make_shared(connection); encoder_controls_ = std::make_shared(connection); graph_controls_ = std::make_shared(connection, listener); return 0; } } // namespace aiserver } // namespace rockchip