15 #ifndef SHAKA_EMBEDDED_MEDIA_DEMUXER_THREAD_H_ 16 #define SHAKA_EMBEDDED_MEDIA_DEMUXER_THREAD_H_ 71 void AppendData(
double timestamp_offset,
double window_start,
72 double window_end,
const uint8_t* data,
size_t data_size,
73 std::function<
void(
bool)> on_complete);
77 void CallOnComplete(
bool success);
80 std::unique_ptr<Demuxer> demuxer_;
82 std::function<void(bool)> on_complete_;
85 std::atomic<bool> shutdown_;
88 double timestamp_offset_;
102 #endif // SHAKA_EMBEDDED_MEDIA_DEMUXER_THREAD_H_