@7365admin1/layer-common 4.161.2 → 4.161.3
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/CHANGELOG.md +10 -4
- package/components/CctvEngine/LiveTile.vue +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @iservice365/layer-common
|
|
2
2
|
|
|
3
|
+
## 4.161.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 20f35c3: CCTV Engine live view asks for video only. Asking for sound could make the site engine open an extra connection to the camera recorder, and some recorders block a device that opens too many.
|
|
8
|
+
|
|
3
9
|
## 4.161.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -3668,11 +3674,11 @@ Monthly report: a month that had patrols opens the list of that month's patrol r
|
|
|
3668
3674
|
`utils/console-tier.ts` + `composables/useConsoleTier.ts` mirror the server's
|
|
3669
3675
|
own rule from two endpoints the console already calls, unprojected:
|
|
3670
3676
|
|
|
3671
|
-
|
|
3672
|
-
|
|
3677
|
+
GET /api/members/user/:user/app/admin the Seven365 staff membership
|
|
3678
|
+
GET /api/roles/id/:role that membership's role document
|
|
3673
3679
|
|
|
3674
|
-
|
|
3675
|
-
|
|
3680
|
+
owner = member.type === "admin" && role.type === "admin" && role.default === true
|
|
3681
|
+
staff = member.type === "admin" && role.type === "admin"
|
|
3676
3682
|
|
|
3677
3683
|
`role.default` is the marker because it is the only property of a platform
|
|
3678
3684
|
staff role no API caller can set - `role.controller.ts` validates create and
|
|
@@ -86,7 +86,8 @@ async function tryWebrtc(token: number) {
|
|
|
86
86
|
const conn = new RTCPeerConnection({ iceServers: stun ? [{ urls: stun }] : [] });
|
|
87
87
|
pc = conn;
|
|
88
88
|
conn.addTransceiver("video", { direction: "recvonly" });
|
|
89
|
-
|
|
89
|
+
// Video only: asking for sound can make the engine open a second connection to a recorder that
|
|
90
|
+
// has no audio on this stream, and recorders block boxes that open too many.
|
|
90
91
|
const connected = new Promise<void>((resolve, reject) => {
|
|
91
92
|
// A track is announced as soon as the answer is read, before any picture can arrive (the engine
|
|
92
93
|
// may be unreachable for video). "Live" waits for the first decoded frame; otherwise stills.
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@7365admin1/layer-common",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "4.161.
|
|
5
|
+
"version": "4.161.3",
|
|
6
6
|
"author": "7365admin1",
|
|
7
7
|
"main": "./nuxt.config.ts",
|
|
8
8
|
"//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",
|