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