Commit Graph

90 Commits (develop)

Author SHA1 Message Date
winlin d70e7357cf Release v6.0-a1, 6.0 alpha1, v6.0.155, 169636 lines. 5 months ago
winlin 47f8fe4395 Fix utest fail. 5 months ago
Jacob Su 08971e5905
Build: Refine workflow for cygwin and remove scorecard. v6.0.120 (#3995)
#3983 already fixed the `test` workflow, but I think the `release` will
have same issue.

---------

Co-authored-by: winlin <winlinvip@gmail.com>
10 months ago
Winlin 22c2469414
Upgrade hls.js and set in low latency mode. v6.0.112 (#3924)
HLS typically has a delay of around 30 seconds, roughly comprising three
segments, each lasting 10 seconds. We can reduce the delay to about 5
seconds by lowering the segment duration to 2 seconds and starting
playback from the last segment, achieving a stable delay.

Of course, this requires setting the OBS's GOP to 1 second, and the
profile to baseline, preset to fast, and tune to zerolatency.
Additionally, updating a few configurations in the hls.js player is
necessary, such as setting it to start playback from the last segment,
setting the maximum buffer, and initiating accelerated playback to
reduce latency.

---------

Co-authored-by: chundonglinlin <chundonglinlin@163.com>
Co-authored-by: john <hondaxiao@tencent.com>
1 year ago
john 3e463a8e56
Fix opus delay options, use ffmpeg-opus in docker test. v6.0.102 (#3883)
The `ffmpeg-opus` tool allows you to control the delay using the
`opus_delay` option. The minimum delay can be set to 2.5ms. However, in
practice, you cannot set it this low. You need to set at least 10 frames
to allow the audio encoder to lookahead. Otherwise, the sound will be
distorted.

---------

Co-authored-by: chundonglinlin <chundonglinlin@163.com>
1 year ago
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
Winlin e19efe0bcd
Support helm to optimize the deployment procedure of a SRS cluster. v6.0.64 (#3611)
1. Introduce a novel Docker tag in the x.y.z format, akin to the HELM
format, such as ossrs/srs:5.0.155.
2. Incorporate the SRS_PLATFORM flag for containers initiated through
HELM.

---------

`TRANS_BY_GPT3`

---------

Co-authored-by: chundonglinlin <chundonglinlin@163.com>
2 years ago
Winlin 8c061fcf5d
Docker: Refine the main dockerfile. v6.0.54 (#3594)
------

Co-authored-by: Haibo Chen <495810242@qq.com>
2 years ago
Winlin dcd02fe69c
Support composited bridges for 1:N protocols converting. v6.0.41 (#3392)
Co-authored-by: john <hondaxiao@tencent.com>
Co-authored-by: chundonglinlin <chundonglinlin@163.com>
2 years ago
winlin 2ac9eb84bc Fix release bug. Release v6.0.36 2 years ago
winlin 35fd9be863 Scorecard: Pin some github actions. 2 years ago
winlin edb4866889 Actions: Rename workflow name. 2 years ago
Winlin 498ce72af8 SRS5: Config: Support better env name for prefixed with srs (#3370)
* Actions: Fix github action warnings.

* Forward: Bind the context id of source or stream.

* Config: Support better env names.

PICK a4e7427433

Co-authored-by: pengfei.ma <pengfei.ma@ctechm.com>
Co-authored-by: Haibo Chen <495810242@qq.com>
2 years ago
winlin badf33c544 Scorecard: Delcare default permissions as read only except CodeQL. 2 years ago
winlin 7bd8682d40 SRS5: Script: Refine depends tools. v5.0.124
1. Never auto install tools now, user should do it.
2. Support --help and --version for SRS.
3. Install tools for cygwin64.

PICK e690c93bcf
2 years ago
winlin 39c9487a73 Support first SRS6 version. v6.0.10 2 years ago
winlin 2ed9516a35 SRS5: Actions: Fix github actions bug.
PICK fe3502e6ad
2 years ago
winlin 2e1d99002f SRS5: Actions: Fix GitHub actions warnings.
PICK 23b7939574
2 years ago
Winlin 178e40a5fc
H265: Support HEVC over RTMP or HTTP-FLV. (#3272)
1. Support configure with --h265=on.
2. Parse HEVC(H.265) from FLV or RTMP packet.
3. Support HEVC over RTMP or HTTP-FLV.

Co-authored-by: runner365 <shi.weibd@hotmail.com>
2 years ago
Winlin 136e5cf0e0
Support gitee mirror for release resource files. (#3265) 2 years ago
ChenGH f4f9c70d79
Asan: Fix global ip address leak check bug. v5.0.90 (#3248)
* asan: fix global ips memory leak bug

* Asan: Fix global ip address leak check. v5.0.90

* Asan: Directly start SRS for daemon error fixed.

Co-authored-by: winlin <winlin@vip.126.com>
2 years ago
winlin a2bddbe9c3 Release: Refine pipeline for release. 2 years ago
winlin 05209eb522 Fix bug for regression test, check process by script. 2 years ago
Winlin b18ee398ed
Windows: Support cygwin pipline and packager. v5.0.89 (#3257)
1. Support github actions on Windows Server 2022.
2. Use cygwin64 in windows-latest to build SRS.
3. Package SRS-xxx-setup.exe by NSIS.exe
4. Patch crypto/include/config.h for libsrtp.
5. Support run as administrator.
6. Apply utest for cygwin.
7. Enable srtp over openssl.
2 years ago
winlin 736c661808 Merge 4.0 release 2 years ago
winlin 0e68dc2939 Refine 4.0 release workflow. 2 years ago
winlin 762b314700 Refine release workflow. 2 years ago
winlin 5225a07727 Merge 4.0release 2 years ago
winlin d5293e34e1 Refine release doc and wiki link. 2 years ago
winlin fe2002794f Release v4.0-r2, 4.0 release2, v4.0.257, 144890 lines. 2 years ago
winlin 8898ba9769 Remove lighthouse and droplet docker image. 3 years ago
winlin 46cb4ced93 GitHub: Refine actions yaml. 3 years ago
winlin f7280399d4 Merge 4.0release, migrate to new website. 3 years ago
winlin db5d6dcd4a Support thread pool and update ossrs.net. v5.0.33 3 years ago
winlin cd85a96255 Update SRS image for r.ossrs.net 3 years ago
winlin 0badae4797 Support thread pool and update ossrs.net. v5.0.33 3 years ago
winlin 57be5188c3 Merge branch '4.0release' into develop 3 years ago
winlin a2cfec2dcc Update SRS image for r.ossrs.net 3 years ago
winlin c722eba48f SRT: Support Coroutine Native SRT over ST. (#3010). (1af30de). v5.0.30 3 years ago
winlin f568e4f91d Docker: Support x86_64, armv7 and aarch64 docker image (#3058). v5.0.29 3 years ago
winlin d525d27e64 Merge from 4.0release 3 years ago
winlin 1f0ea3fdf5 Docker: Support x86_64, armv7 and aarch64 docker image (#3058). v4.0.252 3 years ago
winlin c2b07ad943 Squash: Fix bugs 3 years ago
winlin ff93bdd14f Mirror docker images in TCR Singapore. v4.0.240 3 years ago
winlin 0e9dc50d11 Support TCR docker images 3 years ago
winlin 5c1556ac74 Squash: Refine release 3 years ago
winlin 3c5a527a10 Refine label for release.yml 3 years ago
winlin d1534c099b Push docker to docker, acr and tcr. v4.0.238 3 years ago
winlin 6b7fc6fdb5 Squash: Fix bugs for 4.0 3 years ago
winlin 6c6c0f0f0f Support docker image for lighthouse. v4.0.231 3 years ago