16 #ifndef ALEXA_CLIENT_SDK_MEDIAPLAYER_GSTREAMERMEDIAPLAYER_INCLUDE_MEDIAPLAYER_ATTACHMENTREADERSOURCE_H_ 17 #define ALEXA_CLIENT_SDK_MEDIAPLAYER_GSTREAMERMEDIAPLAYER_INCLUDE_MEDIAPLAYER_ATTACHMENTREADERSOURCE_H_ 22 #include <gst/app/gstappsrc.h> 29 namespace mediaPlayer {
42 static std::unique_ptr<AttachmentReaderSource>
create(
44 std::shared_ptr<avsCommon::avs::attachment::AttachmentReader> attachmentReader,
65 std::shared_ptr<avsCommon::avs::attachment::AttachmentReader> attachmentReader,
70 bool isOpen()
override;
71 void close()
override;
72 gboolean handleReadData()
override;
73 gboolean handleSeekData(guint64 offset)
override;
78 void doShutdown()
override{};
83 std::shared_ptr<avsCommon::avs::attachment::AttachmentReader> m_reader;
92 #endif // ALEXA_CLIENT_SDK_MEDIAPLAYER_GSTREAMERMEDIAPLAYER_INCLUDE_MEDIAPLAYER_ATTACHMENTREADERSOURCE_H_
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36