有没有什么办法让NetStream的音量水平ActionScript 3的? [英] Is there any way to get volume level of netStream in Actionscript 3?

查看:296
本文介绍了有没有什么办法让NetStream的音量水平ActionScript 3的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想获得的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的做到了。 怎么做; <一href="http://www.wowza.com/forums/showthread.php?7055-Example-of-how-to-use-ComputeSpectrum-with-Wowza-Pro" rel="nofollow">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;

这篇关于有没有什么办法让NetStream的音量水平ActionScript 3的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