Expand my Community achievements bar.

SOLVED

How do I log in as a guest using the WebCamera pod?

Avatar

Level 3

<rtc:AdobeHSAuthenticator

id="auth"

userName="XXXX"

password="XXXXX"  />

<rtc:ConnectSessionContainer id="cSession" authenticator="{auth}" width="100%"

height="100%" roomURL="http://connectnow.acrobat.com/XXXXX" >

<WebCam:TouchWebCam width="100%" height="100%" id="Web" sharedID="PIc" />

</rtc:ConnectSessionContainer>

Can someone tell me how to log in as a guest?

Thanks for your help.

BaBo,

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi babo,

I tried the same thing that Raff suggested and I dont see an issue. Can you double check your room URL. My code in case you want to try it

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:rtc="AfcsNameSpace">
    <rtc:AdobeHSAuthenticator id="auth" userName="SuperMan" />
    <rtc:ConnectSessionContainer id="cSession" authenticator="{auth}" width="100%"
      height="100%" roomURL="http://connectnow.acrobat.com/uname/roomname" >
         <rtc:WebCamera width="100%" height="100%" id="Web" sharedID="5_WebCamera" />
    </rtc:ConnectSessionContainer>
</mx:Application>

Thanks

View solution in original post

5 Replies

Avatar

Employee

set userName to your guest name and don't set the password:

<rtc:AdobeHSAuthenticator

id="auth"

userName="mario"/>


Avatar

Level 3

I tried that already and this is what I get.

Invalid username or password:Login again

at com.adobe.rtc.authentication::AbstractAuthenticator/onLoginFailure()[C:\work\main\connect\cocomo\src\com\adobe\rtc\authentication\AbstractAuthenticator.as:182]

at com.adobe.rtc.authentication::AdobeHSAuthenticator/doLogin()[C:\work\main\connect\cocomo\src\com\adobe\rtc\authentication\AdobeHSAuthenticator.as:145]

at com.adobe.rtc.authentication::AbstractAuthenticator/login()[C:\work\main\connect\cocomo\src\com\adobe\rtc\authentication\AbstractAuthenticator.as:137]

at com.adobe.rtc.session.sessionClasses::MeetingInfoService/fixAuthParams()[C:\work\main\connect\cocomo\src\com\adobe\rtc\session\sessionClasses\MeetingInfoService.as:72]

at com.adobe.rtc.session.sessionClasses::MeetingInfoService/requestInfo()[C:\work\main\connect\cocomo\src\com\adobe\rtc\session\sessionClasses\MeetingInfoService.as:96]

at com.adobe.rtc.session.sessionClasses::MeetingInfoService/requestRoomInfo()[C:\work\main\connect\cocomo\src\com\adobe\rtc\session\sessionClasses\MeetingInfoService.as:86]

at com.adobe.rtc.session.managers::SessionManagerAdobeHostedServices/getMeetingInfo()[C:\work\main\connect\cocomo\src\com\adobe\rtc\session\managers\SessionManagerAdobeHostedServices.as:69]

at com.adobe.rtc.session.managers::SessionManagerAdobeHostedServices/http://www.adobe.com/2006/connect/cocomo/session/internal::login()[C:\work\main\connect\cocomo\src\com\adobe\rtc\session\managers\SessionManagerAdobeHostedServices.as:129]

at com.adobe.rtc.session::ConnectSession/login()[C:\work\main\connect\cocomo\src\com\adobe\rtc\session\ConnectSession.as:412]

at com.adobe.rtc.session::ConnectSessionContainer/commitProperties()[C:\work\main\connect\cocomo\src\com\adobe\rtc\session\ConnectSessionContainer.as:338]

at mx.core::UIComponent/validateProperties()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:5807]

at mx.managers::LayoutManager/validateProperties()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:539]

at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:659]

at Function/http://adobe.com/AS3/2006/builtin::apply()

at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8633]

at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8573]

Avatar

Correct answer by
Employee

Hi babo,

I tried the same thing that Raff suggested and I dont see an issue. Can you double check your room URL. My code in case you want to try it

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:rtc="AfcsNameSpace">
    <rtc:AdobeHSAuthenticator id="auth" userName="SuperMan" />
    <rtc:ConnectSessionContainer id="cSession" authenticator="{auth}" width="100%"
      height="100%" roomURL="http://connectnow.acrobat.com/uname/roomname" >
         <rtc:WebCamera width="100%" height="100%" id="Web" sharedID="5_WebCamera" />
    </rtc:ConnectSessionContainer>
</mx:Application>

Thanks

Avatar

Employee

Yes, if you check the option Auto-Promote Users in your Dev-Console. That way every one who enters your room becomes a publisher. The other option the room owner can track every user entering the room and promote them to a publisher.

Thanks