C++SDK
1.0.0
|
#include <ITms2Player.h>
Public 成员函数 | |
virtual bool | setOutputPath (const std::string &mp4path)=0 |
![]() | |
virtual std::string | name () const =0 |
virtual bool | transfer (Cb_TransferStatus cb, int cpulevel)=0 |
virtual void | cancel ()=0 |
virtual bool | isTransferring () const =0 |
virtual void | setResultCb (Cb_TransferResult cb)=0 |
virtual void | setFilenameChangedCb (Cb_TransferFilenameChanged cb)=0 |
virtual void | setUserData (void *userdata)=0 |
virtual const Stats & | getStats () const =0 |
静态 Public 成员函数 | |
static ITmsSpliter * | create (const std::string &tmsfile) |
![]() | |
static void | destroy (ITmsTransfer *transf) |
static int | getTmsCost (const std::string &tmsfile) |
static std::string | toString (const Stats &stats) |
Protected 成员函数 | |
virtual | ~ITmsSpliter () |
![]() | |
virtual | ~ITmsTransfer () |
额外继承的成员函数 | |
![]() | |
typedef std::function< void(void *userdata, int pecent)> | Cb_TransferStatus |
typedef std::function< void(void *userdata, Result result, const std::string &msg)> | Cb_TransferResult |
typedef std::function< void(void *userdata, const std::string &newfilename)> | Cb_TransferFilenameChanged |
Tms文件拆分成多个mp4文件接口
|
inlineprotectedvirtual |
|
static |
创建文件拆分接口
|
pure virtual |
设置拆分目的mp4文件路径
[in] | mp4file | mp4文件地址 |