|
@ -130,7 +130,7 @@ export class HttpLivePlayer { |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
// 视频断流
|
|
|
// 视频断流
|
|
|
this.player.on(flvJs.Events.STATISTICS_INFO, function (res) { |
|
|
this.player.on(flvJs.Events.STATISTICS_INFO, (res) => { |
|
|
if (this.lastDecodedFrames != res.decodedFrames) { |
|
|
if (this.lastDecodedFrames != res.decodedFrames) { |
|
|
this.lastDecodedFrames = res.decodedFrames; |
|
|
this.lastDecodedFrames = res.decodedFrames; |
|
|
} else { |
|
|
} else { |
|
|