企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**播放状态回调接口:** ``` -(void)AnyChatMediaPlayer:(AnyChatMediaPlayer *)AnyChatPlayer obtainPlayStatusWithDict:(NSDictionary *)dict playStatus:(int)status; ``` | 返回值 | 说明 | | --- | --- | | AnyChatPlayer | 自身 | | dict | 播放状态回调信息字典 | | status | 播放状态 status 1--开始; 2--暂停; 3--完成| 备注:dict ``` { "audiobitrate":256, "audiocodec":23, "audioduration":45540, "bitspersample":16, "channels":1, "errorcode":0, "filebitrate":256, "fileduration":45540,//媒体总时间 "filename":"2.mp3", "playspeed":1, "playstatus":0, "playtime":0, //播放到进度时间 "samplespersec":16000, "taskguid":"E444CCD1-4D27-48FE-A9D5-BD0074A0B557" //任务ID } ```