Вопрос

I'm writting p2p voice chat in Flex, with manipulating audio data. I attached audio (microphone) to NetStream and everything works fine. Is there any way to access microphone samples before sending it to other peer? Thank you in advance for your help.

Это было полезно?

Решение

Yes, to capture microphone audio, listen for the sampleData events dispatched by a Microphone instance. The SampleDataEvent object dispatched for this event contains the audio data.

See this page for complete info and examples on how to do that!

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top