streama
streama copied to clipboard
[Bug] Pausing any video for longer than its remaining duration will cause it to 'end'
Issue description
Scenario: A video lasting 20 minutes. You pause at the 15 minute mark. If the video is paused for more than 5 minutes, the video will instantaneously 'end' when you unpause. This occurs for any video length, as long as the pause duration is greater than the remaining duration.
Steps to Reproduce
- Play any video in Streama player
- During view, pause video at any given time
- Take note of the remaining duration of the video
- Wait for the remaining duration +10 seconds (for margin of error)
- Unpause video
Expected Behaviour
The video should unpause at the time it was paused
Actual Behaviour
The video will instantaneously go all the way to the 'end'
Environment Information
- Streama Operating System Host: Ubuntu 18.04.1
- Streama version: 1.7.2
- Browsers tested: Latest Chrome, Latest Firefox, Latest Edge (HTML), Latest Edge (Chromium), all on Windows 10 (latest)
I also notice that , but if you refresh the main movie list menu and select the last movie , then will return to the last time paused point . i believe that happens because of a session timeout , this means while you are currently watching , the server is constantly sending you segments of the movie , so the session for that watch will stay active , but if you pause the movie for a long time then the session cookie will expire , by default that happens also in any online website with login credentials . If you go to your bank account online and stay on the website logged in for 15 minutes without doing any operation then after that time the website of the bank will say that your session expired , same thing happens here . I dont think this can be considered a bug , but this is just my opinion .
I can't reproduce this with the latest firefox on arch with x264 and aac in mp4 containers. Can you provide a specific sample video file to reproduce the bug? Is this happening with every file you try?
I did not attempt to reproduce this on Linux, however the video files are x264 and aac in mp4 containers on my end as well, but are too large to share. Every video is 20 minutes or longer in length, if that has any bearing.
Issue is still present in 1.8 beta, with latest versions of all browsers.