有没有什么办法让NetStream的音量水平ActionScript 3的?音量、有没有什么、水平、办法

2023-09-09 21:47:52 作者:你管我帅不帅又没让你爱

我想获得的NetStream,类似于如何用麦克风做音频的活动水平。 在这篇文章中, AS3:与NetStream 的音频活动水平 NetStreamInfo.audioBytesPerSecond据说是该溶液中。 然而,audioBytesPerSecond指出有多少数据量流有。 它没有得到的流的音量。 它是不一样的microphone.activityLevel

I want to get the activity level of audio of a NetStream, similar to how you can do it with a Microphone. In this article, AS3: Audio activity level of a NetStream NetStreamInfo.audioBytesPerSecond is said to be the solution. However, audioBytesPerSecond indicates how many data volume the stream have. It does not get volume level of the stream. It is not the same as microphone.activityLevel.

有没有办法让的NetStream的音量?

Is there any way to get volume level of netStream?

推荐答案

最后,我找到了办法让流媒体电影的使用SoundMixer.computeSpectrum。 我与Wowza媒体服务器和Flash 10.1的做到了。 怎么做; http://www.wowza.com/forums/showthread.php?7055-Example-of-how-to-use-ComputeSpectrum-with-Wowza-Pro

Finally, I found the way to get SoundMixer.computeSpectrum of streaming movie. I made it with Wowza Media Server and flash 10.1. How to do; http://www.wowza.com/forums/showthread.php?7055-Example-of-how-to-use-ComputeSpectrum-with-Wowza-Pro

下面的行为crutial(第2页) ns.bufferTime = 3;

The following line was crutial(on page 2) ns.bufferTime = 3;