eschmidbauer / websocket-audio-stream

pyaudio & websocket to stream real-time audio to speakers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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>

About

pyaudio & websocket to stream real-time audio to speakers


Languages

Language:Python 100.0%