Sergey Krashevich
fc5b36acd3
actualise godoc comment for api.logHandler func
2023-12-05 17:54:53 +03:00
Sergey Krashevich
0a8ab9bbd1
Update app.go to remove the unused variable LogFilePath
2023-12-05 17:50:51 +03:00
Sergey Krashevich
b60000ac34
Refactor log handling to use in-memory Logger
2023-12-05 17:44:32 +03:00
Sergey Krashevich
ab47d5718f
Refactor log handling and add UI auto-update toggle
...
This commit refactors the log handling in the API to use a switch statement for improved readability and maintainability. It also introduces error messages with more context when reading or truncating the log file fails.
On the frontend, a new auto-update toggle button has been added to the log viewer, allowing users to enable or disable automatic log updates. The button's appearance changes based on its state, providing a clear visual indication of whether auto-update is active. Additionally, the button styling has been updated to ensure consistency across the interface.
2023-11-28 22:55:50 +03:00
Sergey Krashevich
8d382afa0f
Add log file handling and viewing capabilities
...
This commit introduces the ability to handle log files through the API and
provides a new log viewing page. The API now supports GET and DELETE methods
for log file operations, allowing retrieval and deletion of log contents.
A new log.html page has been added for viewing logs in the browser, with
automatic refresh every 5 seconds and styling based on log levels.
The app.go file has been updated to include a GetLogFilepath function that
retrieves or generates the log file path. The NewLogger function now accepts
a file parameter to enable file logging. The main.js file has been updated
to include a link to the new log.html page.
This enhancement improves the observability and management of the application
by providing real-time access to logs and the ability to clear them directly
from the web interface.
2023-11-26 23:21:57 +03:00
Alex X
a87dafbbec
Update version to 1.8.4
2023-11-19 18:38:26 +03:00
Alex X
43449e7b08
Fix api port for homekit module
2023-11-18 11:48:19 +03:00
Alex X
befa6bd356
Update version to 1.8.3
2023-11-15 12:20:47 +03:00
Alex X
a0f999d9c9
Add readme about gopro source
2023-11-15 12:10:16 +03:00
Alex X
9bda2f7e60
Add support gopro source
2023-11-15 11:41:42 +03:00
Alex X
aa3c081352
Add support incoming H264 bitstream #745
2023-11-13 22:56:07 +03:00
Alex X
2d16ee8884
Code refactoring for mpegts input
2023-11-13 22:55:12 +03:00
Alex X
28830a697d
Add support unix socket for api module
2023-11-12 21:50:29 +03:00
Alex X
4d6432d38d
Add about expr source to readme
2023-11-11 15:21:24 +03:00
Alex X
50e2a626a6
Update version to 1.8.2
2023-11-04 18:49:56 +03:00
Alex X
39645cb3d8
Remove unnecessary 0.0.0.0 from listeners
2023-11-03 12:45:40 +03:00
Alex X
0f1dc73d55
Update WebRTC candidates logic
2023-11-03 11:13:54 +03:00
Alex X
6b29c37433
Update webrtc trace logs for local candidates
2023-11-02 14:58:30 +03:00
Alex X
535bacf9d6
Fix ngrok
2023-11-02 14:57:52 +03:00
Alex X
e6fb4081f7
Add drawtext tests for ffmpeg
2023-11-02 14:57:22 +03:00
Alex X
eb04fafaa4
Add more ffmpeg transcoding presets
2023-11-02 14:56:58 +03:00
Alex X
6a9ae93fa1
Update pixel format for h264 vaapi hardware
2023-10-30 19:06:56 +03:00
Alex X
2dd47654e6
Fix panic for HomeKit source without SRTP module #712
2023-10-27 17:08:07 +03:00
Alex X
b5be4ce03b
Add expr source
2023-10-26 21:07:48 +03:00
guoguangwu
dd4376cd37
chore: unnecessary guard around call to delete
2023-10-19 21:21:09 +08:00
Alex X
20d45bff92
Update to version 1.8.1
2023-10-15 20:15:35 +03:00
Alex X
e367940bd9
Fix version in API
2023-10-15 09:37:24 +03:00
Alex X
6f2af78392
Update version to 1.8.0
2023-10-14 17:19:19 +03:00
Alex X
36ee2b29fb
Update TLS files handling
2023-10-14 15:51:43 +03:00
Alex X
91c4a3e7b5
Add ffmpeg test for DeckLink
2023-10-11 22:35:53 +03:00
Alex X
843a3ae9c9
Total rework DVRIP source + add two way audio #633
2023-10-11 19:47:26 +03:00
Alex X
3ae15d8f80
Add support TLS cert/key as file path #680
2023-10-11 11:50:30 +03:00
Alex X
d016529030
Merge pull request #632 from skrashevich/230911-fix-hap-pairing-dups
...
Fix: duplicate pairing strings in config
2023-10-11 11:33:05 +03:00
Alex X
52e4bf1b35
Add retry for publish
2023-10-11 07:14:43 +03:00
Alex X
c02117e626
Add support incoming RTMP
2023-10-11 06:54:50 +03:00
Alex X
d4d0064220
Change publish start time from 5 to 1 second
2023-10-11 06:52:23 +03:00
Alex X
855bbdeb60
Update ffmpeg tests
2023-10-10 12:25:07 +03:00
Alex X
05893c9203
Add fix for YCbCr range on hardware transcoding
2023-10-10 11:29:22 +03:00
Alex X
c9c8e73587
Add feature auto publish on app start
2023-10-09 23:09:28 +03:00
Alex X
c7b6eb5d5b
Fix ffmpeg pix_fmt for H264 transcoding
2023-10-09 23:08:18 +03:00
Alex X
9a2e9dd6d1
Add support /api/restart #652
2023-10-09 17:12:25 +03:00
Alex X
c3f26c4db8
Fix logger for rtmp
2023-10-05 16:37:58 +03:00
Alex X
cb5e90cc3b
Add RTMP server and publish to RMTP logic
2023-09-17 20:31:36 +03:00
Alex X
209fe09806
Add active publish logic to streams
2023-09-17 20:29:28 +03:00
Alex X
9f1e33e0c6
Add output to HTTP-FLV
2023-09-16 11:14:56 +03:00
Sergey Krashevich
9368a6b85e
Add conditional check before adding a new pair in the server's AddPair function
2023-09-11 10:34:31 +03:00
Alexey Khit
c8ac6b2271
Update version to 1.7.1
2023-09-10 20:19:20 +03:00
Alexey Khit
37130576e9
Add support webrtc go2rtc source with auth #539
2023-09-10 07:58:20 +03:00
Alexey Khit
08dabc7331
Add support HomeKit doorbells
2023-09-02 20:34:39 +03:00
Alexey Khit
fc1b6af436
Update version to 1.7.0
2023-09-02 16:05:09 +03:00