titansgroup / k4l-video-trimmer

A library with UI and mechanisms to trim local videos on Android applications.
MIT License
782 stars 221 forks source link

Occasionally, media player errors are exposed. #54

Open sucrow opened 5 years ago

sucrow commented 5 years ago
Include the following:
Reproduction Steps

Play video on device timeLine.setVideoURI(Uri.fromFile(File(path)))

Expected Result

It must be played as normal.

Actual Result

media player errors are exposed. The exposed error log is as follows.

isPlaying: called in state MEDIA_PLAYER_STATE_ERROR MediaPlayer: Error(100,2) MediaPlayer: Error(1, -32) MediaPlayer: Error(1, -32)

Tell us what could be improved:

There is no error when playing the same video in VideoView. What's the problem?