srs/trunk/research/players/js
OSSRS-AI a3a2fa5ceb
AI: Fix race condition causing immediate deletion of new sources. v7.0.127 (#4449) (#4576)
**Problem**: Newly created sources (RTMP/SRT/RTC/RTSP) were being
immediately marked as "dead" and deleted by the cleanup timer before
publishers could connect, causing "new live source, dead=1" errors.

**Root Cause**: All source constructors initialized `stream_die_at_ =
0`, causing `stream_is_dead()` to return `true` immediately since
current time was always greater than `0 + 3 seconds`.

**Solution**: Changed all four source constructors to initialize
`stream_die_at_ = srs_time_now_cached()`, giving newly created sources a
proper 3-second grace period before cleanup.
2025-11-13 21:24:07 -05:00
..
adapter-7.4.0.js For #1638, #307, use webrtc adapter.js for demo. 2020-03-14 21:14:17 +08:00
adapter-7.4.0.min.js For #1638, #307, use webrtc adapter.js for demo. 2020-03-14 21:14:17 +08:00
AdobeFlashPlayerInstall.swf extract the components of js 2013-12-25 12:57:30 +08:00
bootstrap.min.js extract the components of js 2013-12-25 12:57:30 +08:00
dash-v4.5.1.all.min.js DASH: Fix number mode bug to make it run. v5.0.96 (#3240) 2022-11-24 18:13:49 +08:00
dash.all.min.js.map DASH: Fix number mode bug to make it run. v5.0.96 (#3240) 2022-11-24 18:13:49 +08:00
hls-1.4.14.min.js Upgrade hls.js and set in low latency mode. v6.0.112 (#3924) 2024-02-05 21:37:29 +08:00
hls.min.js.map Upgrade hls.js and set in low latency mode. v6.0.112 (#3924) 2024-02-05 21:37:29 +08:00
jquery-1.12.2.min.js Upgrade jquery from 1.10.2 to 1.12.2 (#3571) 2023-06-30 06:28:10 +08:00
jquery-1.12.2.min.map Upgrade jquery from 1.10.2 to 1.12.2 (#3571) 2023-06-30 06:28:10 +08:00
json2.js refine the ui, link the players to the api server static dir 2013-12-25 23:42:23 +08:00
mpegts-1.7.3.min.js RTMP: Support enhanced RTMP specification for HEVC. v6.0.42 (#3495) 2023-04-08 09:18:10 +08:00
mpegts.js.map RTMP: Support enhanced RTMP specification for HEVC. v6.0.42 (#3495) 2023-04-08 09:18:10 +08:00
srs.log.js change ui version to 1.15, fix the publiser bug, support chrome/firefox/safari/ie browsers. 2013-12-26 08:56:13 +08:00
srs.page.js AI: WebRTC: Support G.711 (PCMU/PCMA) audio codec for WebRTC. v7.0.124 (#4075) (#4568) 2025-11-09 12:08:03 -05:00
srs.player.js Detect whether flash enabled for srs-player. 3.0.73 2019-12-18 11:06:01 +08:00
srs.publisher.js refine bandwidth test 2013-12-27 18:49:34 +08:00
srs.sdk.js AI: Fix race condition causing immediate deletion of new sources. v7.0.127 (#4449) (#4576) 2025-11-13 21:24:07 -05:00
srs.utility.js refine the demo pages, move scripts after body. 2015-08-20 15:19:43 +08:00
swfobject.js refine the ui, add osmf/jwplayer 2013-12-18 12:37:46 +08:00
winlin.utility.js Replace deprecated String.prototype.substr() (#2948) 2022-03-07 08:02:27 +08:00