From 922bd1a8334eba864a9402eb6ffa92a3d7f18500 Mon Sep 17 00:00:00 2001 From: Haythem Farhat Date: Fri, 18 Oct 2024 15:38:04 +0100 Subject: [PATCH] chore: update set_codec docs --- packages/js/docs/ts/classes/TelnyxRTC.md | 2 +- packages/js/src/TelnyxRTC.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/js/docs/ts/classes/TelnyxRTC.md b/packages/js/docs/ts/classes/TelnyxRTC.md index e55c4028..90546902 100644 --- a/packages/js/docs/ts/classes/TelnyxRTC.md +++ b/packages/js/docs/ts/classes/TelnyxRTC.md @@ -926,7 +926,7 @@ const allCodecs = RTCRtpReceiver.getCapabilities('audio').codecs; const PCMACodec = allCodecs.find((c) => c.mimeType.toLowerCase().includes('pcma')); client.newCall({ - destinationNumber: '123', + destinationNumber: 'xxx', preferred_codecs: [PCMACodec], }); ``` diff --git a/packages/js/src/TelnyxRTC.ts b/packages/js/src/TelnyxRTC.ts index b972e1e2..38bd9380 100644 --- a/packages/js/src/TelnyxRTC.ts +++ b/packages/js/src/TelnyxRTC.ts @@ -178,7 +178,7 @@ export class TelnyxRTC extends TelnyxRTCClient { * const PCMACodec = allCodecs.find((c) => c.mimeType.toLowerCase().includes('pcma')); * * client.newCall({ - * destinationNumber: '123', + * destinationNumber: 'xxx', * preferred_codecs: [PCMACodec], * }); * ```