Skip to content

video ​

1. Features Supported by the GB (National Standard) Monitoring Platform ​

  • GB/T28181 access registration & heartbeat
  • Device information query
  • Device channel query
  • Device live streaming
  • Monitoring screenshot snapshots
  • PTZ control, electronic zoom, full screen, audio on/off
  • Device recording on demand
  • Cloud recording, OSS storage
  • Split-screen display (four-way split, nine-way split)
  • Supports direct output of stream addresses in multiple protocols: RTSP, RTMP, HTTP-FLV, Websocket-FLV, HLS
  • Multiple streaming media server clusters
  • GB alarm information reporting

2. Monitoring Device Details Feature Introduction ​

  • Basic information

Basic information

  • Channel information viewing

Channel information viewing

  • Device live streaming

Device live streaming

  • Device live streaming control (audio on/off, PTZ control, electronic zoom, full screen)

Device live streaming control

  • Device live recording

Device live recording

警告

Note!!! Leaving the recording page does not close the stream; you need to re-enter the page to close it.

  • Device recording playback (only supported by devices with local storage, such as IPCs with SD cards, NVRs, and DVRs)

Device recording playback

  • Cloud recording

Cloud recording

3. Streaming Media Server Configuration ​

Streaming media server configuration

4. Recording Management ​

Cloud recordingCloud recording

5. URL Stream Pulling ​

5.1 Create a stream-pulling channel: Video Center --> Channel Management --> Add ​

  • Playback of addresses in http(ws)-flv, hls, webrtc, http(ws)-fmp4, http(ws)-h264/h265 and other formats

Create stream-pulling channel

  • Playback of rtmp and rtsp addresses

RTMP/RTSP address playback

5.2 Bind a device or associate a scene: Video Center --> Channel Management --> Device Binding ​

Bind device

5.3 View the video stream: Device Management --> View Details --> Video Surveillance ​

View video stream

6. Video Access Configuration Checklist ​

Video capabilities involve devices, SIP, streaming media, recording, frontend players, and network ports. It is recommended to configure them in the following order.

Configuration ItemDescriptionAcceptance Method
Video productSet the product device type to monitoring device and configure SIP/GB28181 related parametersProduct published, devices can be created
SIP serviceConfigure SIP ID, domain, port, password, and GB encodingCamera or NVR can register
Streaming media serviceConfigure the ZLMediaKit or corresponding media service addressLive stream addresses can be generated
Video channelsQuery or manually maintain device channelsOnline channels visible in the channel list
Playback protocolChoose FLV, HLS, WebRTC, etc. according to the browser and networkPage plays smoothly without stuttering
Recording serviceConfigure cloud recording, storage location, and HookRecording list can be queried
OSS storageCloud recording and screenshots require usable storageFiles can be accessed and downloaded
Port openingSIP, RTP, HTTP-FLV, HLS, WebSocket and other ports are availableAccessible by external devices and browsers

7. Go-live Acceptance ​

ScenarioAcceptance Content
GB registrationDevice registration, heartbeat, and device information query work normally
Channel synchronizationCamera or NVR channels can be synchronized to the platform
Live playbackLive streams can be opened on the web page, and the stream is released after the page is closed
PTZ controlDevices with PTZ support up/down/left/right, zoom, and stop
Recording playbackLocal or cloud recordings can be queried and played by time
URL stream pullingRTSP/RTMP/HLS/FLV and other URLs can be bound to devices or scenes
Split-screen playbackPerformance is acceptable during four-way and nine-way split-screen playback
Mobile playbackPlayback protocols are compatible with the App/mini program or mobile browsers

8. FAQ ​

Device cannot register ​

Check the SIP server address, port, domain, GB encoding, device password, firewall, security group, and device network. The platform encoding filled in on the camera side must match the platform SIP configuration.

Channel list is empty ​

Check whether the device has registered successfully, whether the platform has sent a catalog query, whether the device supports channel query, and whether the NVR's subordinate channels are enabled.

Live stream shows a black screen or cannot play ​

Check whether ZLMediaKit has received the stream, whether the playback protocol is supported by the browser, whether the video encoding is compatible, and whether mixed HTTP/HTTPS usage is blocked by the browser.

Recordings cannot be found ​

Check the query time range, whether the device has local recordings, whether the cloud recording task is enabled, and whether the recording service and OSS are available.

URL stream pulling fails ​

Check whether the stream address is accessible from the server, whether the RTSP account and password are correct, whether the target camera limits the number of connections, and whether ZLM proxy stream pulling succeeded.

9. Secondary Development Entry Points ​

TypePath or APIDescription
Frontend pagesvue3/src/views/iot/sip, vue3/src/views/iot/deviceSIP, video details, and channel display
Playback API/common/playerLive, stop, playback, proxy stream pulling
PTZ API/common/ptzPTZ control
Channel API/iot/channelChannel management and device binding
SIP servicespringboot/fastbee-server/sip-serverGB28181 signaling
Recording servicespringboot/fastbee-recordRecording, ZLM Hook, playback
Media common modulespringboot/fastbee-common-mediaCommon media capabilities
Media integrationspringboot/fastbee-media-apiIntegration with external platforms such as Dahua ICC

FastBee | fastbee.cn