sinch-rtc
Version:
RTC JavaScript/Web SDK
43 lines • 1.36 kB
JavaScript
;
/* tslint:disable */
/* eslint-disable */
/**
* 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.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.WebrtcRTCSessionDescriptionFromJSON = WebrtcRTCSessionDescriptionFromJSON;
exports.WebrtcRTCSessionDescriptionFromJSONTyped = WebrtcRTCSessionDescriptionFromJSONTyped;
exports.WebrtcRTCSessionDescriptionToJSON = WebrtcRTCSessionDescriptionToJSON;
function WebrtcRTCSessionDescriptionFromJSON(json) {
return WebrtcRTCSessionDescriptionFromJSONTyped(json, false);
}
function WebrtcRTCSessionDescriptionFromJSONTyped(json, ignoreDiscriminator) {
if ((json === undefined) || (json === null)) {
return json;
}
return {
'type': json['type'],
'sdp': json['sdp'],
};
}
function WebrtcRTCSessionDescriptionToJSON(value) {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
'type': value.type,
'sdp': value.sdp,
};
}
//# sourceMappingURL=WebrtcRTCSessionDescription.js.map