I found a solution, from 00:00:06 to 00:00:19 in the video, I can use a Timer
, which ticks 1 second, to detect the PlaybackSession.Position
.
If the position is the same as the last second, then show a fake buffering.
But we have to consider video pause, so we can use like this.
if(video.state != pause)
{
if(newPosition == oldPosition)
ShowBuffer();
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…