Add Worker.write() issue to document

This commit is contained in:
Jerome Wu 2020-01-13 22:22:28 +08:00
parent 0f15f58554
commit e42b88211b

View File

@ -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. 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:** **Arguments:**
- `path` path to write data to file system - `path` path to write data to file system