Skip to content

[video_player_avplay] pausing video will throw an error and can not resume play in some situtaion #657

Closed
@elethiame

Description

@elethiame

@xiaowei-guan
When I pause the video, an error is thrown:
[E] [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(Pause, Player pause failed, null, null)
#0 VideoPlayerAvplayApi.pause (package:video_player_avplay/src/messages.g.dart:803:7)

#1 VideoPlayerController._applyPlayPause (package:video_player_avplay/video_player.dart:615:7)

#2 VideoPlayerController.pause (package:video_player_avplay/video_player.dart:543:5)

Additionally, if I play video in a different app, like Bilibili, and then resume my app, the AVPlay will not replay the video.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions