Hi,
I am trying to build a simple chat service using Adobe Flash Builder target for desktop AIR( my final objective is to port it to android). My adobe AIR version is 2.5.0 and below is my source code:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:rtc="http://ns.adobe.com/rtc">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
<rtc:AdobeHSAuthenticator id="auth" userName="Yy" protocol="rtmfp"/>
</fx:Declarations>
<rtc:ConnectSessionContainer id="session" authenticator="{auth}" roomURL="https://collaboration.adobelivecycle.com/yytan1987/myfirstroom" width="100%" height="100%">
<mx:HBox width="100%" height="100%">
<mx:VBox width="25%" height="100%">
<rtc:WebCamera width="100%" height="50%"/>
<rtc:SimpleChat width="100%" height="50%"/>
</mx:VBox>
<rtc:SharedWhiteBoard width="75%" height="100%"/>
</mx:HBox>
</rtc:ConnectSessionContainer>
</s:WindowedApplication>
Basically when i debug it with AIR, the chat is working properly but the webcam and whiteboard just don't work....I really don't know what's wrong with it already...Appreciate it if anyone can help,thanks!!
Regards
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
My take is , is your autopromote tuned on for the room. I mean whats
your user role when an user enters the room(who is not host), is it 10
or 50. If its 10 i.e. viewer , then he cant use his own cam etc. You
need to take a look at the logs when an user enters and if its 10 and
you want to give him these permissions, turn autopromote on from the
devconsole for the room to make his role 50 i.e. publisher.
I just now downloaded 2.5.1 AIR and created a new project with your
source and I am able to use everything.
Thanks
Hironmay Basu
Views
Replies
Total Likes
Hi,
My take is , is your autopromote tuned on for the room. I mean whats
your user role when an user enters the room(who is not host), is it 10
or 50. If its 10 i.e. viewer , then he cant use his own cam etc. You
need to take a look at the logs when an user enters and if its 10 and
you want to give him these permissions, turn autopromote on from the
devconsole for the room to make his role 50 i.e. publisher.
I just now downloaded 2.5.1 AIR and created a new project with your
source and I am able to use everything.
Thanks
Hironmay Basu
Views
Replies
Total Likes
Hi,
Thanks you, the problem is fixed, appreciate it.
Regards,
YeeYong
Views
Replies
Total Likes