25 строки
658 B
C++
25 строки
658 B
C++
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
#pragma once
|
|
#include "aria/IBandwidthController.hpp"
|
|
#include "ResourceManager/ResourceManagerPublic.hpp"
|
|
|
|
namespace ARIASDK_NS_BEGIN {
|
|
|
|
|
|
class BandwidthController_ResourceManager : public IBandwidthController
|
|
{
|
|
public:
|
|
BandwidthController_ResourceManager(resource_manager2::ResourceManagerPtr const& rm);
|
|
virtual ~BandwidthController_ResourceManager();
|
|
virtual unsigned GetProposedBandwidthBps() override;
|
|
|
|
protected:
|
|
resource_manager2::ResourceManagerPtr m_rm;
|
|
resource_manager2::ConnectionPtr m_conn;
|
|
resource_manager2::BitStreamPtr m_stream;
|
|
};
|
|
|
|
|
|
} ARIASDK_NS_END
|