Skip to content
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

Summary of General Video Streaming Issues #369

Open
mmattel opened this issue Jan 31, 2021 · 0 comments
Open

Summary of General Video Streaming Issues #369

mmattel opened this issue Jan 31, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@mmattel
Copy link
Contributor

mmattel commented Jan 31, 2021

This is a brief summary of issues found related to streaming videos which can be streamed to a HTML5 browser with files_mediaplayer 1.0.4

Referenced issues:
#363
#357

File used: a web-optimized streamable mp4 video file with 2GB
File is on NFS = easy to monitor activity
Tests made via vpn from client to server to simulate a down sized connection (15mbit)
Start ... starting video
Stop ... stopping video
Back ... returning the to parent page
New Location ... setting the current play timeer to a loaction ahaed

  • Opera/Chrome (W10x64Pro)
    Start: the file starts playing after 10s, the server downloads with 20MB/s from storage
    Stop/Back: download continues on the server, ownCloud becomes unresponsive, restart of php-fpm necessary to stop the download
    New Location: Starts the video from beginning

  • Safari on iPad (IOS14.4) (not the App!)
    Start: Streaming does not start. It seems downloading the file instead, the server downloads with 20MB/s from storage.
    Stop: Stop button not clickable/responsive.
    Back: No idea if it is still is in a "download" mode or not, but the server loads the file from storage with 20MB/s. Restart of php-fpm necessary to stop the server downloading from storage
    New Location: test not possible because it tries downloading the complete file

Double-Check-Test (also see: #363 (comment))
Setup

  • Created a testpage to be accessed by the browser to see if streaming an optimized mp4 file is possible
    (see: https://github.com/lcherone/Simple_Video_Stream/tree/master/Simple_Video_Stream)
  • Added the same optimized video as used above to the "videos" folder
  • Created a location in nginx so the page gets recognized
  • Started browsing/streaming/moving the timer with immediate response with Opera/Chrome/Safari (on iPad)
  • Low and intermediate data transmission on client, server and storage
  • Data transmission immediately stops on all sides when the video is paused or stopped.

Result
It streams as expected ✔️
Monitoring the up/download figures both on client, server and storage clearly identifies streaming

Conclusio
The issue is definitively in ownCloud and/or the files_mediaviewer app.

@micbar @michaelstingl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant