You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
srs/trunk/doc
Winlin 73dd8af4c9
HLS: Ignore empty NALU to avoid error. v6.0.65 (#3750)
For the DJI M30, there is a bug where empty NALU packets with a size of
zero are causing issues with HLS streaming. This bug leads to random
unpublish events due to the SRS disconnecting the connection for the HLS
module when it fails to handle empty NALU packets.

To address this bug, we have patched the system to ignore any empty NALU
packets with a size of zero. Additionally, we have created a tool in the
srs-bench to replay pcapng files captured by tcpdump or Wireshark. We
have also added utest using mprotect and asan to detect any memory
corruption.

It is important to note that this bug has been fixed in versions 4.0.271
6477f31004 and 5.0.170
939f6b484b. This patch specifically
addresses the issue in SRS 6.0.

Please be aware that there is another commit related to this bug that
partially fixes the issue but still leaves a small problem for asan to
detect memory corruption. This commit,
577cd299e1, only ignores empty NALU
packets but still reads beyond the memory.

---------

Co-authored-by: chundonglinlin <chundonglinlin@163.com>
2 years ago
..
Architecture.md GB28181: Fix bug for parsing GB to RTC. 2 years ago
CHANGELOG.md HLS: Ignore empty NALU to avoid error. v6.0.65 (#3750) 2 years ago
Dockers.md Docker: Refine the main dockerfile. v6.0.54 (#3594) 2 years ago
Features.md WHIP: Support DELETE resource for Larix Broadcaster. v5.0.148 v6.0.36 (#3427) 2 years ago
PERFORMANCE.md Improve README and documents with AI. v5.0.153. v6.0.43 (#3538) 2 years ago
README.md Micro changes and refines. 2 years ago
Resources.md Merge 4.0release, migrate to new website. 3 years ago
ffmpeg-logo.png support ffmpeg filter 11 years ago
ffmpeg-min.png add drawtext filter sample 11 years ago
readme.txt Move doc 5 years ago
source.200kbps.768x320.flv update readme, add hls(audio-only) support to readme. update sample flv from h264+mp3 to h264+aac 11 years ago
source.flv SquashSRS4: Support RTC2RTMP. 4 years ago
srs-logo.ico Windows: Support cygwin pipline and packager. v5.0.89 (#3257) 2 years ago
srs-logo.png remove the libfreetype for it fullfill with bugs and always cause build failed. 0.9.139 11 years ago