homebridge-plugin-utils 1.29.0 → 1.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/eslint-rules.mjs +1 -2
- package/dist/ffmpeg/record.js +1 -1
- package/package.json +1 -1
package/build/eslint-rules.mjs
CHANGED
|
@@ -136,8 +136,7 @@ const tsRules = {
|
|
|
136
136
|
|
|
137
137
|
...tsEslint.configs.strictTypeChecked,
|
|
138
138
|
...tsEslint.configs.stylisticTypeChecked,
|
|
139
|
-
"@stylistic/member-delimiter-style":
|
|
140
|
-
{ "multiline": { "delimiter": "semi", "requireLast": true }, "singleline": { "delimiter": "comma", "requireLast": false }} ],
|
|
139
|
+
"@stylistic/member-delimiter-style": "warn",
|
|
141
140
|
"@typescript-eslint/await-thenable": "warn",
|
|
142
141
|
"@typescript-eslint/consistent-type-imports": "warn",
|
|
143
142
|
"@typescript-eslint/explicit-function-return-type": "warn",
|
package/dist/ffmpeg/record.js
CHANGED
|
@@ -151,7 +151,7 @@ class FfmpegFMp4Process extends FfmpegProcess {
|
|
|
151
151
|
}
|
|
152
152
|
// -movflags flags In the generated fMP4 stream: set the default-base-is-moof flag in the header, write an initial empty MOOV box, start a new fragment
|
|
153
153
|
// at each keyframe, skip creating a segment index (SIDX) box in fragments, and skip writing the final MOOV trailer since it's unneeded.
|
|
154
|
-
// -flush_packets 1 Ensure we
|
|
154
|
+
// -flush_packets 1 Ensure we flush our write buffer after each muxed packet.
|
|
155
155
|
// -reset_timestamps Reset timestamps at the beginning of each segment.
|
|
156
156
|
// -metadata Set the metadata to the name of the camera to distinguish between FFmpeg sessions.
|
|
157
157
|
this.commandLineArgs.push("-movflags", "default_base_moof+empty_moov+frag_keyframe+skip_sidx+skip_trailer", "-flush_packets", "1", "-reset_timestamps", "1", "-metadata", "comment=" + this.options.name() + " " + (this.isLivestream ? "Livestream Buffer" : "HKSV Event"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-plugin-utils",
|
|
3
|
-
"version": "1.29.
|
|
3
|
+
"version": "1.29.1",
|
|
4
4
|
"displayName": "Homebridge Plugin Utilities",
|
|
5
5
|
"description": "Opinionated utilities to provide common capabilities and create rich configuration webUI experiences for Homebridge plugins.",
|
|
6
6
|
"author": {
|