@camstack/types 1.2.324 → 1.2.326
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/dist/capabilities/webrtc-session.cap.d.ts +1 -0
- package/dist/index.js +18 -3
- package/dist/index.mjs +18 -3
- package/package.json +1 -1
|
@@ -478,6 +478,7 @@ export declare const webrtcSessionCapability: {
|
|
|
478
478
|
downlinkMbps: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
479
479
|
prefersTier: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
480
480
|
}, z.core.$strip>>;
|
|
481
|
+
talkback: z.ZodOptional<z.ZodBoolean>;
|
|
481
482
|
}, z.core.$strip>, z.ZodObject<{
|
|
482
483
|
sessionId: z.ZodString;
|
|
483
484
|
sdpAnswer: z.ZodString;
|
package/dist/index.js
CHANGED
|
@@ -214,8 +214,8 @@ function buildAddonRouteProvider(id, routes) {
|
|
|
214
214
|
const reply = buildCapturingReply(envelope);
|
|
215
215
|
const request = {
|
|
216
216
|
params: {
|
|
217
|
-
...
|
|
218
|
-
...
|
|
217
|
+
...match.params,
|
|
218
|
+
...input.params
|
|
219
219
|
},
|
|
220
220
|
query: input.query,
|
|
221
221
|
body: input.body,
|
|
@@ -33873,7 +33873,22 @@ var webrtcSessionCapability = {
|
|
|
33873
33873
|
* field their hints were silently stripped by the schema and the
|
|
33874
33874
|
* adaptive ladder started blind on the client's display size.
|
|
33875
33875
|
*/
|
|
33876
|
-
hints: webrtcClientHintsSchema.optional()
|
|
33876
|
+
hints: webrtcClientHintsSchema.optional(),
|
|
33877
|
+
/**
|
|
33878
|
+
* Talk-back (D771): relay the PEER's audio to the device's speaker
|
|
33879
|
+
* through the `intercom` cap's push-talk triple. When `true` and the
|
|
33880
|
+
* offer lets the peer send audio, the answer's audio is `sendrecv`
|
|
33881
|
+
* and every inbound frame goes to `intercom.pushTalkAudio` for this
|
|
33882
|
+
* `deviceId`; absent/false answers `sendonly`, as for every viewer.
|
|
33883
|
+
*
|
|
33884
|
+
* TRUSTED-CALLER ONLY. Set by the Alexa export for an Echo on a camera
|
|
33885
|
+
* with `intercom`, when the linked user may control that camera. The
|
|
33886
|
+
* hub STRIPS it from every request-bound call (a browser), exactly as
|
|
33887
|
+
* it overwrites `relayOnly` — a viewer's talk permission is the
|
|
33888
|
+
* intercom cap's own surface (share tokens gate it there), and this
|
|
33889
|
+
* flag must not become a second door to the camera's speaker.
|
|
33890
|
+
*/
|
|
33891
|
+
talkback: zod.z.boolean().optional()
|
|
33877
33892
|
}), zod.z.object({
|
|
33878
33893
|
sessionId: zod.z.string(),
|
|
33879
33894
|
sdpAnswer: zod.z.string()
|
package/dist/index.mjs
CHANGED
|
@@ -213,8 +213,8 @@ function buildAddonRouteProvider(id, routes) {
|
|
|
213
213
|
const reply = buildCapturingReply(envelope);
|
|
214
214
|
const request = {
|
|
215
215
|
params: {
|
|
216
|
-
...
|
|
217
|
-
...
|
|
216
|
+
...match.params,
|
|
217
|
+
...input.params
|
|
218
218
|
},
|
|
219
219
|
query: input.query,
|
|
220
220
|
body: input.body,
|
|
@@ -33872,7 +33872,22 @@ var webrtcSessionCapability = {
|
|
|
33872
33872
|
* field their hints were silently stripped by the schema and the
|
|
33873
33873
|
* adaptive ladder started blind on the client's display size.
|
|
33874
33874
|
*/
|
|
33875
|
-
hints: webrtcClientHintsSchema.optional()
|
|
33875
|
+
hints: webrtcClientHintsSchema.optional(),
|
|
33876
|
+
/**
|
|
33877
|
+
* Talk-back (D771): relay the PEER's audio to the device's speaker
|
|
33878
|
+
* through the `intercom` cap's push-talk triple. When `true` and the
|
|
33879
|
+
* offer lets the peer send audio, the answer's audio is `sendrecv`
|
|
33880
|
+
* and every inbound frame goes to `intercom.pushTalkAudio` for this
|
|
33881
|
+
* `deviceId`; absent/false answers `sendonly`, as for every viewer.
|
|
33882
|
+
*
|
|
33883
|
+
* TRUSTED-CALLER ONLY. Set by the Alexa export for an Echo on a camera
|
|
33884
|
+
* with `intercom`, when the linked user may control that camera. The
|
|
33885
|
+
* hub STRIPS it from every request-bound call (a browser), exactly as
|
|
33886
|
+
* it overwrites `relayOnly` — a viewer's talk permission is the
|
|
33887
|
+
* intercom cap's own surface (share tokens gate it there), and this
|
|
33888
|
+
* flag must not become a second door to the camera's speaker.
|
|
33889
|
+
*/
|
|
33890
|
+
talkback: z.boolean().optional()
|
|
33876
33891
|
}), z.object({
|
|
33877
33892
|
sessionId: z.string(),
|
|
33878
33893
|
sdpAnswer: z.string()
|