UNPKG

sinch-rtc

Version:

RTC JavaScript/Web SDK

67 lines (66 loc) 1.59 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 { IpProtocolVersion } from './'; /** * * @export * @interface ConnectionInfoV2 */ export interface ConnectionInfoV2 { /** * ICE candidate type * @type {string} * @memberof ConnectionInfoV2 */ type: string; /** * * @type {string} * @memberof ConnectionInfoV2 */ protocol?: ConnectionInfoV2ProtocolEnum; /** * * @type {IpProtocolVersion} * @memberof ConnectionInfoV2 */ ipProtocolVersion?: IpProtocolVersion; /** * * @type {string} * @memberof ConnectionInfoV2 */ host?: string; /** * * @type {number} * @memberof ConnectionInfoV2 */ port?: number; /** * Time this connection was determined as the currently active connection * @type {Date} * @memberof ConnectionInfoV2 */ timestamp: Date; } /** * @export * @enum {string} */ export declare enum ConnectionInfoV2ProtocolEnum { Udp = "udp", Tcp = "tcp" } export declare function ConnectionInfoV2FromJSON(json: any): ConnectionInfoV2; export declare function ConnectionInfoV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectionInfoV2; export declare function ConnectionInfoV2ToJSON(value?: ConnectionInfoV2 | null): any;