Skip to content

πŸ› Bug Report: Playing Video URL (From Appwrite Storage Service) Network in FlutterΒ #8600

Closed

Description

@moshOntong-IT

πŸ‘Ÿ Reproduction steps

First of all, I blame the package I am using which is this Media Kit. The problem I got was that the video did not fully stream the video.

Screen.Recording.2024-09-01.001054.mp4

If you try to observe the video, the streaming of video file from Appwrite Storage it really close the video stream in specific duration. When I tried to jump on specific time, it does not goes well.

Now this is the interesting

I curiosed that what if I will try to play a video url that is not from in Appwrite storage

    player.open(
      Media(
       "https://pixeldrain.com/api/file/n4qUcfEb"
          ),
      play: false,
    );

And then this is the result:

Screen.Recording.2024-09-01.010830.mp4

As you can see in that video, I am trying to jump on specific time, and the result it goes well. No problem at all. It will continuosly stream the video.

But then I want to try again to play a video url file from Appwrite storage so that I can ensure that the package I used to play the video is not the fault one to do that I modified the code:

    player.open(
      Media(
          "http://178.***.***.***/v1/storage/buckets/65d16***863975f4dc588/files/66d3416b**c3a12462e9/view?project=65c5df0693
3e47ebdec4&mode=admin"
          ),
    );

And then this is the result:

Screen.Recording.2024-09-01.011042.mp4

Now, if you try to observe, the streaming of video it will stuck on specific duration, and if you try to jump on specific time, it will not goes well. And I observe while playing the video I got an warning log from docker:

image

As result, the package I used is not the fault, it seems the Appwrite storage service have bug.

πŸ‘ Expected behavior

It should stream continously until the end of the video

πŸ‘Ž Actual Behavior

It streams but there is particulat time it will stop the stream. Even you try to jump on specific time, it will not play that.

🎲 Appwrite version

Version 1.5.x

πŸ’» Operating system

Windows

🧱 Your Environment

No response

πŸ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏒 Have you read the Code of Conduct?

Activity

  1. added
    bug
    on Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions