Skip to content
Browse files

Added speex codec to demo flash

  • Loading branch information...
1 parent 6dbee2e commit c96982dd19e57453c3d05be2c4713bff06dbf489 @maxlapshin maxlapshin committed Nov 23, 2009
Showing with 5 additions and 0 deletions.
  1. +5 −0 wwwroot/player/Player.as
  2. BIN wwwroot/player/Player.swf
View
5 wwwroot/player/Player.as
@@ -103,6 +103,11 @@ public function record() : void
}
if (!_microphone) {
_microphone = Microphone.getMicrophone();
+ _microphone.codec = SoundCodec.SPEEX;
+ _microphone.encodeQuality = 10;
+ _microphone.rate = 44;
+ _microphone.framesPerPacket = 2;
+ _microphone.gain = 50;
_microphone.setUseEchoSuppression(true);
}
if (_camera) {
View
BIN wwwroot/player/Player.swf
Binary file not shown.

0 comments on commit c96982d

Please sign in to comment.
Something went wrong with that request. Please try again.