ios的小伙伴也可以参考修改,基本都是修改那几个文件,增加几个方法,然后实现调用而已,已成功帮一个ios小伙伴搞定。
关于EasyAR本地Android项目,增加了seekbar的操作显示,以及暂停开始,等操作。大家有什么更多地建议也可以提。喜欢支持的可以star一下,谢谢了
VideoPlayer();
virtual ~VideoPlayer();
//! should be called before open
void setRenderTexture(int texture);
//! only have effect when called before open
void setVideoType(VideoType videoType);
void open(const char* path, StorageType storageType, VideoPlayerCallBack* callback = 0);
void close();
bool play();
bool stop();
bool pause();
void updateFrame();
int duration();
int currentPosition();
bool seek(int position);
Vec2I size();
float volume();
bool setVolume(float volume);