سؤال

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