16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_MEDIAPLAYER_POOLEDMEDIAPLAYERFACTORY_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_MEDIAPLAYER_POOLEDMEDIAPLAYERFACTORY_H_ 20 #include <unordered_set> 27 namespace mediaPlayer {
41 static std::unique_ptr<PooledMediaPlayerFactory>
create(
42 const std::vector<std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface>>& pool,
50 std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface>
acquireMediaPlayer()
override;
51 bool releaseMediaPlayer(std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface> mediaPlayer)
override;
54 std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerFactoryObserverInterface> observer)
override;
56 std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerFactoryObserverInterface> observer)
override;
68 const std::vector<std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface>>& mediaPlayerPool,
79 std::vector<std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerInterface>>
m_inUsePlayerPool;
82 std::unordered_set<std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerFactoryObserverInterface>>
m_observers;
90 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_MEDIAPLAYER_POOLEDMEDIAPLAYERFACTORY_H_
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36