Commit Graph

4655 Commits (d57e9c758ea5d371a6aefae49f01c9e600ae89f3)

Author SHA1 Message Date
winlin 51ca3fd80a Only discover api server ip as candidate. 3 years ago
winlin 4d09b8caae When reopening segment, never update the duration. (#2717). v4.0.219 3 years ago
winlin fbb6d9464c Discover api server and ip as candidates. v4.0.218 3 years ago
winlin 013fa8ac6c Install test-on self-sign certificate. v4.0.217 3 years ago
winlin 7808bd7ca8 Support config in_docker to fix the detect fail. (#2824). v4.0.216 3 years ago
winlin 8bc2759c7e Refine error log for rtmp2rtc. (#2728). v4.0.215 3 years ago
along cf010064eb
Update srs_core.hpp (#2832)
modify a word.
3 years ago
winlin 5aba212f3d Bugs fixed. (#2770)(#2820). v4.0.214 3 years ago
john a9397598e8
Fix typo(HTTP-Server -> HTTPS-Server) (#2822) 3 years ago
chundonglinlin a16590b3a6
SRT: Eliminate duplicate header file.(#2786) (#2827) 3 years ago
mapengfei53 3f8b1a2922
Fix the error of pps statistics (#2820) 3 years ago
akanchi f1a448bc6a
SRT: Fix srt2rtmp crash when streamid is too long(#2770) (#2786) 3 years ago
winlin c7ea21d06a Fix ulimit issue by detecting epoll on Ubuntu. (#2811). v4.0.213 3 years ago
winlin fb98113550 Fix #2815: Build fail for CentOS6 3 years ago
winlin 44e9dc83e9 Upgrade gperftools to 2.9 for GCP/GMC/GMP/GMD. (#2247) 3 years ago
winlin 63da0dca92 Cleanup server for GMC, by WaitGroup to destroy. (#2247). v4.0.206 3 years ago
winlin ab97eb5fcf HTTP: Fix 2GB+ mp4/flv file downloading error. (#2809)(#2780)(#2781). v4.0.211 3 years ago
chundonglinlin e73d00250b
HTTP: Fix mp4/flv file size exceed 2GB download error (#2780) (#2809) 3 years ago
winlin cc501e3eef Fix bug for large mp4(5G+) offset. (#2800). v4.0.210 3 years ago
john aa85ce024b
DVR: Fix large file mp4 dvr failed. (#2800) 3 years ago
winlin 2f52d0aefa Fix bug for HLS log printing. (#2807). v4.0.209 3 years ago
winlin d32195993d Refine the default config file. (#2711). v4.0.208 3 years ago
chundonglinlin 3188c772b1
RTC: Eliminate duplicate assignment for video packet frame type (#2803)
Co-authored-by: zhangjunqin1 <zhangjunqin@jd.com>
3 years ago
along c15fadb9d5
Update the stable version to SRS 4.0 (#2802)
now 4.0 is released and stable.
VERSION_STABLE should be 4
3 years ago
winlin ee24bb49f3 RTC: Support payload name AV1X/AV1. (#2784)(#2760). v4.0.207 3 years ago
Huachao Mao faeacf1fc9
RTC: Replace payload name AV1X with AV1 for WebRTC. (#2760) (#2784)
* RTC: Replace payload name AV1X with AV1 for WebRTC. (#2760)

* Add compatibility check code for old versions of Chrome

* 新增获取track_desc的AV1X编码兼容性检查
3 years ago
winlin 5decc95e2e Release v4.0-b1, 4.0 beta1, v4.0.206, 144126 lines. 3 years ago
john 7c353b5986 RTC: Fix memory leak when replace rtp packet in cache. (#2771). v4.0.205
* fix memory leak when replace rtp packet in cache.
3 years ago
winlin 2f93e68285 RTC: Fix nack encode seqnum. (#2766). v4.0.204 3 years ago
long 4decc1fa6b
RTC: Fix nack encode seqnum (#2766)
* fix nack encode seqnum

* add nack encode utest

* change Variable naming

Co-authored-by: liyalong1 <liyalong1@100tal.com>
3 years ago
winlin 5ccd63dec3 RTC: Fix bugs for RTC2RTMP. (#2768). v4.0.203 3 years ago
john f3c4023c25
Fix bugs for RTC2RTMP. (#2768)
1. Cache IDR frame's rtp timestamp instead of avsync timestamp.
2. Cache clock rate calculate by sender report.
3. Using srs_rtp_seq_distance instead of direct minus.
4. Add utest of av timestamp sync when duplicated sender report.
3 years ago
winlin b807ef9049 Fix dead links 3 years ago
winlin 4e64c66e02 RTC: Ignore empty audio packet when transcoding (#2757). v4.0.202 3 years ago
James 2c0cd9b58d
fix #2690, 如果发现音频包为空,则不送解码,以免提前结束了解码上下文 (#2757)
* fix #2690, 如果发现音频包为空,则不送解码,以免提前结束了解码上下文

* fix #2690,出错信息中,显示相关参数名称

Co-authored-by: jiankai <wangjiankai@cmhi.chinamobile.com>
3 years ago
winlin 04a8a2866b Release v4.0-b0, 4.0 beta0, v4.0.201, 144022 lines. 3 years ago
winlin 542a3e4f36 RTC: Refine publish security error message (#2762). v4.0.200 3 years ago
johzzy ff8657e1c5 RTC: Fix crash when pkt->payload() if pkt is nullptr (#2751). v4.0.199 3 years ago
winlin f3380d2ec0 Fix bug for CPU arch info 3 years ago
winlin 5e22b1929a ST: Print log when multiple thread stop one coroutine. (#1708). v4.0.198 3 years ago
winlin 93964bb037 ST: Print log when multiple thread stop one coroutine. (#1708) 3 years ago
winlin ff33940d90 WebRTC: Fail to publish RTC automatically for HTML5. 3 years ago
winlin be0f6197d0 RTC: check audio track exist when negotiate (#2729) v4.0.196 3 years ago
john 469bd8cfe2
RTC: check audio track exist when negotiate (#2729) 3 years ago
winlin 92f061ee7d Rtc2Rtmp: Use RTP timestamp to identify video frames. v4.0.195 (#2721) 3 years ago
john 878833bb95
Rtc2Rtmp: Using rtp timestamp to distinguish different video frame (#2721) 3 years ago
winlin 1f4dad024e Config: Guess config files by FHS. v4.0.194 (#2711) 3 years ago
Haibo Chen b06661539c DVR: Copy req from publish. v4.0.193 (#2714)
* DVR: copy req from publish

* DVR: copy req from publish
3 years ago
winlin 84a16774b2 Fix build fail for CentOS6, without SO_REUSEPORT 3 years ago
winlin df7faa1603 For #2369, #1708, #1941: Add utest to cover fail for close or stop 3 years ago
Haibo Chen 27083430ce Edge: Refuse edge request when state is stopping (#2707) 3 years ago
john 2d6ec03c5b
RTC: Remove no need code when check sdp. (#2702) 3 years ago
winlin eb20458d23 Auto create package by github actions. v4.0.191 3 years ago
winlin ab5079909d For #2369, #1708, #1941: Check errno when close fd or stop thread 3 years ago
马文武 54b706d36e Script: Refine CentOS7 service script to restart SRS. v4.0.190 (#2552) 3 years ago
Abrar Ahmed b9288668a7 SRT: Type from shoulde to should. (#2455)
Change word typo from shoulde to should
3 years ago
HungMingWu cc99226ed5 SRTP: Patch libsrtp2 to fix GCC10 build fail. v4.0.189 3 years ago
winlin 8125dd4dd1 Forward: Fast quit when cycle fail. v4.0.188 (#2284) 3 years ago
winlin ed1c499bd3 Gop: Ignore zero timestamp when shrinking. v4.0.187 (#2186) 3 years ago
lvndry e176401499 Cluster: Origin server shouldn't be it's own coworker. v4.0.186 (#1963) 3 years ago
Haibo Chen ced518ea92 STAT: Add server_id into http_hooks (#2692) v4.0.185 3 years ago
winlin 5783c4420f For #2689: Support stat for CPU archs. 3 years ago
Haibo Chen 592d4964ef API: Always stat client event if auth fail. v4.0.183 3 years ago
winlin 31693d4b61 For #1758: Fix bug for marshal JSON with SDP. 3 years ago
xmedia-systems 34b968aabf JSON: Support escape special chars. (#1758) v4.0.182 3 years ago
Matheus Macabu 061d544195 RTMP: If port is explicity set to 0, use default 1935 (#1754). v4.0.181 3 years ago
Alex.CR bb7cd6af3a SRT: Solve mpegts demux assert bug (#2670) v4.0.180
* solve mpegts demux bug

* remove assert

* add error log in mpegts demux

* sovle compile problem

Co-authored-by: shiwei <shiwei05@kuaishou.com>
3 years ago
Haibo Chen 3fc287f7de API: Fix the same 'client_id' error when asynchronous call (#2665) v4.0.179 3 years ago
Alex.CR 1649386ed5 SRT: Pes error when mpegts demux in srt. v4.0.178
* solve mpegts demux bug

* solve pes error when mpegts demux
3 years ago
winlin 18a155bf31 API: Stat the oc(origin cluster). 3 years ago
winlin 533e86eaf8 API: Stat the oc(origin cluster). 3 years ago
Haibo Chen a2003b3a85 API: Use publish param instead of play (#2550) v4.0.177 3 years ago
winlin 5d5df7923b Config: If docker.conf does not exists, try srs.conf 3 years ago
Haibo Chen eb3bbf1bca For #2549: Fix duration issue for HLS on_hls. v4.0.176 3 years ago
winlin d6064ac608 UTest: Fix utest fail for config 3 years ago
winlin 29cf13afa0 Fix #1641, HLS/RTC picture corrupt for SPS/PPS lost. v4.0.175 3 years ago
winlin 71ed6e5dc5 RTC: Refine config, aac to rtmp_to_rtc, bframe to keep_bframe. v4.0.174 3 years ago
winlin 9c315c94fc For #1641, Support RTMP publish and play regression test. v4.0.173 3 years ago
winlin 0f9b9505a8 RTC: Change rtc.aac to discard by default. v4.0.172 3 years ago
winlin 2fa5a0bee8 Fix #2304, Remove Push RTSP feature. v4.0.171 3 years ago
winlin cf99ebf186 Fix #2653: Remove HTTP RAW API. v4.0.170 3 years ago
winlin 19e857ada4 Remove dead link for issues 3 years ago
winlin 2ac214fdc6 For #2654: Parse width and width from SPS/PPS. v4.0.169 3 years ago
bepartofyou 286a605c63 Fix #2654: Parse width and width from SPS/PPS. Fix #471, #1335, #2539, #1316, #1421 3 years ago
winlin 55d8cb4b7b Default to log to console for docker. v4.0.168 3 years ago
winlin 4f77ddbc06 Fix bugs #2648, #2415. v4.0.167 3 years ago
ChenGH 7a4de9ffe7
Fix #2415, refine dtls fragment and rtp payload size (#2652) 3 years ago
ChenGH 0093a54b34
fix bandwidth kbps caculate bug (#2648) 3 years ago
winlin b6d02a51b8 OpenWRT: Fix build issues 3 years ago
winlin efbff98046 Actions: Create source tar lik srs-server-4.0.165.tar.gz 3 years ago
winlin 38f0109b21 Actions: Support create release with source tar automatically. v4.0.164 3 years ago
winlin ad4b648ed2 For #2545, Refine code with space lines. 3 years ago
johzzy ee23e3abed fix some crash in rtc. (#2545) 3 years ago
winlin 79d73bafcf Refine code space 3 years ago
winlin c8d3542979 Fix build failed. 3 years ago
winlin 31672806aa For #2618, #2578, SRS 4.0.163 3 years ago
Haibo Chen 36b813b971 Enhance HLS: support http callback on_play/stop, support statistic (#2578)
* Enhance HLS: support http callback on_play/stop, support statistic

* make code readable

* make code readable

* rename secret
3 years ago
zozobreakzou 46adcfb6c9
[rtc] *Fix Fua package bug(payload size minus one). (#2618)
* This can cause webrtc video PacketBuffer assemble corrupt when (nal size - 1) % 1300 == 0
* issues about webrtc all caused by this bug
3 years ago
winlin 4456a275b6 PushFLV: Fix bug, add stat 3 years ago
winlin 5828d64a3d For #2613, #2614, #2454, v4.0.162 3 years ago