@vonage/applications
Version:
Vonage Applications API
27 lines (24 loc) • 590 B
text/typescript
import { CapabilityWebhook } from './CapabilityWebhook.mjs';
/**
* Represents a configuration for RTC (Real-Time Communication) capabilities.
*/
type CapabilityRTC = {
/**
* Webhook configuration for RTC events.
*/
webhooks: {
/**
* URL for handling RTC events.
*/
eventUrl: CapabilityWebhook;
};
/**
* Whether to use signed callbacks for RTC.
*/
signedCallbacks: boolean;
/**
* The leg persistence time for RTC in milliseconds.
*/
legPersistenceTime: number;
};
export type { CapabilityRTC };