fvp icon indicating copy to clipboard operation
fvp copied to clipboard

seek waits for a while before pausing and update the position stream

Open abdelaziz-mahdy opened this issue 1 year ago • 4 comments

Describe the bug the seek doesnt pause the video,

i seek (outside of the buffered range) the video keeps playing

then it decides to seek and buffer

and that delay is random

Expected behavior seek the video pauses until it gets buffered in the seeked position

Log Add

import 'package:logging/logging.dart';
import 'package:intl/intl.dart';

add the following lines before registerWith()

  Logger.root.level = Level.ALL;
  final df = DateFormat("HH:mm:ss.SSS");
  Logger.root.onRecord.listen((record) {
    print('${record.loggerName}.${record.level.name}: ${df.format(record.time)}: ${record.message}');
  });

Logs: https://justpaste.it/hpf7r

abdelaziz-mahdy avatar Nov 05 '24 00:11 abdelaziz-mahdy

same as #160 i guess

wang-bin avatar Nov 05 '24 13:11 wang-bin

So it's a bug in mdk?

abdelaziz-mahdy avatar Nov 05 '24 15:11 abdelaziz-mahdy

yes

wang-bin avatar Nov 05 '24 15:11 wang-bin

I would love to help with it but I don't know how, so I will most probably wait 😢

abdelaziz-mahdy avatar Nov 05 '24 16:11 abdelaziz-mahdy