1. history
IotHub
  • README
  • token
    • createToken
      POST
    • destroyToken
      POST
  • customer
    • customerPage
      POST
    • customerTree
      POST
  • device
    • command
      • commandSend
      • commandInfoList
      • cutOilElectric
      • getConfig
    • devicePage
      POST
    • deviceTypes
      POST
    • deviceTypeInfo
      POST
    • deviceDataByDeviceIds
      POST
    • deviceDataByCustomerId
      POST
    • deviceTripInfoByTripId
      POST
    • deviceTripsByDeviceId
      POST
    • deviceTraffic
      POST
    • deviceSensorData
      POST
    • expandInfoByDeviceId
      POST
    • saveDeviceChannelName
      POST
  • fence
    • fencePage
    • fenceInfo
    • addFence
    • saveFence
    • delFence
    • fenceDevices
    • fenceDeviceUpdate
    • fenceDeviceDel
    • fenceDeviceAdd
  • push&Webhook
    • README
  • video
    • history
      • README
      • H5 Page
      • custom upload
        • customHistoricalUploadStop
        • customHistoricalUpload
      • playBackList
        POST
      • historicalUpload
        POST
      • playBack
        POST
      • replaySet
        POST
      • taskPage
        POST
      • taskStop
        POST
      • taskDelete
        POST
    • live
      • README
      • H5 Page-V2[Recommend]
      • H5 page
      • liveVideo
      • liveVideoControl
    • getNodes
      POST
  • alarm
    • Alert Types
    • alarmTypeList
    • alarmFilePage
    • alarmFileByAlarmId
    • alarmHistoryPage
    • alarmPageByUser
    • alarmFileRecordReUpload
  • audio
    • README
    • talk「Deprecated」
    • talkPlus
  • gallery
    • filePageV2
    • filePage
    • deleteFile
    • capture
    • capturePage
    • captureRecord
  • fleet
    • faceRecordPage
    • rfidPage
  • gps
    • historyData
  • Protocol Analysis
    POST
  • Schemas
    • Schemas
      • BasicDetailVO
      • NetworkVO
      • VideoVO
      • AdvancedDriverAssistanceSystemVO
      • DriverStatusMonitoringSystemVO
      • BlindSpotMonitoringSystemVO
      • ApiDeviceGetConfigVO
      • ApiDeviceGetConfigCommand
      • CommonResult«ApiDeviceGetConfigVO»
    • CommonResult«String»
    • ApiCustomerVO
    • ApiDeviceInfoVO
    • ApiFenceInfoVO
    • DeviceBatteryLevelVO
    • VideoHistoryFileVO
    • ApiAlarmFileVO
    • LicenseSumDTO
    • ApiCaptureFileVO
    • FaceRecordInfoVO
    • ApiGpsDataVO
    • ApiTrafficReportVO
    • CommonResult«PageResult«ApiFleetRfidInfoVO»»
    • ApiVideoCustomUploadStopCommand
    • ApiCreateTokenCommand
    • PageResult«ApiCustomerVO»
    • PageResult«ApiDeviceInfoVO»
    • ApiPageResult«ApiFenceInfoVO»
    • PageResult«DeviceBatteryLevelVO»
    • ApiVideoLiveCommand
    • PageResult«VideoHistoryFileVO»
    • PageResult«ApiAlarmFileVO»
    • PageResult«LicenseSumDTO»
    • AudioTalkCommand
    • ApiDeviceCommandSendCommand
    • PageResult«ApiCaptureFileVO»
    • PageResult«FaceRecordInfoVO»
    • CommonResult«List«ApiAlarmFileVO»»
    • PageResult«ApiGpsDataVO»
    • PageResult«ApiTrafficReportVO»
    • ApiFleetRfidPageQuery
    • CommonResult«ApiVideoCustomHistoryUploadVO»
    • CommonResult«PageResult«ApiCustomerVO»»
    • CommonResult«PageResult«ApiDeviceInfoVO»»
    • CommonResult«ApiPageResult«ApiFenceInfoVO»»
    • ApiPushCommand
    • CommonResult«PageResult«DeviceBatteryLevelVO»»
    • VideoHistoryVO
    • CommonResult«PageResult«VideoHistoryFileVO»»
    • CommonResult«PageResult«ApiAlarmFileVO»»
    • CommonResult«PageResult«LicenseSumDTO»»
    • ApiDeviceCommandVO
    • ApiVideoHistoryVO
    • ApiTalkVO
    • CommonResult«PageResult«ApiCaptureFileVO»»
    • CommonResult«PageResult«FaceRecordInfoVO»»
    • ApiAlarmFileListQuery
    • CommonResult«PageResult«ApiGpsDataVO»»
    • ApiVideoUploadStopCommand
    • CommonResult«PageResult«ApiTrafficReportVO»»
    • PageResult«ApiFleetRfidInfoVO»
    • CommonResult
    • ApiCustomerPageQuery
    • ApiDevicePageQuery
    • ApiFencePageQuery
    • DeviceBatteryLevelPageQuery
    • CommonResult«List«VideoHistoryVO»»
    • VideoHistoryPageQuery
    • ApiAlarmPageQuery
    • LicenseSumPageQuery
    • CommonResult«List«ApiDeviceCommandVO»»
    • CommonResult«List«ApiVideoHistoryVO»»
    • CommonResult«ApiTalkVO»
    • ApiCaptureFilePageQuery
    • ApiFleetFacePageQuery
    • APIGpsPageQuery
    • ApiCaptureFilePageV2Query
    • ApiVideoLiveControlCommand
    • ApiTrafficReportPageQuery
    • ApiFleetRfidInfoVO
    • ApiVideoCustomUploadCommand
    • ApiDestroyTokenCommand
    • CommonResult«List«ApiCustomerVO»»
    • CommonResult«List«String»»
    • CommonResult«ApiFenceInfoVO»
    • DeviceDataVO
    • ApiVideoHistoryQuery
    • LicenseInfoVO
    • ApiAlarmTypeVO
    • ApiDeviceCommandRecentlyQuery
    • AudioTalkV3Command
    • ApiAudioTalkCommand
    • CommonResult«Boolean»
    • ApiVideoCustomHistoryUploadVO
    • ApiCustomerTreeQuery
    • ApiDeviceTypeQuery
    • ApiFenceInfoQuery
    • CommonResult«List«DeviceDataVO»»
    • ApiVideoHistoryReplayCommand
    • PageResult«LicenseInfoVO»
    • CommonResult«List«ApiAlarmTypeVO»»
    • ApiDeviceCutOilElectricCommand
    • ApiCaptureDeleteCommand
    • ApiTaskResult«String»
    • ApiDeviceTypeVO
    • DeviceGpsTripByTripIdQuery
    • VideoUploadCommand
    • CommonResult«PageResult«LicenseInfoVO»»
    • ApiAlarmTypeListQuery
    • CommonResult«ApiDeviceTypeVO»
    • ApiFenceInfoAddCommand
    • LicenseInfoPageQuery
    • ApiVideoUploadCommand
    • ApiReportAlarmVO
    • ApiDeviceTypeInfoQuery
    • DeviceGpsTripVO
    • ApiVideoHistoryReplaySetCommand
    • VideoLiveCommand
    • PageResult«ReportAlarmVO»
    • PageResult«ApiReportAlarmVO»
    • ApiDeviceCaptureCommand
    • ApiCustomerNodeSetDefaultCommand
    • ApiDeviceDataVO
    • CommonResult«DeviceGpsTripVO»
    • VideoHistoryReplayCommand
    • CommonResult«PageResult«ReportAlarmVO»»
    • CommonResult«PageResult«ApiReportAlarmVO»»
    • ApiCaptureInfoVO
    • ApiDeviceExpandVO
    • ApiFenceInfoSaveCommand
    • DevciceGpsTripQuery
    • VideoHistoryReplaySetCommand
    • LicenseStatusCommand
    • ApiVideoHistoryFileVO
    • ApiAlarmDevicePageQuery
    • PageResult«ApiCaptureInfoVO»
    • ApiDeviceShadowVO
    • ApiFenceInfoDelCommand
    • LabelInfoVO
    • LicenseBindCommand
    • PageResult«ApiVideoHistoryFileVO»
    • ApiReportAlarmByUserVO
    • CommonResult«PageResult«ApiCaptureInfoVO»»
    • CommonResult«List«ApiDeviceShadowVO»»
    • ApiFenceDeviceVO
    • DeviceInfoVO
    • LicenseBindCancelCommand
    • CommonResult«PageResult«ApiVideoHistoryFileVO»»
    • PageResult«ApiReportAlarmByUserVO»
    • ApiCaptureInfoPageQuery
    • ApiDeviceShadowQuery
    • CommonResult«List«ApiFenceDeviceVO»»
    • PageResult«DeviceInfoVO»
    • VideoHistoryQuery
    • LicenseMoveCommand
    • ApiVideoHistoryPageQuery
    • CommonResult«PageResult«ApiReportAlarmByUserVO»»
    • ApiDeviceShadowCustomerQuery
    • ApiFenceDeviceQuery
    • CommonResult«PageResult«DeviceInfoVO»»
    • LicenseMoveBackCommand
    • ApiVideoHistoryDeleteCommand
    • ApiAlarmPageByUserQuery
    • CommonResult«List«ApiCaptureFileVO»»
    • CommonResult«List«ApiDeviceDataVO»»
    • ApiFenceDeviceUpdateCommand
    • DevicePageQuery
    • LicenseMoveHistoryVO
    • ApiDeviceTripDataVO
    • ApiNodesVO
    • ApiCaptureRecordCommand
    • ApiDeviceGpsTripByTripIdQuery
    • ApiFenceDeviceDelCommand
    • DeviceExpandVO
    • PageResult«LicenseMoveHistoryVO»
    • CommonResult«List«ApiDeviceTripDataVO»»
    • ApiVideoNodesVO
    • DeviceTripVO
    • ApiFenceDeviceAddCommand
    • DeviceShadowVO
    • ApiDeviceTripVO
    • CommonResult«PageResult«LicenseMoveHistoryVO»»
    • CommonResult«ApiVideoNodesVO»
    • ApiAlarmInfoVO
    • ApiVideoHistoryM3u8VO
    • ApiDeviceGpsTripVO
    • CommonResult«DeviceShadowVO»
    • LicenseMoveHistoryPageQuery
    • VideoLiveVO
    • PageResult«ApiAlarmInfoVO»
    • ApiDeviceSensorDataVO
    • CommonResult«ApiVideoHistoryM3u8VO»
    • CommonResult«ApiDeviceGpsTripVO»
    • DeviceShareShadowQuery
    • LicenseTimeVO
    • CommonResult«VideoLiveVO»
    • CommonResult«PageResult«ApiAlarmInfoVO»»
    • CommonResult«List«ApiDeviceSensorDataVO»»
    • ApiDevciceGpsTripQuery
    • ApiDeviceGpsTripQuery
    • DeviceTypeSimpleVO
    • PageResult«LicenseTimeVO»
    • VideoLiveV3Command
    • ApiAlarmInfoPageQuery
    • ApiDeviceSensorQuery
    • DeviceShareCommand
    • CommonResult«List«DeviceTypeSimpleVO»»
    • CommonResult«PageResult«LicenseTimeVO»»
    • ReportAlarmVO
    • LicenseHistoryPageQuery
    • ApiDeviceExpandConfigVO
    • CommonResult«ReportAlarmVO»
    • LicensePieVO
    • CommonResult«ApiDeviceExpandConfigVO»
    • DeviceAlarmQuery
    • DeviceCamCountSaveCommand
    • CommonResult«List«LicensePieVO»»
    • ApiDeviceExpandConfigQuery
    • DeviceInfoSimpleVO
    • DeviceCamViewSaveCommand
    • LicensePieQuery
    • CommonResult«List«DeviceInfoSimpleVO»»
    • CommonResult«LicenseSumDTO»
    • DeviceInfoListQuery
    • ApiDeviceChannelSaveCommand
    • PageResult«DeviceInfoSimpleVO»
    • CommonResult«PageResult«DeviceInfoSimpleVO»»
    • DeviceIdOrNameLimitVO
    • DevicePageByCustomerIdQuery
    • CommonResult«List«DeviceIdOrNameLimitVO»»
    • DeviceShadowQuery
    • DeviceIdOrNameLimitQuery
    • CommonResult«List«DeviceShadowVO»»
    • DeviceTypeNickNameVO
    • DeviceShadowListQuery
    • CommonResult«List«DeviceTypeNickNameVO»»
    • DeviceShadowCustomerQuery
    • DeviceTypeNickNameQuery
    • DeviceZipVO
    • DeviceTypeNickNameSaveCommand
    • CommonResult«List«DeviceZipVO»»
    • DeviceParamQuery
    • DeviceShadowSimpleListQuery
    • DeviceLicenseRecordVO
    • SortParam
    • PageResult«DeviceLicenseRecordVO»
    • DeviceShadowSimpleCustomerQuery
    • CommonResult«PageResult«DeviceLicenseRecordVO»»
    • DeviceLicenseRecordQuery
    • DeviceLicenseHistoryVO
    • DeviceInfoAddCommand
    • PageResult«DeviceLicenseHistoryVO»
    • CommonResult«DeviceInfoVO»
    • CommonResult«PageResult«DeviceLicenseHistoryVO»»
    • DeviceInfoQuery
    • DeviceLicenseHistoryQuery
    • DeviceTripSaveCommand
    • DeviceInfoSaveCommand
    • DeviceInfoMoveCommand
    • DeviceCommandSendCommand
    • DeviceCommandsSendCommand
    • DeviceCommandTypeUpdateCommand
    • DeviceCommandSaveCommand
    • DeviceCommandStatusQueryCommand
    • DeviceCommandVO
    • PageResult«DeviceCommandVO»
    • CommonResult«PageResult«DeviceCommandVO»»
    • DeviceCommandPageQuery
    • CommonResult«List«DeviceCommandVO»»
    • DeviceCommandRecentlyQuery
    • DeviceTypeQuery
    • DeviceTypeVO
    • CommonResult«DeviceTypeVO»
    • DeviceTypeCommandQuery
  1. history

