easefun / polyv-ios-client-demo

Polyv iOS SDK demo
37 stars 10 forks source link

PvUrlSessionDownload执行stop方法后,再获得isStoped属性,依然是false,v1.2.1 #18

Closed sunlei4076 closed 7 years ago

bqlin commented 7 years ago

调用停止后,不是马上停止的,会异步处理一小段时间;任务真正停止时,该属性值才为真,且会调用 dataDownloadStop:withVid: 方法。

sunlei4076 commented 7 years ago

执行stop()后,异步处理,成功停止的回调在这个代理方法中: func dataDownloadStop(downloader: PvUrlSessionDownload!, withVid vid: String!) { print("dataDownloadStop",vid,downloader.isStoped()) }

打印结果显示:dataDownloadStop 82448c164b5277502a014053158a3b18_8 false

最后一个值(isStoped),依然是false

bqlin commented 7 years ago

现在还有吗?