backup-stream.go 696 B

1234567891011121314151617181920
  1. package model
  2. import (
  3. "time"
  4. )
  5. // BackupStream 备用流
  6. type BackupStream struct {
  7. ID int64 `json:"id,omitempty"`
  8. RoomID int64 `json:"room_id,omitempty"`
  9. StreamName string `json:"stream_name,omitempty"`
  10. Key string `json:"key,omitempty"`
  11. DefaultVendor int64 `json:"default_vendor,omitempty"`
  12. OriginUpstream int64 `json:"origin_upstream,omitempty"`
  13. Streaming int64 `json:"streaming,omitempty"`
  14. LastStreamTime time.Time `json:"last_stream_time,omitempty"`
  15. ExpiresAt time.Time `json:"expires_at,omitempty"`
  16. Options int64 `json:"options,omitempty"`
  17. Status int32 `json:"status,omitempty"`
  18. }