I had a strange problem: I use the SoundTransform function to play the sound of an RTMP stream from a red5 server only on the left speaker and to reduce its volume with
stream.soundTransform = new SoundTransform (0.5,-1.0);
on ActionScript 3.0, but it doesn’t work ... This is somewhat strange, because for exactly the same code, if instead of a stream I enter a flv or mp3 file, it works fine, so the class SoundTransformdoes not seem to affect streams.
SoundTransform
-, , , , , , ( , ), red5-web.xml live:
red5-web.xml
live
<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>
, .
, , , , ... , soundtransform . , ... ...
Source: https://habr.com/ru/post/1599399/More articles:Why can't I specialize in std :: tuple_element? - c ++ 11How can I implement a dropdown list inside a uialertcontroller using swift - iosWhy allow function declarations inside function bodies - c ++Slack slash commands - show user input? - node.jsExclude section field from selected queries in Hive - hadoopOverriding the default layer type in a UIView in swift - iosEntity Framework 6 - extension methods for DbFunctions - c #Why adding an image library fails in Julia? - julia-langOverdose Handling GcmNetworkManager - androidEntity Framework + DayOfWeek - c #All Articles