Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 623 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 623 Bytes

websocket-audio-stream

pyaudio & websocket to stream real-time audio to speakers or record to wav file.

Works with FreeSWITCH mod_audio_fork

    <extension name="ws_stream_audio">
      <condition field="destination_number" expression="^stream_audio$">
        <action application="set" data="api_on_answer=uuid_audio_fork ${uuid} start http://localhost:2700 mono 8k 'my custom payload'"/>
        <action application="answer"/>
        <action application="park"/>
      </condition>
    </extension>