Video playback
Video playback
Pick the path that matches the player. Parameter tables stay on the method pages.
Live
| Client | How you get a picture |
|---|---|
| ImouPlayer | Server getKitToken with type 1, then play. Light-app first preview |
| HLS | bindDeviceLive. streamId 0 HD, 1 SD |
| RTMP | createDeviceRtmpLive |
| OpenSDK | In-app preview; no HTTP play API. SDK first preview |
| Console H5 | Console · Live service |
Module index: Device live. Guide: Cloud live from an AppId.
Cloud recording
Query and open clips under Cloud storage. Package ids: Cloud storage packages (strategyId). One clip from an alarm: queryCloudRecordByToken (cloudToken).
ImouPlayer playback uses getKitToken type 2 and recordType cloud. See Integrate the light application.
This page does not describe moving a local file into cloud storage as a separate product.
Local recording
Local file list, bitmap, and count stay on leftover HTTP under Legacy local record. New integrations should prefer cloud and SDK playback first — not a blanket v2 replacement. ImouPlayer can set recordType localRecord or nvrDisk with type 2.
Talk and snapshot
- Talk: client SDK or ImouPlayer. Sub-account needs
Talk. See Build a mobile app and JavaScript development. - Snapshot: setDeviceSnap or setDeviceSnapEnhanced on the main device path.
Media security
Decrypt keys and the Image Decryption Demo: Media security. Live URLs are secrets.
