通話中のオーディオストリームを停止する

このコード・スニペットは、指定されたコールのオーディオ・ストリームを停止する。

サンプルコードの以下の変数を置き換える:

キー説明
VOICE_CALL_ID

The UUID of the call leg.

Prerequisites

Execute the following command at your terminal prompt to create the JWT for authentication:

Write the code

Add the following to stop-audio-in-a-call.sh:

View full source

Run your code

Save this file to your machine and run it:

bash stop-audio-in-a-call.sh