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

Does Cloud Live support HD and SD streams?

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

Динамическое управление профилями живого потока от устройств Cloud Live избавляет от жестко заданных уровней качества, предотвращает неправильное отображение информации пользователям и защищает от утечки данных. В системе реализован выбор профиля по намерению (grid/inspect), логирование идентификаторов профилей, ограничение одновременных детальных потоков и соблюдение HTTPS.

Задача

Managing multiple live stream profiles from Cloud Live devices without hard‑coding quality tiers or exposing misleading labels to users.

Результат

Dynamic profile handling eliminates hard‑coded quality tiers, reduces user confusion, and prevents accidental exposure of live feeds. The system now logs precise profile IDs, enforces security constraints, and limits resource usage.

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

  • 1. Call gateway.listLiveProfiles(cameraId) to fetch available profiles.
  • 2. If no profiles, return an offline error.
  • 3. Choose a profile: if only one, use it; otherwise pick the last profile for grid intent and the first for inspect intent.
  • 4. Open the live stream with gateway.openLive(cameraId, profile.id).
  • 5. Mount the stream in the player and return the profileId.
  • 6. On tile focus or blur, destroy the current player and restart with the appropriate intent.
  • 7. Enforce a maximum of one inspect tile per browser to avoid CPU spikes.
  • 8. Log camera_live_start events with profile_id and intent for telemetry.
  • 9. Ensure all playlists are HTTPS before mounting; otherwise refuse to mount.

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

I refuse a column named is_hd. It becomes a lie after a hardware swap.

I emit camera_live_start with profile_id and intent.

If media fails only on the inspect profile, I keep the grid up and show “detail unavailable.”

  • Дата записи: 2026-09-22T05:00:35.537Z