H5 Page

Historical Playback H5 Page Instruction Manual#

I. Page Overview
This page provides the playback function of device historical videos. Users can query the list of all video files within a specified time range by specifying the device ID, channel ID, and time range, and select any file for playback.
II. Access Address
https://www.mettaxiot.com/h5/#/history?deviceId=997061087395&channelId=2&endTime=2023-12-29%2023%3A59%3A59&startTime=2023-12-29%2000%3A00%3A00&token=Web_2M4HNDGCuW09MxS4iuD8NkoORTSWTia5sX5rK6RGsMxaA3XK5KIc4AEhqCE3t8BuQTQrd2ca0IQHXEseXxGWSLBeZSAOKtUQA3Tr
III. Parameter Description
ParameterTypeRequired/OptionalDescription
deviceIdStringRequiredDevice ID, uniquely identifying the device to be queried.
channelIdStringRequiredChannel number, ranging from 1 to 16, specifying the video channel of the device.
startTimeStringRequiredStart time, format YYYY-MM-DD HH:MM:SS, the starting point of the query time range.
endTimeStringRequiredEnd time, format YYYY-MM-DD HH:MM:SS, the ending point of the query time range.
tokenStringRequiredAuthentication token for verifying user permissions. Obtained by calling the createToken interface.
IV. Instructions for Use
1.
Access the Page
Enter the above address in the browser, ensuring the URL contains the correct deviceId, channelId, startTime, endTime, and token parameters.
2.
View Historical Video List
After the page loads, it will automatically query the historical video files based on the provided time range, and list all eligible video segments in the table below. Each segment shows the start time ~ end time (only hours, minutes, and seconds) and the channel number.
3.
Play Historical Video
Click the play icon (▶) to the right of any historical video segment in the list. The page will start playing that segment. The player area will display the video stream.
V. Precautions
Ensure that the parameter values in the URL are correct, especially the time format which must strictly conform to YYYY-MM-DD HH:MM:SS (separated by a space).
The token is sensitive information. Please keep it secure and do not disclose it to others.
Loading the historical video list and starting playback may take some time; please be patient.
If playback fails or there is no historical video data, check whether the device is online and whether there are videos within the time range, or contact technical support.
VI. Obtaining Token
Refer to the "How to Obtain Token" section in the original document. Generate the token by calling the createToken interface using the API key and API Secret from the Developer project.
Modified at 2026-03-19 10:09:23
Previous
README
Next
customHistoricalUploadStop
Built with