2021.04.29 Version: 1.20.0
1. Added support for H5 file type.
2. Added the function of pre-loading dynamic PPT and H5 files.
Through the cacheFileWithFileId interface, dynamic PPT and H5 files can be preloaded and cached locally to improve loading and Display the speed of the file. Please contact ZEGO technical support to enable this function.
For related APIs, please refer to cacheFileWithFileId.
1. Optimized PDF empty file check.
2. Added the following error codes.
|2030014||This file is not supported for preloading, please contact ZEGO technical support.|
|2030015||The preload failed.|
|2030016||Invalid ZIP file, not a valid ZIP file or the file is damaged.|
|2030017||Invalid H5 file, which does not conform to the H5 file specification defined by ZEGO.|
1. Fixed some problems that occasionally occured when switching between horizontal and vertical screens.
2021.03.25 Version: 1.19.0
1. Added the permission setting function of the current dynamic PPT
This function can control the page turning permission of the dynamic PPT by passing in the corresponding parameters through the setOperationAuth interface.
For related API, please refer to setOperationAuth.
2021.03.04 Version: 1.18.0
1. Added the function of canceling uploading files.
Supports interruption of uploading during file upload.
For related API, please refer to cancelUploadFileWithSeq.
2. Added file caching function.
It supports caching the transcoded files to the local in advance, so that it can be opened quickly when used. This function does not support caching dynamic PPT files.
For related API, please refer to cacheFileWithFileId.
3. Added the function of canceling file cache.
Support interrupting the cache during the process of caching files.
For related API, please refer to cancelCacheFileWithSeq.
4. Added query cache file function
Supports querying whether the file has been cached locally.
For related API, please refer to queryFileCachedWithFileId.
5. Added error code 2020007
The file is in read-only mode. This error code will be reported in the following situations.
- The dynamic PPT file is set to read-only mode, which will cause the transcoding to fail.
- The dynamic PPT file contains fonts that are not supported by the transcoding server, which will cause the transcoding to fail.
6. Added error code 2030010
This error code will be reported when the corresponding transcoded file cannot be found.
For related API, please refer to ZegoDocsViewError.
1. Optimized the description of 2020003 error code.
2021.01.21 Version: 1.16.0
1. Optimized the file loading logic. When the loading file times out or fails, the SDK will automatically switch to the backup node to reload the file to ensure that the file can be loaded normally.
1. Fixed the problem of synchronization error of whiteboard image element position caused by too many pages in the file.
2021.01.07 Version: 1.15.0
1. Fixed the crash caused by loading static files.
2020.12.24 Version: 1.14.0
1. The domain name address of the file transcoding service has been replaced, and the network transmission has been optimized.
2020.12.07 Version: 1.13.0
1. Newly added ZegoDocsViewPage class, used to store the information of the current page. Currently there is only one attribute rect, which is used to store the frame information of the page.
For related interfaces, please refer to ZegoDocsViewPage.
2. Added the function of obtaining file page information.
For related interfaces, please refer to getCurrentPageInfo.
1. ZegoDocsView The internal
WKWebView will be released after the
ZegoDocsView is destroyed, which will not cause memory leaks.
For related interfaces, please refer to unloadFile.
2020.11.19 Version: 1.12.0
1. You can set whether the change of the number of steps will trigger the change of the number of pages.
For related interfaces, please refer to setCustomizedConfig.
2. The function to pause the video playback of a certain page of the dynamic PPT file.
For related interfaces, please refer to stopPlay.
3. Set to disable dynamic PPT zoom function.
For related interfaces, please refer to setScaleEnable.
2020.11.02 Version: 1.11.0
1. Added dynamic PPT playback animation function (this function needs to be used with ZegoWhiteboardView SDK).
For related APIs, please refer to:
- whiteboard playAnimation
- whiteboard onPlayAnimation
- docsView playAnimation
- docsView onPlayAnimation
1. Fixed the problem of 60010 error code when opening the document.
2020.09.07 Version: 1.9.0
1. Added the function of getting thumbnail list.
For specific API, please refer to getThumbnailUrlList .