@@ -504,7 +504,7 @@ export default class ActionsHandler {
fetchData({sFrame: sfns, eFrame: efns}){
if(window.workerReady){
this.vDecoder.fetch({
- path: "https://laser-data.oss-cn-shenzhen.aliyuncs.com/test-video/earth",
+ path: "https://laser-data.oss-cn-shenzhen.aliyuncs.com/test-video/1011",
range: [sfns, efns],
});
}
@@ -143,7 +143,7 @@ export class VDecoder extends EventEmitter {
this.decoding = false;
this.decodingId = null;
tempId = 0;
- this.emit("decodeDone", clip.id);
+ clip && clip.id && this.emit("decodeDone", clip.id);
flush() {