UNPKG

sinch-rtc

Version:

RTC JavaScript/Web SDK

74 lines (73 loc) 1.9 kB
/** * Ocra (REST API for Sinch RTC clients) * REST API for Sinch RTC clients. * * The version of the OpenAPI document: 0.11.0 * Contact: rtc@sinch.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { PushConfig, RtcConfig, RtcProfile } from './'; /** * * @export * @interface Config */ export interface Config { /** * The client should perform config refresh checks at this interval (milliseconds) * @type {number} * @memberof Config */ configRefreshIntervalMs: number; /** * The client should invalidate its locally cached push profile after this period of time at the latest * @type {number} * @memberof Config */ pushProfileCacheValidityPeriodMs: number; /** * The client should update instance TTL within this window before it's expiry. * @type {number} * @memberof Config */ updateInstanceTtlWindowDays: number; /** * The client should use this IceTransportPolicy for its ICE-candidates. * @type {string} * @memberof Config */ iceTransportPolicy?: ConfigIceTransportPolicyEnum; /** * * @type {RtcProfile} * @memberof Config */ rtcProfile: RtcProfile; /** * * @type {RtcConfig} * @memberof Config */ rtcConfig: RtcConfig; /** * * @type {PushConfig} * @memberof Config */ pushConfig?: PushConfig; } /** * @export * @enum {string} */ export declare enum ConfigIceTransportPolicyEnum { Relay = "relay", Nohost = "nohost", All = "all" } export declare function ConfigFromJSON(json: any): Config; export declare function ConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): Config; export declare function ConfigToJSON(value?: Config | null): any;