microsoft / BotBuilder-RealTimeMediaCalling

BotBuilder-RealTimeMediaCalling extends the BotBuilder to enable bots to engage in Skype audio-video calling. It provides real-time, programmable access to the voice, video, and screen sharing streams of a Skype call. The bot is a direct participant in a Skype 1:1 call.
MIT License
76 stars 36 forks source link

Supported Audio Format #12

Open kkabza opened 7 years ago

kkabza commented 7 years ago

Is there any details on the required Audio format requirements? I have a Wav file but its distorted I tried mulaw and PCM16 using ffmpeg cant seem to find the current format.

waboum commented 7 years ago

Hi,

For the audio send stream we currently support signed 16 PCM with a sample rate of 16Khz. There are 2 sizes of buffers that we expect 10ms and 20ms so respectively 320 bytes and 640 bytes, for the size of the audio buffers. Can you please share more details on the wav file? As I mentioned it has to be mono 16 PCM.

Thanks.