1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00
srs/trunk/3rdparty/srs-bench/vendor/github.com/pion/sdp/v3
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>
2023-08-02 22:49:49 +08:00
..
.gitignore TEST: Upgrade pion to v3.2.9. (#3567) 2023-06-05 11:25:04 +08:00
.golangci.yml TEST: Upgrade pion to v3.2.9. (#3567) 2023-06-05 11:25:04 +08:00
AUTHORS.txt TEST: Upgrade pion to v3.2.9. (#3567) 2023-06-05 11:25:04 +08:00
base_lexer.go TEST: Upgrade pion to v3.2.9. (#3567) 2023-06-05 11:25:04 +08:00
codecov.yml For regression test, add srs-bench to 3rdparty 2021-03-04 14:18:57 +08:00
common_description.go For regression test, add srs-bench to 3rdparty 2021-03-04 14:18:57 +08:00
direction.go For regression test, add srs-bench to 3rdparty 2021-03-04 14:18:57 +08:00
extmap.go For regression test, add srs-bench to 3rdparty 2021-03-04 14:18:57 +08:00
fuzz.go HLS: Ignore empty NALU to avoid error. v6.0.65 (#3750) 2023-08-02 22:49:49 +08:00
jsep.go TEST: Upgrade pion to v3.2.9. (#3567) 2023-06-05 11:25:04 +08:00
LICENSE For regression test, add srs-bench to 3rdparty 2021-03-04 14:18:57 +08:00
marshal.go For regression test, add srs-bench to 3rdparty 2021-03-04 14:18:57 +08:00
media_description.go For regression test, add srs-bench to 3rdparty 2021-03-04 14:18:57 +08:00
README.md TEST: Upgrade pion to v3.2.9. (#3567) 2023-06-05 11:25:04 +08:00
renovate.json TEST: Upgrade pion to v3.2.9. (#3567) 2023-06-05 11:25:04 +08:00
sdp.go For regression test, add srs-bench to 3rdparty 2021-03-04 14:18:57 +08:00
session_description.go For regression test, add srs-bench to 3rdparty 2021-03-04 14:18:57 +08:00
time_description.go For regression test, add srs-bench to 3rdparty 2021-03-04 14:18:57 +08:00
unmarshal.go TEST: Upgrade pion to v3.2.9. (#3567) 2023-06-05 11:25:04 +08:00
util.go TEST: Upgrade pion to v3.2.9. (#3567) 2023-06-05 11:25:04 +08:00


Pion SDP

A Go implementation of the SDP

Pion SDP Sourcegraph Widget Slack Widget
Build Status GoDoc Coverage Status Go Report Card License: MIT


Roadmap

The library is used as a part of our WebRTC implementation. Please refer to that roadmap to track our major milestones.

Community

Pion has an active community on the Golang Slack. Sign up and join the #pion channel for discussions and support. You can also use Pion mailing list.

We are always looking to support your projects. Please reach out if you have something to build!

If you need commercial support or don't want to use public methods you can contact us at team@pion.ly

Contributing

Check out the contributing wiki to join the group of amazing people making this project possible:

License

MIT License - see LICENSE for full text