-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Can't stream video from pffile - iOS #326
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
Comments
Once you change the server url, the file get saved on that server (heroku in this case). This is the url still there |
btw prob a good idea to push video files in the future to s3 bucket instead of storing these files in a database. You can enable s3 no as a file adaptor. |
Try this : |
There's been a lot of changes to the files functionality. Can you please re-open and provide more information if you're still experiencing this issue? Thanks. |
[Solved] The solution is given by @Bragegs here - #1440 (comment) . In short, parse-server doesn't seem to be supporting streaming of audio/video and @Bragegs code enables it. I hope it get's PR and parse team looks into it. |
Does not work for S3Adapter. |
Should work with S3 if you configure direct access |
I can save pffile's completely fine to heroku using mongoLab. I make sure to set the content MIME type as "video/mp4".
However, when I retreive the PFFile's url, I can't stream the video from iOS using AVPlayerViewControlle.
The AVPlayerViewController just shows a crossed out play button!?
I consulted the mongoLab help team and they said it would be something to do with the parse server or possibly heroku!?
If I use the EXACT same code but swap from my heroku server running parse server to the NORMAL parse server ( the one that is shutting down ) I can stream video perfectly fine on iOS.
Can someone else please try streaming a video from a heroku parse server using mongoLab / mongoDB to store data?
Thanks.
The text was updated successfully, but these errors were encountered: