public:it:rtsp

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
public:it:rtsp [2024/04/24 09:30] – [文档] oakfirepublic:it:rtsp [2025/03/13 16:22] (当前版本) oakfire
行 5: 行 5:
  
 - RTSP [RFC2326](http://www.rfcreader.com/#rfc2326) - RTSP [RFC2326](http://www.rfcreader.com/#rfc2326)
 +- RTSP 2.0 [RFC7826](http://www.rfcreader.com/#rfc7826)
 - SDP [RFC2327](http://www.rfcreader.com/#rfc2327)[RFC3266](http://www.rfcreader.com/#rfc3266) -> [RFC4566](http://www.rfcreader.com/#rfc4566) -> [RFC8866](http://www.rfcreader.com/#rfc8866) - SDP [RFC2327](http://www.rfcreader.com/#rfc2327)[RFC3266](http://www.rfcreader.com/#rfc3266) -> [RFC4566](http://www.rfcreader.com/#rfc4566) -> [RFC8866](http://www.rfcreader.com/#rfc8866)
   - SDP 中音视频媒体的描述:[RFC5939](https://www.rfcreader.com/#rfc5939), [RFC6236](https://www.rfcreader.com/#rfc6236), [RFC6871](https://www.rfcreader.com/#rfc6871)   - SDP 中音视频媒体的描述:[RFC5939](https://www.rfcreader.com/#rfc5939), [RFC6236](https://www.rfcreader.com/#rfc6236), [RFC6871](https://www.rfcreader.com/#rfc6871)
行 23: 行 24:
  - RTP 对 H264 的分包相关: [RFC6184](https://www.rfcreader.com/#rfc6184)  - RTP 对 H264 的分包相关: [RFC6184](https://www.rfcreader.com/#rfc6184)
  - Table 1.  Summary of NAL unit types and the corresponding packet types  - Table 1.  Summary of NAL unit types and the corresponding packet types
- +   ```
-```+
  NAL Unit  Packet    Packet Type Name               Section  NAL Unit  Packet    Packet Type Name               Section
    Type      Type    Type      Type
行 37: 行 37:
    29       FU-B      Fragmentation unit                 5.8    29       FU-B      Fragmentation unit                 5.8
    30-31    reserved                                     -    30-31    reserved                                     -
-```+   ```
  
 - 三种分包模式: three cases of packetization modes: - 三种分包模式: three cases of packetization modes:
行 63: 行 63:
   
 ### STAP-A 包 ### STAP-A 包
-- 24(0x18)格式,某些 rtsp server 推流会把关键帧前的 sps pps 作为一个STAP-A包发送, 比如  mediamtx  的流](:/375f37943e3d4a659d329a260eb1efca)  +- 24(0x18)格式,某些 rtsp server 推流会把关键帧前的 sps pps 作为一个STAP-A包发送, 比如 mediamtx 的流
 - STAP-A 的格式: 头字节  0x18 , 跟两字节长度,然后跟h264  nalu内容,再跟两字节长度,如此循环: - STAP-A 的格式: 头字节  0x18 , 跟两字节长度,然后跟h264  nalu内容,再跟两字节长度,如此循环:
- +  ```
- ```+
                                                            3                                                            3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
行 84: 行 83:
     |                               :...OPTIONAL RTP padding        |     |                               :...OPTIONAL RTP padding        |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-``` +   ``` 
-</markdow +</markdown>
-n>+
  • public/it/rtsp.1713922219.txt.gz
  • 最后更改: 2024/04/24 09:30
  • oakfire