rtsp-rtp-streaming

Pack H.264 NAL units into RTP packets using RFC 3984 fragmentation.

2|1|Updated Aug 20, 2025
One-click install
npx skills add https://github.com/kkrzysztofik/Anyka_ak3918_hacking_journey --skill rtsp-rtp-streaming
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rtsp-rtp-streaming
Source: https://github.com/kkrzysztofik/Anyka_ak3918_hacking_journey/tree/main/.claude/skills/rtsp-rtp-streaming
Command: npx skills add https://github.com/kkrzysztofik/Anyka_ak3918_hacking_journey --skill rtsp-rtp-streaming

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables the efficient and reliable streaming of H.264 video data over RTSP and RTP protocols, handling the complexities of NAL unit packing and fragmentation.

Core Features & Use Cases

  • H.264 NAL Unit Handling: Manages the packing and fragmentation of H.264 Network Abstraction Layer (NAL) units for RTP transmission.
  • RTSP/RTP Protocol Support: Implements the necessary logic for streaming video according to RTSP and RTP standards (RFC 3984).
  • Use Case: Integrate this Skill into a surveillance system to stream live video from an IP camera to a network viewer using standard protocols.

Quick Start

Use the rtsp-rtp-streaming skill to pack a given H.264 NAL unit into RTP packets.

Frequently Asked Questions about rtsp-rtp-streaming

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I pack H.264 NAL units into RTP packets for streaming?

To pack H.264 NAL units into RTP packets, you can use single NAL unit mode, STAP-A, or FU-A fragmentation strategies according to RFC 3984. This handles RTP packet construction and manages fragmentation automatically.

What is FU-A fragmentation in H.264 RTP streaming?

FU-A fragmentation is a strategy defined in RFC 3984 for splitting large H.264 NAL units into multiple RTP packets. It allows video codec data to be transmitted efficiently over network protocols without exceeding packet size limits.

When do I need STAP-A aggregation for H.264 video codec data?

You need STAP-A aggregation when packing multiple small H.264 NAL units into a single RTP packet. This RFC 3984 strategy reduces network overhead during RTSP streaming by combining NAL units efficiently before transmission.

Can I stream live IP camera video over RTSP using H.264?

Yes, you can stream live IP camera video over RTSP using H.264 by managing NAL unit packing and RTP packet construction. The process includes SPS/PPS extraction and frame reassembly logic for complete video frames.

Why does RTP streaming require SPS and PPS extraction for H.264?

RTP streaming requires SPS and PPS extraction because these NAL units contain essential H.264 video codec configuration parameters. Extracting and reassembling them ensures complete frame reconstruction and proper decoding by the receiving network viewer.

Does rtsp-rtp-streaming support RFC 3984 compliance for NAL unit packing?

Yes, rtsp-rtp-streaming supports RFC 3984 compliance for NAL unit packing by implementing single NAL unit mode, STAP-A aggregation, and FU-A fragmentation. It handles RTP packet construction and SPS/PPS extraction for reliable video streaming.