types.ts 994 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. export interface TimelinePoint {
  2. id: number
  3. time: number
  4. presetId?: number
  5. presetName?: string
  6. active: boolean
  7. passed?: boolean
  8. }
  9. export interface PTZPresetInfo {
  10. id: string
  11. name: string
  12. }
  13. export interface PTZCapabilities {
  14. maxPresetNum?: number
  15. controlProtocol?: { current: string }
  16. absoluteZoom?: { min: number; max: number }
  17. support3DPosition?: boolean
  18. supportPtzLimits?: boolean
  19. [key: string]: unknown
  20. }
  21. export interface LocalPreset {
  22. id: string
  23. name: string
  24. pointId: number
  25. time: number
  26. }
  27. export interface PlaybackInfo {
  28. videoId: string
  29. customerDomain: string
  30. hlsUrl?: string
  31. whepUrl?: string
  32. isLive: boolean
  33. }
  34. export interface SearchForm {
  35. streamSn: string
  36. name: string
  37. lssId: string
  38. cameraId: string
  39. }
  40. export interface StreamForm {
  41. id?: number
  42. name: string
  43. lssId: string
  44. cameraId: string
  45. channelId?: number
  46. pushMethod: string
  47. commandTemplate: string
  48. timeoutSeconds: number
  49. remark: string
  50. enabled: boolean
  51. }