VideoCallMessage.ts 322 B

1234567891011121314151617
  1. /**
  2. * 音视频通话结果模型
  3. */
  4. interface VideoCallMessage {
  5. chatId: string
  6. fromId?: string
  7. timestamp: number
  8. type: string
  9. messageType: string
  10. //是否是视频通话
  11. video: boolean
  12. //通话结果 是否接通
  13. result: boolean
  14. //通话时长
  15. duration?: number
  16. }
  17. export default VideoCallMessage