The SDK method exportRendition:waitForRender() returns incorrect results for videos. The documentation says:

For photos, it works correctly. But for videos, it returns "false, nil" even when the video is correctly exported.
To reproduce:
1. Download and unzip this catalog:
https://www.dropbox.com/scl/fi/g9ihjg69c85v8ets6h6kj/export-video-bug.2024-10-19.zip?rlkey=20fnn83lz...
2. Copy the file "export-video-bug.lua" from the catalog folder to the Scripts subfolder in the Lightroom settings folder.
3. Open the catalog in LR.
4. Do File > Export, right-click the preset folder User Presets, do Import..., and select the file "Video Test.lrtemplate" in the catalog folder. That is an export preset that will export video files to the Desktop.
5. Select one of the videos in the catalog and do File > Export With Preset > Video Test. Observe that the video is correctly exported to the Desktop.
6. With the same video selected, do Scripts > export-video-bug and observe this output:

This shows that the video has been successfully exported to the desktop, but rendition:waitForRender() incorrectly returns "false, nil". It should have returned:
true, /Users/john/Desktop/IMG_1711-from_iPhone-2.mp4
The script "export-video-bug.lua" uses the Export settings copied from the export preset Video Test.
Tested on LR 14.0.1 / Mac OS 14.6.1.