Avatar

Level 1

I am working on a program where the owner would allow guests after they knock to enter the meeting room.  Upon acceptance, they would also be permitted to publish/subscribe audio.

My ' meeting owner' application code is an adaptation of the Knocking Queue example. The 'owner app' code has the following settings in its creation complete.

// Require that guests must knock.Note that this line changes the setting of your room so that in future anyone guest coming in

// has to knock.

cSession.roomManager.guestsHaveToKnock = true;

//Enable autopromote

cSession.roomManager.autoPromote =

true;

I get an error when the owner logins in first and accepts the guest into the meeting room.

   // Event handler function for displaying the selected Alert button.
            private function alertClickHandler(event:CloseEvent):void {
             var queue:Array = pendingArray;
             if ( cSession.userManager.myUserRole == UserRoles.OWNER ) {
      var item:Object = pendingArray.shift();
      trace (item["label"]);
      trace (item["descriptor"].userID);
               if (event.detail==Alert.OK)
               {
                //Admit user for chatting
       cSession.roomManager.knockingQueue.acceptUser(item["descriptor"].userID);
       //Allow user to publish audio - supposed to be promoted through room setting
       //audioPub.setUserRole(item.descriptor.userID, UserRoles.PUBLISHER);
               }
      else //if (event.detail==Alert.CANCEL)
       cSession.roomManager.knockingQueue.denyUser(item["descriptor"].userID);
             }
   }

The 'client' application throws the following error.

------------

SWF] C:\Documents and Settings\a246216\My Documents\Flex Builder 3\Client Chat Tool\bin-debug\ClientChatTool.swf - 1,572,471 bytes after decompression
AFCS Beta Build # : 0.92
requestInfo http://connectnow.acrobat.com/fidelity2/ramr?guk=ZzprOg==&mode=xml&x=0.011843591462820768
Getting FMS at https://na2.connectnow.acrobat.com/fms?ticket=1468amkp7k35g, attempt #1/3
result: <fms>
  <origin>fms2.acrobat.com</origin>
  <proto_ports>rtmps:443</proto_ports>
  <retry_attempts>2</retry_attempts>
</fms>
#FMSConnector# Tue May 12 11:26:50 GMT-0400 2009 protocols: [object ProtocolPortPair]
#FMSConnector# Tue May 12 11:26:50 GMT-0400 2009 [attempt 1 of 2] Connecting to 0/0: rtmps://fms2.acrobat.com/cocomo/na2-sdk-825d634c-46ed-4ed3-aa58-7450f0f7e36a/ramr #startProtosConnect#
#FMSConnector# Tue May 12 11:26:50 GMT-0400 2009 tempNetStatusHandler 0/1,NetConnection.Connect.Success
#FMSConnector# Tue May 12 11:26:50 GMT-0400 2009 isTunneling? false
#FMSConnector# Tue May 12 11:26:50 GMT-0400 2009 is using RTMPS? true
RECEIVED LOGIN AT SESSION
  .user descriptor from server [object]
    \\
    .displayName [string]= k
    .userID [string]= GUEST-110858C2-4F16-4FE8-BF2C-D572F915FEC5
    .affiliation [number]= 5
    .role [number]= 5
RECEIVENODES UserManager
receiveAllSynchData UserManager
checkManagerSync:[object UserManager]
RECEIVENODES FileManager
receiveAllSynchData FileManager
checkManagerSync:[object FileManager]
RECEIVENODES AVManager
receiveAllSynchData AVManager
checkManagerSync:[object StreamManager]
RECEIVENODES RoomManager
receiveAllSynchData RoomManager
checkManagerSync:[object RoomManager]
RECEIVENODES Chat
receiveAllSynchData Chat
Error: Could not find the requested node.
at com.adobe.rtc.sharedModel::CollectionNode/getNodeConfiguration()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\sharedModel\CollectionNode.as:394]
at com.adobe.rtc.sharedManagers::StreamManager/getNodeConfiguration()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\sharedManagers\StreamManager.as:577]
at com.adobe.rtc.collaboration::AudioPublisher/onUserRoleChange()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\collaboration\AudioPublisher.as:1009]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.adobe.rtc.sharedManagers::StreamManager/onUserRoleChange()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\sharedManagers\StreamManager.as:1410]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.adobe.rtc.sharedModel::CollectionNode/http://www.adobe.com/2006/connect/cocomo/messaging/internal::receiveCascadingUserRole()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\sharedModel\CollectionNode.as:813]
at com.adobe.rtc.messaging.manager::MessageManager/http://www.adobe.com/2006/connect/cocomo/messaging/internal::receiveUserRole()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\messaging\manager\MessageManager.as:715]
at com.adobe.rtc.session.managers::SessionManagerBase/receiveUserRole()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\session\managers\SessionManagerBase.as:352]
-------

The above error is thrown just when the 'guest' is accepted into the meeting room.  The guest has not published anything at this point.

The chat part is working fine.

I have tried different ways to resolve this issue but I am not getting anywhere.  I have tried different things.  Your help is appreciated.

Ram