@streaming-cdn/rtc-web 1.3.21 → 1.3.23
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/index.d.ts +16 -1
- package/dist/rtc-web.es.js +217 -186
- package/dist/rtc-web.umd.js +1 -1
- package/dist/url-scheme.d.ts +13 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -320,6 +320,7 @@ export declare class RtcIncomingClient extends EventTarget {
|
|
|
320
320
|
private readonly mediaClients;
|
|
321
321
|
private readonly activeCallIds;
|
|
322
322
|
private readonly seenInvitationIds;
|
|
323
|
+
private readonly invitationExpiryTimers;
|
|
323
324
|
private startCallRequest;
|
|
324
325
|
private lastDisconnect;
|
|
325
326
|
constructor(options: RtcIncomingClientOptions);
|
|
@@ -352,6 +353,20 @@ export declare class RtcIncomingClient extends EventTarget {
|
|
|
352
353
|
cancel(callId: string): Promise<RtcCallActionResult>;
|
|
353
354
|
/** Injects an incoming call received through the application's own push or signaling channel. */
|
|
354
355
|
handleIncomingCall(call: RtcIncomingCall): void;
|
|
356
|
+
/**
|
|
357
|
+
* B20 (PingSafe): a recipient who correctly does NOTHING with an invitation
|
|
358
|
+
* must not lose the ability to place calls for the life of the process. The
|
|
359
|
+
* invitation self-releases shortly after its expiry unless it was accepted.
|
|
360
|
+
*/
|
|
361
|
+
private scheduleInvitationExpiry;
|
|
362
|
+
private clearInvitationExpiry;
|
|
363
|
+
/**
|
|
364
|
+
* Locally forgets a call WITHOUT any server action (B20): clears it from the
|
|
365
|
+
* active set, stops ringing UI if it is the current call, and tears down any
|
|
366
|
+
* attached media client. For declining, use reject()/busy() — this is the
|
|
367
|
+
* escape hatch for calls that ended in ways this device never heard about.
|
|
368
|
+
*/
|
|
369
|
+
release(callId: string): void;
|
|
355
370
|
/** Applies a call state received through the application's own push or signaling channel. */
|
|
356
371
|
handleCallUpdate(call: {
|
|
357
372
|
id: string;
|
|
@@ -377,4 +392,4 @@ export declare class RtcIncomingClient extends EventTarget {
|
|
|
377
392
|
private emit;
|
|
378
393
|
}
|
|
379
394
|
export declare function createRtcIncomingClient(options: RtcIncomingClientOptions): RtcIncomingClient;
|
|
380
|
-
export declare const version = "1.3.
|
|
395
|
+
export declare const version = "1.3.23";
|