diff --git a/voice/play-audio-stream-into-call.py b/voice/play-audio-stream-into-call.py new file mode 100644 index 0000000..f550d68 --- /dev/null +++ b/voice/play-audio-stream-into-call.py @@ -0,0 +1,9 @@ +import nexmo + +client = nexmo.Client( + application_id=APPLICATION_ID, + private_key=APPLICATION_PRIVATE_KEY_PATH +) + +stream_url = 'https://nexmo-community.github.io/ncco-examples/assets/voice_api_audio_streaming.mp3' +client.send_audio(NEXMO_CALL_UUID, stream_url=stream_url)