16 #ifndef ALEXA_CLIENT_SDK_MEDIAPLAYER_GSTREAMERMEDIAPLAYER_INCLUDE_MEDIAPLAYER_ISTREAMSOURCE_H_ 17 #define ALEXA_CLIENT_SDK_MEDIAPLAYER_GSTREAMERMEDIAPLAYER_INCLUDE_MEDIAPLAYER_ISTREAMSOURCE_H_ 23 #include <gst/app/gstappsrc.h> 30 namespace mediaPlayer {
41 static std::unique_ptr<IStreamSource>
create(
43 std::shared_ptr<std::istream> stream,
63 bool isPlaybackRemote()
const override;
64 bool hasAdditionalData()
override;
69 void doShutdown()
override{};
74 bool isOpen()
override;
75 void close()
override;
76 gboolean handleReadData()
override;
77 gboolean handleSeekData(guint64 offset)
override;
82 std::shared_ptr<std::istream> m_stream;
91 #endif // ALEXA_CLIENT_SDK_MEDIAPLAYER_GSTREAMERMEDIAPLAYER_INCLUDE_MEDIAPLAYER_ISTREAMSOURCE_H_
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36