|
AlexaClientSDK
1.26.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Go to the documentation of this file.
16 #ifndef ALEXA_CLIENT_SDK_INTEGRATION_INCLUDE_INTEGRATION_TESTMEDIAPLAYER_H_
17 #define ALEXA_CLIENT_SDK_INTEGRATION_INCLUDE_INTEGRATION_TESTMEDIAPLAYER_H_
20 #include <condition_variable>
27 #include <unordered_set>
35 namespace integration {
49 std::shared_ptr<avsCommon::avs::attachment::AttachmentReader> attachmentReader,
55 std::shared_ptr<avsCommon::avs::attachment::AttachmentReader> attachmentReader,
56 std::chrono::milliseconds offsetAdjustment,
62 std::shared_ptr<std::istream> stream,
68 const std::string& url,
69 std::chrono::milliseconds offset = std::chrono::milliseconds::zero(),
86 std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerObserverInterface> playerObserver)
override;
89 std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerObserverInterface> playerObserver)
override;
98 std::unordered_set<std::shared_ptr<avsCommon::utils::mediaPlayer::MediaPlayerObserverInterface>> m_observers;
100 bool m_playbackFinished =
false;
102 std::shared_ptr<avsCommon::avs::attachment::AttachmentReader> m_attachmentReader;
104 std::shared_ptr<avsCommon::utils::timing::Timer> m_timer;
106 std::shared_ptr<std::istream> m_istream;
112 #endif // ALEXA_CLIENT_SDK_INTEGRATION_INCLUDE_INTEGRATION_TESTMEDIAPLAYER_H_
@ UNKNOWN
Audio data type not known.
Definition: AmdMetricWrapperTest.cpp:24
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
MediaType
Definition: MediaType.h:29
Definition: Optional.h:32
Definition: PlaybackContext.h:35
AlexaClientSDK 1.26.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0