chore: clean up redundant comments
This commit is contained in:
@@ -510,10 +510,6 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
|
||||
return methodChannel.invokeMethod<T>(method, args);
|
||||
}
|
||||
|
||||
// ============================================
|
||||
// Default Implementations
|
||||
// ============================================
|
||||
|
||||
@override
|
||||
Future<void> playOrPause() async {
|
||||
if (_disposed) return;
|
||||
@@ -576,10 +572,6 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
|
||||
// ignore: no-empty-block - base no-op, overridden by platform subclasses
|
||||
Future<void> setLogLevel(String level) async {}
|
||||
|
||||
// ============================================
|
||||
// Subtitle Fonts
|
||||
// ============================================
|
||||
|
||||
@override
|
||||
Future<void> configureSubtitleFonts() async {
|
||||
try {
|
||||
@@ -596,10 +588,6 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
|
||||
}
|
||||
}
|
||||
|
||||
// ============================================
|
||||
// Seek helpers
|
||||
// ============================================
|
||||
|
||||
/// Run a backend-specific seek call, swallowing the common "not ready" errors
|
||||
/// the native channel throws when the engine was torn down mid-seek.
|
||||
@protected
|
||||
@@ -615,10 +603,6 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
|
||||
}
|
||||
}
|
||||
|
||||
// ============================================
|
||||
// Debug helpers
|
||||
// ============================================
|
||||
|
||||
/// Injects the log + error events that would fire when the server rejects the
|
||||
/// stream with HTTP 500 (shared-user bandwidth / transcoding limit). Used by
|
||||
/// the in-player debug button to preview the end-to-end detection path
|
||||
@@ -635,10 +619,6 @@ abstract class PlayerBase with PlayerStreamControllersMixin implements Player {
|
||||
errorController.add(const PlayerError('HTTP 500', cause: PlayerError.serverHttp500));
|
||||
}
|
||||
|
||||
// ============================================
|
||||
// Lifecycle
|
||||
// ============================================
|
||||
|
||||
@override
|
||||
Future<void> dispose() async {
|
||||
if (_disposed) return;
|
||||
|
||||
Reference in New Issue
Block a user