server icon indicating copy to clipboard operation
server copied to clipboard

fix(ffmpeg_producer): Prevent loading unreadable files

Open ianshade opened this issue 3 years ago • 0 comments

Adds additional check if the file is readable while checking if it's valid. This prevents loading a file that is locked due to pending copy etc. Currently, an FFmpeg exception would be thrown, and even though it is handled gracefully, 202 is returned, making clients unaware of the failure. After the fix, 404 will be returned in such cases.

ianshade avatar Jun 10 '21 09:06 ianshade