IotHub
  1. video
IotHub
  • README
  • Update Record
  • 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
    • expandInfoByDeviceId
      POST
    • saveDeviceChannelName
      POST
  • fence
    • fencePage
    • fenceInfo
    • addFence
    • saveFence
    • delFence
    • fenceDevices
    • fenceDeviceUpdate
    • fenceDeviceDel
    • fenceDeviceAdd
  • push
    • README
  • video
    • H5 page
    • H5 Page-V2
    • liveVideo
      POST
    • playBackList
      POST
    • historicalUpload
      POST
    • playBack
      POST
    • replaySet
      POST
    • taskPage
      POST
    • taskDelete
      POST
    • getNodes
      POST
  • alarm
    • alarmTypeList
    • alarmFilePage
    • alarmFileByAlarmId
    • alarmHistoryPage
    • alarmPageByUser
  • audio
    • README
    • talk
    • talkPlus
  • gallery
    • filePageV2
    • filePage
    • deleteFile
    • capture
    • capturePage
  • fleet
    • faceRecordPage
  • gps
    • historyData
  • Protocol Analysis
    POST
  1. video

H5 Page-V2

【Recommend 】LiveV2 H5 page usage instructions document#

1. Page overview
Provides an independent live broadcast window, which can be embedded into the required page through iframe. The parameters in the link can be used to control the live media server node, stream type, whether to display node information, whether to display imei information, etc.
2. Access address
https://www.mettaxiot.com/h5/#/live/v2?deviceId=711062605855&channelId=1&token=Web_uyZ9ryD8vjSY9MDbZdZYRuk7vsnUhBuv3Zv5Z7JcVcBspcA7Ap2Y9bO1xEs5EzGVzE9pnJIZ3VH48Se3QxiXSyjogVZ1qRNEa9cv&v=2&bitStream=1&streaming=singapore-1&showTop=true&showBottom=true
3. Parameter description
Parameter NameTypeRequired/OptionalOptional ValueDefault ValueDescription
deviceIdStringRequired——Device ID (deviceId): The number that uniquely identifies the device. Used to specify the device to which the video stream to be queried belongs.
channelIdStringRequired1-16—Channel Number (channelId): The channel number that identifies the video stream. Used to specify the specific channel of the video stream to be queried.
tokenStringRequired——Authentication token, used to verify user permissions. By providing a valid token, ensure that only authorized users can access the page.
bitStreamNumberOptional0/11Stream type; 0 is the main stream; 1 is the sub-stream.
streamingStringOptionalsingapore-1/singapore-2/southAfrica-1/uae-1/india-1/eU-1, etc.singapore-1Live streaming media; for specific optional values, please refer to the liveNodes data obtained by the getNodes interface in openApi. Use the nodeValue in it to select live streaming media.
showTopbooleanOptionaltrue/falsetrueWhether to disable the display at the top, which displays the current live streaming type and bitstream type.
showBottombooleanoptionaltrue/falsetrueWhether to disable the display below, the display content is imei-ch.

4. Instructions for use
1.
Enter the provided address into your browser.
2.
Enter the parameters according to the page prompts. Make sure the parameters contain the correct device ID and channel number, as well as the token parameter.
3.
Click the query button or press the Enter key, and the page will display the device data within the specified time period.
4.
The page will display the real-time video stream of the specified channel of the specified device. Users can watch the real-time operation of the device.
5. Precautions
Please make sure that the Device ID and Channel Number in the parameters are correct, otherwise the video stream may not be queried correctly or incorrect results may be displayed.
Do not disclose the token parameters to others, otherwise it may allow unauthorized users to access the page or obtain sensitive information.
Page loading and data query may take some time, please be patient.
If you encounter other problems, please contact technical support for assistance.

Modified at 2025-02-14 10:09:49
Previous
H5 page
Next
liveVideo
Built with