sinch-rtc
Version:
RTC JavaScript/Web SDK
47 lines (46 loc) • 1.26 kB
TypeScript
/**
* 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 { MediaStreamType, WarningEventName, WarningEventType } from './';
/**
* Call quality warning event issued by the client
* @export
* @interface WarningEvent
*/
export interface WarningEvent {
/**
*
* @type {WarningEventName}
* @memberof WarningEvent
*/
name: WarningEventName;
/**
* Time when warning event was emitted
* @type {Date}
* @memberof WarningEvent
*/
time: Date;
/**
*
* @type {WarningEventType}
* @memberof WarningEvent
*/
type: WarningEventType;
/**
*
* @type {MediaStreamType}
* @memberof WarningEvent
*/
mediaStreamType?: MediaStreamType;
}
export declare function WarningEventFromJSON(json: any): WarningEvent;
export declare function WarningEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): WarningEvent;
export declare function WarningEventToJSON(value?: WarningEvent | null): any;