Title
Publishing a NetStream w/attached Camera and Microphone to a Wowza server, recorded FLV does not contain any audio.
Description
Problem Description:
When publishing a NetStream with attached Camera and Microphone to a Wowza server, the recorded FLV does not contain any audio.
Steps to Reproduce:
- Camera Settings
cam = Camera.getCamera(name);
cam.setMode(1920,1080,30);
aspectRatio = 4/3;
cam.setMode(aspectRatio*400,400,30);
cam.setQuality(0,100);
- NetStream Settings
setProfileLevel(H264Profile.MAIN, H264Level.LEVEL_3);
setQuality(0, 100);
cam.setMode(cam.width, cam.height, cam.fps);
- Microphone Settings
public var codec:String = SoundCodec.SPEEX;
public var enableVAD:Boolean = true;
public var encodeQuality:int = 10;
public var framesPerPacket:int = 1;
public var silenceLevel:int = 0;
public var silenceTimeout:int = 500;
public var useEchoSuppression:Boolean = true;
public var enhancedOptions:MicrophoneEnhancedOptions = new MicrophoneEnhancedOptions();
Actual Result:
Can play recorded FLV with video only.
Expected Result:
Can play recorded FLV with video only and audio.
Any Workarounds:
Before publishing the stream, call
mic.setLoopBack(true);
mic.setLoopBack(false);
Test Configuration
My Hardware and Environment details:
Mac Air Mountain Lion
App Language(s) English
OS Language(s) English
Platform(s) MAC OS 10.7 (Lion)
Browser(s) Firefox 4.0