Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
abdelaziz-mahdy opened this issue Nov 5, 2024 · 4 comments
Assignees
Labels
libmdk mdk bug

Comments

@abdelaziz-mahdy
Copy link
Contributor

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 abdelaziz-mahdy changed the title seek is waits for a while before pausing and update the position stream seek waits for a while before pausing and update the position stream Nov 5, 2024
@wang-bin
Copy link
Owner

wang-bin commented Nov 5, 2024

same as #160 i guess

@wang-bin wang-bin self-assigned this Nov 5, 2024
@wang-bin wang-bin added the libmdk mdk bug label Nov 5, 2024
@abdelaziz-mahdy
Copy link
Contributor Author

So it's a bug in mdk?

@wang-bin
Copy link
Owner

wang-bin commented Nov 5, 2024

yes

@abdelaziz-mahdy
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libmdk mdk bug
Projects
None yet
Development

No branches or pull requests

2 participants