Avatar

Level 2
This code works. Of course you will need to publish both your
audio and webcamera publishers. Hope this helps.



<authentication:AdobeHSAuthenticator

id="auth"

authenticationSuccess="handleAuthenticateSuccess(event)"

authenticationFailure="handleAuthenticateFailure(event)"

userName="{Application.application.user.userName}"

password="{Application.application.user.password}" />





<session:ConnectSessionContainer id="cSession"
authenticator="{auth}"

roomURL="
http://connectnow.acrobat.com/yourroom"

backgroundColor="#404040"

width="100%" height="100%">



<pods:SharedWhiteBoard id="whiteboard"
connectSession="{cSession}" sharedID="webcamShare2"

width="400" height="400" popupShapesToolBar="true"

horizontalCenter="0" verticalCenter="0"/>



<collaboration:WebcamPublisher id="webCamPub" width="10"
height="5" quality="70"/>

<collaboration:AudioPublisher id="audioPub" height="0"
useEchoSuppression="true"/>



<!-- only listen to the subscribers we have selected
-->

<collaboration:AudioSubscriber id="audioSub"
publisherIDs="{audioIds}"/>



<mx:Tile id="camTiles"

direction="horizontal"

height="100%"

width="100%"

alpha="0"

horizontalScrollPolicy="off"

verticalScrollPolicy="off"

creationComplete="onCreationComplete()"

horizontalGap="10" verticalGap="10">



<mx:Repeater id="rp" dataProvider="{selectedUsers}">



<components:ResizableCanvas id="rs" width="100%"
height="100%"

minHeight="200" minWidth="200"

backgroundAlpha=".5"

backgroundColor="gray"

cornerRadius="12"

borderStyle="solid"

horizontalScrollPolicy="off" verticalScrollPolicy="off">





<collaboration:WebcamSubscriber
webcamPublisher="{webCamPub}"

width="100%" height="100%"

publisherIDs="{[rp.currentItem.userID]}"
click="onClick(event)"

userBooted="onBooted(event)"
streamChange="onCameraPause(event)"/>

</components:ResizableCanvas>



</mx:Repeater>



</mx:Tile>



</session:ConnectSessionContainer>