sinch-rtc
Version:
RTC JavaScript/Web SDK
79 lines (78 loc) • 2.2 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 { Destination, WebrtcRTCSessionDescription } from './';
/**
*
* @export
* @interface CallInitiationRequest
*/
export interface CallInitiationRequest {
/**
*
* @type {string}
* @memberof CallInitiationRequest
*/
callId: string;
/**
*
* @type {Destination}
* @memberof CallInitiationRequest
*/
destination: Destination;
/**
*
* @type {WebrtcRTCSessionDescription}
* @memberof CallInitiationRequest
*/
rtcOffer: WebrtcRTCSessionDescription;
/**
*
* @type {boolean}
* @memberof CallInitiationRequest
*/
requestedAudio: boolean;
/**
*
* @type {boolean}
* @memberof CallInitiationRequest
*/
requestedVideo: boolean;
/**
*
* @type {{ [key: string]: string; }}
* @memberof CallInitiationRequest
*/
publicCallHeaders?: {
[key: string]: string;
};
/**
* Caller ID, also called "Calling Line Identification" in context of PSTN.
* @type {string}
* @memberof CallInitiationRequest
*/
cli?: string;
/**
* Unique id identifying the MXP peer instance. Note that this is not necessarily the same as an Ocra or RtcUser-service InstanceId.
* @type {string}
* @memberof CallInitiationRequest
*/
mxpInstanceId?: string;
/**
* Client can request legacy media proxy engage if the client does not support TURN (JIRA RTC-3841)
* @type {boolean}
* @memberof CallInitiationRequest
*/
legacyMediaProxyEngage?: boolean;
}
export declare function CallInitiationRequestFromJSON(json: any): CallInitiationRequest;
export declare function CallInitiationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CallInitiationRequest;
export declare function CallInitiationRequestToJSON(value?: CallInitiationRequest | null): any;