简体   繁体   English

AIR for iOS StageVideo音量控制

[英]AIR for iOS StageVideo Volume Control

I'm loading and running an MP4 just fine in AIR for iOS on iPad 2. 我正在iPad 2上的AIR for iOS中很好地加载和运行MP4。

The problem I am having is controlling the volume (muting / unmuting). 我遇到的问题是控制音量(静音/取消静音)。

I am using soundTransform on the NetStream object, but it is having no effect.. it's not erroring either. 我在NetStream对象上使用soundTransform,但是它没有任何效果..也没有错误。

var transform:SoundTransform = new SoundTransform();
                transform.volume = 0;
                netStream.soundTransform = transform;

Is this even possible on iOS (iPad)? 在iOS(iPad)上甚至有可能吗? or are just supposed to use the physical volume control? 还是应该使用物理音量控制?

Cheers 干杯

Ok, so it would appear that this is not possible: 好的,因此看来这是不可能的:

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html#soundTransform http://help.adobe.com/zh_CN/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html#soundTransform

Note: This property is not supported for H.264 video in AIR 3.0 for iOS. 注意:AIR 3.0 for iOS中的H.264视频不支持此属性。

Shame... 耻辱...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM