infobip-rtc
Version:
Infobip RTC JavaScript SDK - Infobip WebRTC API Implementation
11 lines • 497 B
JavaScript
export function getRecordingOptions(options) {
var _a;
const recordingType = (_a = options === null || options === void 0 ? void 0 : options.recordingOptions) === null || _a === void 0 ? void 0 : _a.recordingType;
if (recordingType && recordingType !== "UNDEFINED") {
return {
recordingOptions: JSON.stringify(options === null || options === void 0 ? void 0 : options.recordingOptions)
};
}
return null;
}
//# sourceMappingURL=CallOptionsUtil.js.map