@absolutejs/voice 0.0.22-beta.628 → 0.0.22-beta.629
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +9 -0
- package/dist/testing/index.js +9 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4733,6 +4733,15 @@ var createVoiceSession = (options) => {
|
|
|
4733
4733
|
error: toError(error).message,
|
|
4734
4734
|
sessionId: options.id
|
|
4735
4735
|
});
|
|
4736
|
+
await appendTrace({
|
|
4737
|
+
payload: {
|
|
4738
|
+
channel,
|
|
4739
|
+
error: toError(error).message,
|
|
4740
|
+
sessionId: options.id,
|
|
4741
|
+
sizeBytes: merged.byteLength
|
|
4742
|
+
},
|
|
4743
|
+
type: "recording.failed"
|
|
4744
|
+
});
|
|
4736
4745
|
} finally {
|
|
4737
4746
|
recordingBuffers[channel] = [];
|
|
4738
4747
|
recordingByteTotals[channel] = 0;
|
package/dist/testing/index.js
CHANGED
|
@@ -7053,6 +7053,15 @@ var createVoiceSession = (options) => {
|
|
|
7053
7053
|
error: toError(error).message,
|
|
7054
7054
|
sessionId: options.id
|
|
7055
7055
|
});
|
|
7056
|
+
await appendTrace({
|
|
7057
|
+
payload: {
|
|
7058
|
+
channel,
|
|
7059
|
+
error: toError(error).message,
|
|
7060
|
+
sessionId: options.id,
|
|
7061
|
+
sizeBytes: merged.byteLength
|
|
7062
|
+
},
|
|
7063
|
+
type: "recording.failed"
|
|
7064
|
+
});
|
|
7056
7065
|
} finally {
|
|
7057
7066
|
recordingBuffers[channel] = [];
|
|
7058
7067
|
recordingByteTotals[channel] = 0;
|