From e42b88211b51e9ff85ff55109cfca256ad8263fa Mon Sep 17 00:00:00 2001 From: Jerome Wu Date: Mon, 13 Jan 2020 22:22:28 +0800 Subject: [PATCH] Add Worker.write() issue to document --- docs/api.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api.md b/docs/api.md index 63355c6..3aeef4c 100644 --- a/docs/api.md +++ b/docs/api.md @@ -62,6 +62,8 @@ Worker.load() loads ffmpeg-core.js script (download from remote if not presented Worker.write() writes data to specific path in Emscripten file system, it is an essential step before doing any other tasks. +> Currently we found an issue that you should not have parallel Worker.write() as it may cause unexpected behavior, please do it in sequential for-loop like [HERE](https://github.com/ffmpegjs/ffmpeg.js/blob/master/examples/browser/image2video.html#L36) + **Arguments:** - `path` path to write data to file system