Commit graph

277 commits

Author SHA1 Message Date
SergeantPanda
3448a3b494 Add buffering as an active state. 2025-06-17 12:30:20 -05:00
SergeantPanda
c4a6b1469e Change to JSON settings 2025-06-13 14:36:08 -05:00
SergeantPanda
8eec41cfbb Fixes a bug where heartbeat thread will exit if channel is in shutdown delay.
This may also fix #129
2025-06-13 10:27:51 -05:00
SergeantPanda
1e9ab54609 Use new methods for getting settings. 2025-06-12 16:11:43 -05:00
SergeantPanda
b4ae6911c9 Pull settings from database 2025-06-12 15:42:26 -05:00
SergeantPanda
ada1d51aaa Merge branch 'dev' of https://github.com/Dispatcharr/Dispatcharr into proxy-settings 2025-06-12 10:45:44 -05:00
SergeantPanda
1bf16355c1
Merge pull request #183 from Dispatcharr/ffmpeg-stats
Ffmpeg stats
2025-06-11 17:35:19 -05:00
SergeantPanda
bd53837f80 Better detection of input vs output stream information. 2025-06-11 17:20:27 -05:00
SergeantPanda
743cf4e297 Smarter parsing of ffmpeg stats output. 2025-06-11 16:55:14 -05:00
dekzter
30b2a19eb0 merged in main 2025-06-11 08:38:00 -04:00
SergeantPanda
7812a410b3 Allow users to change proxy settings. 2025-06-10 21:17:30 -05:00
SergeantPanda
e753d9b9f8 Fixes a bug where stream profile name wouldn't update in stats. (Was outputting name string instead of ID 2025-06-10 19:16:52 -05:00
SergeantPanda
a2c7fc3046 [New feature]
Switch streams when buffering is detected.
2025-06-10 17:43:37 -05:00
SergeantPanda
1f6f15ed73 Add stream type to stats page. 2025-06-10 10:10:05 -05:00
SergeantPanda
f869daa37c Add stream type for stream (HLS/MPEGTS, ETC) 2025-06-10 09:51:56 -05:00
SergeantPanda
b8992bde64 Add audio channels to stats page. 2025-06-10 09:23:43 -05:00
SergeantPanda
efaa64d00b Fix resolution not always parsing correctly. 2025-06-10 09:08:04 -05:00
dekzter
a1576bd493 merged in dev 2025-06-10 08:55:14 -04:00
SergeantPanda
0fed65a478 Add FFmpeg speed and audio codec information to channel details 2025-06-09 19:55:10 -05:00
SergeantPanda
71079aead3 Add ffmpeg stats to channel status api. 2025-06-09 19:36:27 -05:00
SergeantPanda
47500daafa Moved some functions to channel_service 2025-06-09 19:10:52 -05:00
SergeantPanda
7e25be0717 Store video and audio information in redis. 2025-06-09 18:57:36 -05:00
SergeantPanda
7d0c32ef3f Break line breaking for stats. 2025-06-09 17:45:00 -05:00
SergeantPanda
9d8e011e2c Store FFmpeg in redis. 2025-06-09 17:36:01 -05:00
SergeantPanda
44c8189c29 Merge branch 'dev' of https://github.com/Dispatcharr/Dispatcharr into ffmpeg-stats 2025-06-09 15:42:31 -05:00
dekzter
9f96529707 merged in main 2025-06-03 17:49:24 -04:00
SergeantPanda
a72eaf118f Refactor channel info retrieval for safer decoding and improved error logging. Hopefully fixes stats not showing sometimes. 2025-06-03 10:59:53 -05:00
dekzter
3f445607e0 looooots of updates for user-management, initial commit of access control 2025-05-31 18:01:46 -04:00
dekzter
6504db3bd4 merged in dev 2025-05-28 18:34:45 -04:00
SergeantPanda
4c79af1f30 Log ffmpeg stats 2025-05-28 15:26:42 -05:00
SergeantPanda
50048518a9 Fixes bug where mulitiple channel initializations can occur which leads to choppy streams and zombie channels. 2025-05-27 19:05:26 -05:00
dekzter
0b0373f4ee allow 'all' for streamer class by relating no profiles 2025-05-23 08:21:31 -04:00
dekzter
e95c0859ab user custom properties, xc has its own password, properly checking xc permissions for streaming 2025-05-22 15:21:43 -04:00
dekzter
e979113935 merged in dev 2025-05-21 15:24:30 -04:00
SergeantPanda
303123f3ec Buffer overflow error. 2025-05-21 09:44:09 -05:00
dekzter
a96c5f0f5c merged in dev 2025-05-21 08:16:35 -04:00
SergeantPanda
ed665584e9 The struggle is real 2025-05-18 17:05:03 -05:00
dekzter
74d58515d0 user management, user levels, user level channel access 2025-05-18 11:19:34 -04:00
SergeantPanda
f762e1b923 Capture and display transcode strd err. 2025-05-09 13:44:49 -05:00
SergeantPanda
898224dc72 Fix potential issue during stream switches. 2025-05-05 17:02:28 -05:00
SergeantPanda
b3c4ff8f2d Finding more timers that can be converted to gevents. 2025-05-01 10:43:07 -05:00
SergeantPanda
b811a3d45b More sleep events. 2025-05-01 09:05:51 -05:00
SergeantPanda
80fe7e02f8 Added missing _attempt_health_recovery. 2025-04-30 13:43:01 -05:00
SergeantPanda
423020861c Replace time.sleep with gevent.sleep for improved concurrency 2025-04-30 13:32:16 -05:00
SergeantPanda
b7c543b5f5 Use gevent sleep instead of sleep. 2025-04-30 12:48:50 -05:00
SergeantPanda
bdb8d326a5 Add better logging for which channel clients are getting chunks from. 2025-04-30 12:17:11 -05:00
SergeantPanda
d27e4b7e8a Release stream lock before returning url if using redirect profile. 2025-04-29 14:14:40 -05:00
SergeantPanda
482803b241 Removed unnecessary logs. 2025-04-28 17:29:27 -05:00
SergeantPanda
cd1da5a61c Added a new channel model to update m3u profile counts and utilize it during stream switches. 2025-04-28 17:25:03 -05:00
SergeantPanda
b439eb810c Cleanup channel lock instead of stream lock. 2025-04-28 15:05:58 -05:00