uapp-communication-sdk 1.0.0-dev.98 → 1.0.0-dev.99

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.
@@ -1,5 +1,13 @@
1
1
  import { type ReactElement } from 'react';
2
2
  import type { CallMediaProps } from './call-media-props';
3
+ /**
4
+ * How long an empty room must STAY empty before it means the call is over.
5
+ *
6
+ * <p>Long enough to ride out a WebRTC reconnect — the far side's connection routinely drops and
7
+ * re-establishes in the first seconds of a call — and still short enough that a genuine departure
8
+ * (a reload, a closed laptop) ends the call in seconds rather than the hours it once took.</p>
9
+ */
10
+ export declare const EMPTY_ROOM_GRACE_MS = 4000;
3
11
  /**
4
12
  * Cloudflare RealtimeKit audio engine for a call. Headless: it initialises the SDK with the server-issued
5
13
  * token (audio only, no video), joins the room with the mic on, and renders the invisible
@@ -1 +1 @@
1
- {"version":3,"file":"realtimekit-call-media.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/calls/presentation/media/realtimekit-call-media.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAIvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAoCzD;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,GAAI,0CAKlC,cAAc,KAAG,YAgFnB,CAAC"}
1
+ {"version":3,"file":"realtimekit-call-media.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/calls/presentation/media/realtimekit-call-media.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAIvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,OAAQ,CAAC;AA6EzC;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,GAAI,0CAKlC,cAAc,KAAG,YAgFnB,CAAC"}