Products >> GB28181 Device
GB28181 Device - H.265 SDK for NVR, IPC & Platform Integration
Happytime GB28181 Device provides subscription and notification functions, enabling users to obtain real-time information and respond quickly. In addition, it supports recording playback and recording download, meeting users' requirements for historical video playback. It supports audio talk and audio broadcasts.
Happytime GB28181 Device can easily handle the conversion of RTSP, RTMP, SRT streams to PS streams, providing users with more streaming media options. Whether it's cameras, microphones, live screen, or application windows, GB28181 Device can convert them into high-quality video streams.

Support GB28181 standard 2016 and 2022 version
Support convert RTSP, RTMP, SRT stream to PS stream
Support streaming from camera, microphone
Support streaming from live screen, application window
GB28181 device SDK with H265 and IPv6 support
Key Features of GB28181 Device
✅ GB28181-2016 & 2022 Compliant: Full support for China's public security video standard.
✅ H.265 & H.264 Support: PS stream with H.265/HEVC, H.264, MPEG-4, AAC, G711.
✅ RTSP/RTMP/SRT to PS Stream: Convert any stream to GB28181-compatible PS
stream.
✅ Multi-Source Input: Stream from camera, microphone, screen, application window.
✅ PTZ & Preset Control: Full camera control support.
✅ Audio Talk & Broadcast: Two-way audio communication.
✅ Recording Configuration: Configure recording
plans, alarm-triggered recording, and manual recording control for scheduled and event-based recording.
✅ Recording Query & Playback: Query recordings by time range and replay with seek, speed control, single-frame step, pause, and resume.
✅ Cross-Platform: Runs on
Windows, Linux, Mac, Android, iOS, embedded Linux.
✅ Built-in SIP Stack: Reliable, self-developed SIP protocol for stable registration.
Recording Configuration
GB28181 Device supports full recording configuration and management, allowing the platform to schedule and trigger recording on the device via standard GB28181 commands. The recording configuration is stored in the default configuration file
gb28181device.cfg, and can also be applied remotely by the platform through ConfigDownload / DeviceConfig.
✅ Recording Plan (VideoRecordPlan): Configure scheduled recording with recording enable flag, number of time periods, and stream number per period.
✅ Alarm Recording (VideoAlarmRecord): Enable or disable alarm-triggered recording so that video is recorded automatically when an alarm event (e.g., motion detection) occurs.
✅ Manual Recording Control (RecordCmd): Start or stop recording on demand through the DeviceControl command issued by the platform.
✅ Recording Query (RecordInfo): Return a list of recordings in a specified time range for the platform's recording search.
✅ Recording Playback (INVITE + MANSRTSP): Replay recorded video with full control, including seek/positioning (absolute or relative time), speed control (Scale, 0.125x - 4x), single-frame step (Step), pause, and resume.
Technical specifications of GB28181 Device
Programming language: C/C++.
Video codec: H264, H265, MPEG4.
Encapsulation format: PS encapsulation.
Communication protocol: Supporting the SIP protocol stack, developed independently to ensure reliable and stable communication.
Network function: Support
IPv6, Support heartbeat response detection, server offline detection, and automatic reconnection mechanism.
RTCP support: Support RTCP to enhance the monitoring and management of streaming media transmission.
Code characteristics: Code migration is simple and easy, and it is
suitable for developing IP cameras, NVRs, and other devices that support GB28181.
Performance characteristics: Small target file size, stable program operation.
GB28181 Device Android APK

Use Cases & Applications
NVR Development: Add GB28181 compliance to your NVR system.
IPC Simulation: Test platform registration and playback.
Platform Integration: Connect third-party systems to GB28181 platforms.
Video Gateway: Convert RTSP streams to PS for legacy platforms.
Smart City Projects: Deploy compliant video devices for government tenders.
Frequently Asked Questions (FAQ)
What is a GB28181 device?
A GB28181 device is a video system (like IPC or NVR) that complies with China's GB/T 28181 standard for public security video networking. Happytime GB28181 Device SDK enables integration.
Does it support GB28181 2022?
Yes. Full compliance with both GB/T 28181-2016 and 2022 standards.
Can it convert RTSP to PS stream?
Yes. Converts RTSP, RTMP, or SRT streams to PS (Program Stream) for GB28181 platforms.
Does it support H.265?
Yes. Full support for H.265/HEVC, H.264, MPEG-4, AAC, G711A/U.
Is there a SIP protocol stack?
Yes. Built-in self-developed SIP stack for reliable device registration and signaling.
Can I control PTZ and presets?
Yes. Full PTZ, preset, and tour control supported.
What platforms does it support?
Windows, Linux, Mac, Android, iOS, and embedded Linux. Ideal for NVR, IPC, and gateways.
Demo version limitation
The demo version only supports two channels
The video stream of the demo version lasts up to 2 hours







