SergeantPanda
9f8a2db500
Include channel ID in more logs.
2025-07-09 16:44:00 -05:00
SergeantPanda
2284d47f9f
If provider is slow but responsive, don't get locked up.
2025-07-08 17:10:55 -05:00
SergeantPanda
d6605e7119
Add timeout for chunks.
2025-07-08 15:57:11 -05:00
SergeantPanda
01d4b25303
Health monitor thread no longer will no longer attempt to reconnect it will only notify the main thread of issues.
2025-07-03 14:10:03 -05:00
SergeantPanda
55e19f05aa
Check if stopping before adding chunks during transcoding.
2025-07-03 11:18:03 -05:00
SergeantPanda
580aa1975c
Add process management for safe connection handling in StreamManager
...
- Introduced _wait_for_existing_processes_to_close method to ensure all existing processes and connections are fully closed before establishing new ones.
- Updated _establish_transcode_connection and _establish_http_connection methods to check for and close lingering processes and connections.
- Enhanced logging for better debugging and monitoring of connection states.
2025-07-03 11:02:07 -05:00
SergeantPanda
8e2c6c7780
Check for any state to detmine if channel is running.
2025-07-01 10:57:07 -05:00
SergeantPanda
2b97a958cd
Check if a transcode process is running also to determine if we should close sockets.
2025-07-01 10:27:24 -05:00
SergeantPanda
c04ca0a804
Add buffering as an active state.
2025-06-25 17:01:21 -05:00
SergeantPanda
03f39d7d48
Rename FFMPEG_BITRATE to FFMPEG_OUTPUT_BITRATE for clarity.
2025-06-18 17:10:08 -05:00
SergeantPanda
2e118a3f8d
Smarter parsing for input vs output streams.
2025-06-18 16:59:12 -05:00
SergeantPanda
ae88141c36
Change matching pattern for detecting input vs output streams in FFmpeg.
2025-06-17 21:33:26 -05:00
SergeantPanda
573ed96e82
Bug fix - Wait until FFmpeg is closed before marking the connection as closed. May fix some stuck FFmpeg processes.
2025-06-17 17:27:41 -05:00
SergeantPanda
b6cde2fec8
Only update redis if stream switch was successful.
2025-06-17 16:21:10 -05:00
SergeantPanda
29a5e93cfd
Don't count currently used profile in used connections.
2025-06-17 15:51:03 -05:00
SergeantPanda
d130de3c80
Check connections remaining before switching streams.
2025-06-17 13:59:22 -05:00
SergeantPanda
838a373bea
Use correct m3u_profile_id when changing streams.
2025-06-17 13:11:03 -05:00
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