UNPKG

sinch-rtc

Version:

RTC JavaScript/Web SDK

61 lines (60 loc) 1.78 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 { WebrtcRTCOAuthCredential } from './'; /** * WebRTC RTCIceServer. STUN/TURN server (RTCIceServer) (may include credentials). * @export * @interface WebrtcRTCIceServer */ export interface WebrtcRTCIceServer { /** * STUN or TURN URI(s) as defined in [RFC7064] and [RFC7065] or other URI types. * @type {Array<string>} * @memberof WebrtcRTCIceServer */ urls: Array<string>; /** * When the credentialType is "oauth", this field is the Key ID ('kid'). See WebRTC 1.0 specification and RFC 7518. * @type {string} * @memberof WebrtcRTCIceServer */ username?: string; /** * * @type {string} * @memberof WebrtcRTCIceServer */ credentialType: WebrtcRTCIceServerCredentialTypeEnum; /** * * @type {string} * @memberof WebrtcRTCIceServer */ password?: string; /** * * @type {WebrtcRTCOAuthCredential} * @memberof WebrtcRTCIceServer */ oauthCredential?: WebrtcRTCOAuthCredential; } /** * @export * @enum {string} */ export declare enum WebrtcRTCIceServerCredentialTypeEnum { Oauth = "oauth", Password = "password" } export declare function WebrtcRTCIceServerFromJSON(json: any): WebrtcRTCIceServer; export declare function WebrtcRTCIceServerFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebrtcRTCIceServer; export declare function WebrtcRTCIceServerToJSON(value?: WebrtcRTCIceServer | null): any;