15 #ifndef ALEXA_CLIENT_SDK_MEDIAPLAYER_ANDROIDSLESMEDIAPLAYER_INCLUDE_ANDROIDSLESMEDIAPLAYER_FFMPEGATTACHMENTINPUTCONTROLLER_H_ 16 #define ALEXA_CLIENT_SDK_MEDIAPLAYER_ANDROIDSLESMEDIAPLAYER_INCLUDE_ANDROIDSLESMEDIAPLAYER_FFMPEGATTACHMENTINPUTCONTROLLER_H_ 30 namespace mediaPlayer {
47 static std::unique_ptr<FFmpegAttachmentInputController>
create(
48 std::shared_ptr<avsCommon::avs::attachment::AttachmentReader> reader,
55 std::tuple<Result, std::shared_ptr<AVFormatContext>, std::chrono::milliseconds>
getCurrentFormatContext()
override;
72 std::shared_ptr<avsCommon::avs::attachment::AttachmentReader> reader,
73 std::shared_ptr<AVInputFormat> inputFormat =
nullptr,
74 std::shared_ptr<AVDictionary> inputOptions =
nullptr);
83 int read(uint8_t* buffer,
int bufferSize);
93 static int feedBuffer(
void* userData, uint8_t* buffer,
int bufferSize);
103 std::shared_ptr<avsCommon::avs::attachment::AttachmentReader> m_reader;
106 std::shared_ptr<AVInputFormat> m_inputFormat;
109 std::shared_ptr<AVDictionary> m_inputOptions;
112 std::shared_ptr<AVIOContext> m_ioContext;
119 #endif // ALEXA_CLIENT_SDK_MEDIAPLAYER_ANDROIDSLESMEDIAPLAYER_INCLUDE_ANDROIDSLESMEDIAPLAYER_FFMPEGATTACHMENTINPUTCONTROLLER_H_
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36