'lo all
i've got this pretty simple audio app:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:rtc="AfcsNameSpace"
layout="absolute"
creationComplete="onCreationComplete()"
>
<mx:Script>
<![CDATA[
import com.adobe.rtc.events.StreamEvent;
import com.adobe.rtc.events.CollectionNodeEvent;
import com.adobe.rtc.events.SessionEvent;
private function onCreationComplete ():void
{
connSesh.addEventListener(
SessionEvent.SYNCHRONIZATION_CHANGE, onConnSeshSync);
connSesh.login();
}
private function onConnSeshSync (event:SessionEvent):void
{
audPub.addEventListener(
StreamEvent.STREAM_RECEIVE, onListen);
audSub.addEventListener(
CollectionNodeEvent.SYNCHRONIZATION_CHANGE, onListen);
audSub.addEventListener(
StreamEvent.STREAM_RECEIVE, onListen);
audSub.addEventListener(
StreamEvent.CONNECTION_TYPE_CHANGE, onListen);
audSub.addEventListener(
StreamEvent.NO_STREAM_DETECTED, onListen);
audPub.subscribe();
audSub.subscribe();
audPub.publish();
}
private function onListen (event:Event):void
{
trace('onListen');
}
]]>
</mx:Script>
<rtc:AdobeHSAuthenticator
id="auth"
protocol="rtmfp"
userName="my-adobe-account@my-website.com"
password="my-password"
/>
<rtc:ConnectSession
id="connSesh"
roomURL="https://connectnow.acrobat.com/fbcocomo/FBCocomo001"
authenticator="{auth}"
/>
<rtc:AudioPublisher
id="audPub"
connectSession="{connSesh}"
codec="{SoundCodec.SPEEX}"
useEchoSuppression="true"
/>
<rtc:AudioSubscriber
id="audSub"
connectSession="{connSesh}"
/>
</mx:Application>
'thing is: no audio, complete silence. any ideas why?