20#ifndef FFMPEG_KIT_SESSION_H
21#define FFMPEG_KIT_SESSION_H
59 virtual std::chrono::time_point<std::chrono::system_clock>
getCreateTime()
const = 0;
66 virtual std::chrono::time_point<std::chrono::system_clock>
getStartTime()
const = 0;
73 virtual std::chrono::time_point<std::chrono::system_clock>
getEndTime()
const = 0;
88 virtual std::shared_ptr<std::list<std::string>>
getArguments()
const = 0;
104 virtual std::shared_ptr<std::list<std::shared_ptr<ffmpegkit::Log>>>
getAllLogsWithTimeout(
const int waitTimeout)
const = 0;
112 virtual std::shared_ptr<std::list<std::shared_ptr<ffmpegkit::Log>>>
getAllLogs()
const = 0;
121 virtual std::shared_ptr<std::list<std::shared_ptr<ffmpegkit::Log>>>
getLogs()
const = 0;
209 virtual void addLog(
const std::shared_ptr<ffmpegkit::Log> log) = 0;
221 virtual void complete(
const std::shared_ptr<ffmpegkit::ReturnCode> returnCode) = 0;
228 virtual void fail(
const char* error) = 0;
virtual void fail(const char *error)=0
virtual std::string getAllLogsAsString() const =0
virtual std::shared_ptr< std::list< std::shared_ptr< ffmpegkit::Log > > > getAllLogs() const =0
virtual std::string getAllLogsAsStringWithTimeout(const int waitTimeout) const =0
virtual bool isFFprobe() const =0
virtual LogRedirectionStrategy getLogRedirectionStrategy() const =0
virtual long getDuration() const =0
virtual std::string getOutput() const =0
virtual bool thereAreAsynchronousMessagesInTransmit() const =0
virtual void addLog(const std::shared_ptr< ffmpegkit::Log > log)=0
virtual void complete(const std::shared_ptr< ffmpegkit::ReturnCode > returnCode)=0
virtual std::shared_ptr< std::list< std::shared_ptr< ffmpegkit::Log > > > getAllLogsWithTimeout(const int waitTimeout) const =0
virtual std::shared_ptr< std::list< std::string > > getArguments() const =0
virtual std::chrono::time_point< std::chrono::system_clock > getEndTime() const =0
virtual std::shared_ptr< std::list< std::shared_ptr< ffmpegkit::Log > > > getLogs() const =0
virtual std::string getFailStackTrace() const =0
virtual long getSessionId() const =0
virtual ffmpegkit::LogCallback getLogCallback() const =0
virtual void startRunning()=0
virtual bool isMediaInformation() const =0
virtual std::shared_ptr< ffmpegkit::ReturnCode > getReturnCode() const =0
virtual std::string getLogsAsString() const =0
virtual std::chrono::time_point< std::chrono::system_clock > getStartTime() const =0
virtual std::string getCommand() const =0
virtual ffmpegkit::SessionState getState() const =0
virtual bool isFFmpeg() const =0
virtual std::chrono::time_point< std::chrono::system_clock > getCreateTime() const =0
std::function< void(const std::shared_ptr< ffmpegkit::Log > log)> LogCallback