Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Choosing Between Imou Cloud Live and OpenSDK for Live Streaming

Описание и применение

Выбор между Imou Cloud Live и OpenSDK: веб‑плеер для SaaS и мобильный SDK для приложений, с отдельными монтированием, метриками и процедурами завершения, чтобы сохранить RBAC и избежать ошибок воспроизведения.

Задача

Deciding which live streaming surface to use—cloud‑packaged web player (Imou Cloud Live) or native mobile SDK (OpenSDK)—while maintaining consistent RBAC, avoiding playback misuse, and ensuring proper teardown.

Результат

Implemented a surface‑aware live streaming architecture that eliminates mixed‑media confusion, enforces RBAC, provides clear metrics per surface, and ensures proper teardown, leading to more reliable user experience and easier maintenance.

Рабочий процесс

  • 1. Determine operator shell (browser or app).
  • 2. Call startLive with siteId, cameraId, and shell.
  • 3. Authorize user and fetch camera binding.
  • 4. Open live handle via cameraGateway.openLive.
  • 5. Mount appropriate player: pagePlayer.mount for web, appSdk.mount for app.
  • 6. Render device controls based on capabilities and shell.
  • 7. On route leave, visibility change, or app background, call stopLive to destroy or release.
  • 8. Emit surface‑specific metrics (surface=page|app, event, fields).
  • 9. Log and alert on denied, offline, or media errors per surface.
  • 10. Maintain separate teardown checklists for page and app.
  • 11. Avoid mixing playback or public URLs; treat Cloud Live as live only.
  • 12. Document and test both surfaces, ensuring shared inventory and external IDs match.
  • 13. Ship only the surface that is fully tested and documented.

Доказательства

Imou Cloud Live is cloud‑packaged live for web, H5, and SaaS—HLS, FLV, or RTMP family, and/or a JavaScript player.

Источник

OpenSDK is typically the native or mobile SDK surface for live and device operations in an app shell.

Источник

I refuse to treat Cloud Live as playback. I refuse to treat OpenSDK as a public livestream.

Источник

I log surface=page|app with denied|offline|media.

Источник

  • Дата записи: 2026-09-22T10:00:39.026Z