Merge branch 'main' into fix/fd_1828

This commit is contained in:
Hoan Luu Huu
2026-02-03 19:35:25 +07:00
committed by GitHub
+7
View File
@@ -155,6 +155,13 @@ class TaskListen extends Task {
const ci = this.nested ? this.parentTask.sd.callInfo : cs.callInfo.toJSON();
if (this._ignoreCustomerData) {
delete ci.customerData;
} else {
for (const key in ci.customerData) {
if (ci.customerData.hasOwnProperty(key)) {
const value = ci.customerData[key];
ci.customerData[key] = typeof value === 'string' ? escapeString(value) : value;
}
}
}
const metadata = Object.assign(
{sampleRate: this.sampleRate, mixType: this.mixType},