How to configure cloud storage video mobile events and view videos?
Last Updated on:2026-03-26 09:55:30
To trigger the message event for cloud storage video, the following steps need to be taken:
1. Ensure the SDK application is integrated with the appropriate Tuya SDK library.
2. Use the IPC SDK to receive the device's motion events.
3. Save the video to custom cloud storage.
4. Develop your own logic to implement the event trigger mechanism for receiving cloud storage video messages and display them on the device.
5. If the account has enabled the event storage service, confirm whether the cloud storage function is enabled on the device.
6. Use the getMotionDetectionInfo interface to query cloud storage recordings; query the video based on the alarm picture's corresponding time.
7. It may be necessary to associate the query time with the video segments in the storage card.
8. If the video query is unsuccessful, check the relevant logs to ensure the Camera object is correctly initialized, and use the CameraCloudStorageActivity provided in the sample project for querying.
9. If the video link is not successfully obtained, check the logs related to the SDK interface to ensure the relevant methods and logic are correctly configured and called.