actionscript-3 – SoundTransform平移不使用ActionScript 3.0处
发布时间:2020-12-15 07:23:11 所属栏目:百科 来源:网络整理
导读:我遇到了一个奇怪的问题,我正在使用SoundTransform函数只在左侧扬声器上播放来自red5服务器的RTMP流的声音并降低它的音量 stream.soundTransform = new SoundTransform (0.5,-1.0); 在Actionscript 3.0上,但它不起作用…… 这有点奇怪,因为对于完全相同的代
我遇到了一个奇怪的问题,我正在使用SoundTransform函数只在左侧扬声器上播放来自red5服务器的RTMP流的声音并降低它的音量
stream.soundTransform = new SoundTransform (0.5,-1.0); 在Actionscript 3.0上,但它不起作用…… 解决方法
首先,尝试验证您的音频流是立体声,然后如果您遇到安全性错误(我不认为是这种情况),您可以将此块添加到red5-web.xml文件中你的直播应用:
<bean id="rtmpSampleAccess" class="org.red5.server.stream.RtmpSampleAccess"> <!-- enable access to the raw audio --> <property name="audioAllowed" value="true"/> <!-- if you need access to the raw video,put it to true --> <property name="videoAllowed" value="false"/> </bean> 希望能有所帮助. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |