添加更多错误机制

This commit is contained in:
Harvey Zack committed 2018-10-29 09:08:35 +08:00
1 parent eb879d3e2d
commit f6c236c260
8 files changed
+32 -19

No files matched your search

+1 -1
View File
@@ -93,7 +93,7 @@ export default class Player {
this.art.on('video:error', () => {
if (this.reconnectTime < this.maxReconnectTime) {
sleep(100).then(() => {
sleep(1000).then(() => {
this.reconnectTime++;
$video.src = option.url;
notice.show(`${i18n.get('Reconnect')}: ${this.reconnectTime}`);