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/3rdparty/srs-bench/vendor/github.com/google/uuid
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
..
.travis.yml For regression test, add srs-bench to 3rdparty 4 years ago
CONTRIBUTING.md For regression test, add srs-bench to 3rdparty 4 years ago
CONTRIBUTORS For regression test, add srs-bench to 3rdparty 4 years ago
LICENSE For regression test, add srs-bench to 3rdparty 4 years ago
README.md For regression test, add srs-bench to 3rdparty 4 years ago
dce.go For regression test, add srs-bench to 3rdparty 4 years ago
doc.go For regression test, add srs-bench to 3rdparty 4 years ago
hash.go Squash: Fix rtc to rtmp sync timestamp using sender report. #2470 4 years ago
marshal.go For regression test, add srs-bench to 3rdparty 4 years ago
node.go For regression test, add srs-bench to 3rdparty 4 years ago
node_js.go HLS: Ignore empty NALU to avoid error. v6.0.65 (#3750) 2 years ago
node_net.go HLS: Ignore empty NALU to avoid error. v6.0.65 (#3750) 2 years ago
null.go TEST: Upgrade pion to v3.2.9. (#3567) 2 years ago
sql.go Squash: Fix rtc to rtmp sync timestamp using sender report. #2470 4 years ago
time.go For regression test, add srs-bench to 3rdparty 4 years ago
util.go For regression test, add srs-bench to 3rdparty 4 years ago
uuid.go TEST: Upgrade pion to v3.2.9. (#3567) 2 years ago
version1.go For regression test, add srs-bench to 3rdparty 4 years ago
version4.go TEST: Upgrade pion to v3.2.9. (#3567) 2 years ago

README.md

uuid build status

The uuid package generates and inspects UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.

This package is based on the github.com/pborman/uuid package (previously named code.google.com/p/go-uuid). It differs from these earlier packages in that a UUID is a 16 byte array rather than a byte slice. One loss due to this change is the ability to represent an invalid UUID (vs a NIL UUID).

Install

go get github.com/google/uuid

Documentation

GoDoc

Full go doc style documentation for the package can be viewed online without installing this package by using the GoDoc site here: http://pkg.go.dev/github.com/google/uuid