Set Timeout to access videos

Taylor

Member
Hi

Currently we are using the same setup as the demo page to access the videos stored in the media server (via port 8888). If we have a URL that points to a non-existing video file, no timeout occurs and we are left with a webpage that is constantly loading.

Is there a way to set the timeout for accessing the video files on the media server?
 

Max

Administrator
Staff member
Good day.
Please clarify your case:
1. You're trying to play some file as VOD (vod://file.mp4)
2. If there's no such file in WCS_HOME/media, no error returns
Also please clarify what WCS version and WebSDK version are used, and what browser.
Please try to reproduce the issue in Player example. If problem persists, please collect a report as described here and send to support@flashphoner.com, we will check.
 

Taylor

Member
Hi Max

When we try to fetch the url from the media server via 'https' and there is no video file existing, we don't get any errors returned, not even a timeout error.

WCS version: 5.2.108-3a8140311c1e80789857b139189acf4e74af6e2d
WebSDK: 0.5.28.2753-218c188ea896656b1ca142f02b4f58bf09bd8bf1 (Not using WebSDK for this issue)

We are fetching the video via 'https' url (e.g. https://demo.flashphoner.com:8888/c...3-53cea9cfe218-h3eqdjo57aq6g47sth3i1tls1r.mp4).

We've tested with multiple browsers such as Firefox, Chrome and got the same issue, but what we are trying to do is to directly download the file using the url, not with any specific browser or player.
 

Max

Administrator
Staff member
We have reproduced this issue (internal ticket WCS-2197) and let you know when fix it.
As workaround, you can update to latest build from this page and use /rest-api/recorder/find_all query to control what files are being recorded now and to get recording file name to download.
 

Max

Administrator
Staff member
The issue has been fixed in WCS v. 5.2.280: server will respond with 404 Not Found if the requested file does not exist.
 
Top