15 #ifndef ALEXA_CLIENT_SDK_MEDIAPLAYER_ANDROIDSLESMEDIAPLAYER_INCLUDE_ANDROIDSLESMEDIAPLAYER_FFMPEGSTREAMINPUTCONTROLLER_H_ 16 #define ALEXA_CLIENT_SDK_MEDIAPLAYER_ANDROIDSLESMEDIAPLAYER_INCLUDE_ANDROIDSLESMEDIAPLAYER_FFMPEGSTREAMINPUTCONTROLLER_H_ 26 namespace mediaPlayer {
44 static std::unique_ptr<FFmpegStreamInputController>
create(std::shared_ptr<std::istream> stream,
bool repeat);
50 std::tuple<Result, std::shared_ptr<AVFormatContext>, std::chrono::milliseconds>
getCurrentFormatContext()
override;
74 int read(uint8_t* buffer,
int bufferSize);
84 static int feedBuffer(
void* userData, uint8_t* buffer,
int bufferSize);
87 const std::shared_ptr<std::istream> m_stream;
90 std::shared_ptr<AVIOContext> m_ioContext;
100 #endif // ALEXA_CLIENT_SDK_MEDIAPLAYER_ANDROIDSLESMEDIAPLAYER_INCLUDE_ANDROIDSLESMEDIAPLAYER_FFMPEGSTREAMINPUTCONTROLLER_H_
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36