Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

cateland
cateland
Offline

Badges

Badges
8

Accepted Solutions

Accepted Solutions
0

Likes

Likes
0

Posts

Posts
19

Discussions

Discussions
0

Questions

Questions
19

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by cateland
Customize the badges you want to showcase on your profile
Re: StreamManager.getStreamDescriptors() doesn't return all streams
Avatar
Give Back 10
Level 2
cateland
Level 2

Likes

0 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Ignite 3
Give Back 5
Give Back 3
View profile
cateland
- Adobe LiveCycle
Hi Hironmay,You were right, it's indeed a room problem. If we start with a clean room, it works.It doesn't change the fact that there is a small bug but we'll make sure we always start with a new room.Thanks a lot for your help,Axel

Views

109

Likes

0

Replies

0
Re: WebcamSubscriber not working in 0.93?
Avatar
Give Back 10
Level 2
cateland
Level 2

Likes

0 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Ignite 3
Give Back 5
Give Back 3
View profile
cateland
- Adobe LiveCycle
Hi guys,I got the exact same behavior as Keith when I changed from 0.92 to 0.93.Arun, I don't see what is special in your code that makes the trick and makes it work. Can you point it out?Thanks,Axel

Views

72

Likes

0

Replies

0
Re: StreamManager.getStreamDescriptors() doesn't return all streams
Avatar
Give Back 10
Level 2
cateland
Level 2

Likes

0 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Ignite 3
Give Back 5
Give Back 3
View profile
cateland
- Adobe LiveCycle
Hi Hironmay,Any chance to reproduce our problem?We still couldn't get it to work. It's even getting worse: the first guy entering only gets sound, no video.Here is the code: import com.adobe.rtc.events.UserEvent; import com.adobe.rtc.events.StreamEvent; import com.adobe.rtc.sharedManagers.UserManager; import com.adobe.rtc.sharedManagers.StreamManager; import mx.collections.ArrayCollection; import com.adobe.rtc.collaboration.WebcamSubscriber; import mx.controls.Alert; private var currentSubscriber:WebcamSubscriber ; private var _userManager:UserManager; private var _streamManager:StreamManager; [Bindable] private var roomURL:String; [Bindable] private var authToken:String; private function init():void { if (ExternalInterface.available) ExternalInterface.addCallback("close", close) authToken = Application.application.parameters["authToken"]; cSession.login(); } /********************************************************** * This example shows how the camera component can be used with a publisher and a * number of subscribers. The publisher has a big view while subscribers have a small view. * A shared property is used to pass the stream to the publisher's user interface. * Every user is provided with play and pause handlers. * *********************************/ private function onSyncChange():void{ if (cSession.isSynchronized){ cSession.roomManager.autoPromote = true ; cSession.roomManager.guestsHaveToKnock = false ; _userManager = cSession.userManager; _streamManager = cSession.streamManager; _streamManager.addEventListener(StreamEvent.STREAM_DELETE, onStreamLeft); _streamManager.addEventListener(StreamEvent.STREAM_RECEIVE, onStreamReceive); if (!webCamPub.isPublishing) { trace("video was not published so we publish"); webCamPub.publish(_userManager.myUserID); } if (!audioPub.isPublishing){ trace("audio was not published so we publish"); audioPub.publish(_userManager.myUserID); } trace("onSyncChange"); displayExistingStreams() } else { message.text="Déconnecté..."; vs.selectedIndex=0; } } private function onStreamReceive(p_evt:StreamEvent):void { trace("on Stream receive : "+p_evt.streamDescriptor.streamPublisherID); if (p_evt.streamDescriptor.streamPublisherID!=_userManager.myUserID) { setUpSubscriber( p_evt.streamDescriptor.streamPublisherID); } } private function onStreamLeft(evt:StreamEvent):void{ if (evt.streamDescriptor.streamPublisherID != _userManager.myUserID){ message.text="Déconnecté..."; vs.selectedIndex=0; videoContainer.removeChild(currentSubscriber); currentSubscriber.close(); currentSubscriber = null; } } private function onResize(evt:Event):void{ if (currentSubscriber){ currentSubscriber.height = this.height; currentSubscriber.width = this.width; } } private function setUpSubscriber(p_publisherID:String):void { trace("subscribing to : "+p_publisherID); currentSubscriber = new WebcamSubscriber(); currentSubscriber.height = this.height; currentSubscriber.width = this.width; currentSubscriber.displayUserBars=false; currentSubscriber.connectSession = cSession ; currentSubscriber.subscribe(); //currentSubscriber.webcamPublisher = webCamPub ; currentSubscriber.publisherIDs = [p_publisherID]; videoContainer.addChild(currentSubscriber); vs.selectedIndex=1; } // run this function once, on connectSession.synchronizationChange (once the room is ready) // sets up all streams that were in the room before you showed up private function displayExistingStreams():void { // loop over the whole set of camera streams var publishers:Object = _streamManager.getStreamsOfType(StreamManager.CAMERA_STREAM); trace("all the "+publishers.length+" publishers : "+publishers); var found:Boolean = false; for (var publisherID:String in publishers) { trace("found a camera : "+publisherID); if (publisherID!=_userManager.myUserID) { trace("it's not me"); setUpSubscriber(publisherID); found=true; } } if (!found) message.text="En attente..."; } public function close():void{ Alert.show("Close!"); message.text="Good bye"; vs.selectedIndex=0; webCamPub.close(); currentSubscriber.close(); audioPub.close(); audioSub.close(); cSession.close(); if (ExternalInterface.available) { ExternalInterface.call("visioClosed"); //message.text = "Data Sent!"; } else { message.text = "Error sending data!" } } Here are the traces:[SWF] Users:axel:Documents:Flex Builder 3:Visio:bin-debug:Visio.swf - 1,074,146 bytes after decompressionAFCS Beta Build # : 0.93requestInfo http://connectnow.acrobat.com/cateland/visio?mode=xml&glt=g:&x=0.7908245138823986authentication status: 200authentication request completerequestInfo htt...

Views

106

Likes

0

Replies

0
Re: StreamManager.getStreamDescriptors() doesn't return all streams
Avatar
Give Back 10
Level 2
cateland
Level 2

Likes

0 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Ignite 3
Give Back 5
Give Back 3
View profile
cateland
- Adobe LiveCycle
Hi Hironmay,First I couldn't compile the source as it was:- StreamEvent.STREAMDELETE and STREAMRECEIVE don't exist.- StreamManager.CAMERASTREAM doesn't exist.Based on this I downloaded the latest drop, full of hope... that it was the reason why it was not working.I made the modifications needed in the code you sent to compile and ran it: it doesn't work and the publishers Object is still empty... I really don't see how I can solve it: could it be my Flash player: I'm running Flash 10.22 for MacO...

Views

106

Likes

0

Replies

0
Re: StreamManager.getStreamDescriptors() doesn't return all streams
Avatar
Give Back 10
Level 2
cateland
Level 2

Likes

0 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Ignite 3
Give Back 5
Give Back 3
View profile
cateland
- Adobe LiveCycle
Hi Nigel,Thanks a lot for being so reactive...I changed my code for yours. But it didn't solve the problem: the second guy arriving doesn't find the streams of the first one arrived.I'm calling displayExistingStreams() in my onSyncChange:getStreamsOfType(StreamManager.CAMERA_STREAM) returns an empty objectall the new stream received in onStreamReceive() are from himself (for the second guy arriving): quite normal as the first guy was there already.I really don't see what's wrong...Here is the co...

Views

109

Likes

0

Replies

0
StreamManager.getStreamDescriptors() doesn't return all streams
Avatar
Give Back 10
Level 2
cateland
Level 2

Likes

0 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Ignite 3
Give Back 5
Give Back 3
View profile
cateland
- Adobe LiveCycle
Hi AFCS team,I'm working on a one to one video conference component in which only the correspondant video is displayed.To do so, I: get all the streams with StreamManager.getStreamsDescriptors()find the ones that have a different publisherID than UserManager.myUserIDsubsbribe to it.It works perfectly fine for the first person who enters, when a STREAM_RECEIVE event arrives, the new stream is found and the subscription works.for the person who arrives second, the StreamManager.getStreamDescriptor...

Views

3.3K

Likes

0

Replies

13
Re: Your Feedback requested : SDK Package AIR App
Avatar
Give Back 10
Level 2
cateland
Level 2

Likes

0 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Ignite 3
Give Back 5
Give Back 3
View profile
cateland
- Adobe LiveCycle
Hi Nigel,This really is a good idea, even if it won't bring many features from the start, I think it's opening a lot of nice perspectives.I think that alrady the "auto-update" of the SDK is a killer.Enjoy the development.Axel

Views

103

Likes

0

Replies

0
UserManager.userCollection order
Avatar
Give Back 10
Level 2
cateland
Level 2

Likes

0 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Ignite 3
Give Back 5
Give Back 3
View profile
cateland
- Adobe LiveCycle
Hi,I'm currently working on a multiplayer game based on AFCS. Players will have to play after each other. The current player client is responsible to find the next player and give him the turn.To do so, I was thinking about using the userCollection and I was assuming that it was a shared Collection identical for all clients. So, to find the next player, the current player only had to search for himself in the Collection and give the turn to the next user in the list.But, unfortunately, it seems ...

Views

737

Likes

0

Replies

1
Room creation in PHP
Avatar
Give Back 10
Level 2
cateland
Level 2

Likes

0 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Ignite 3
Give Back 5
Give Back 3
View profile
cateland
- Adobe LiveCycle
Hi AFCS team,I would need to create room at runtime each time usersdescide to start a session. Can I do that from my PHP script or doI have to do that from my Flex client?Another question about PHP authentication: afcs.php is fullyfeatured but also quite heavy to load. We would like to reduce itto the functions we really use. Can we modify this script withouttoo much risk of re-modifying it each time there is a new drop? Isit delivered as an exemple or is it part of the AFCS "product"?Cheers,Axe...

Views

812

Likes

0

Replies

1
Re: CustomField doesn't seem to be set
Avatar
Give Back 10
Level 2
cateland
Level 2

Likes

0 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Ignite 3
Give Back 5
Give Back 3
View profile
cateland
- Adobe LiveCycle
Hi Hironmay,It works perfectly. Did I miss something in thedocumentation, because I didn't see that it was asynchronous?Cheers,Axe

Views

70

Likes

0

Replies

0
Re: Example of the ShareCursorPane ?
Avatar
Give Back 10
Level 2
cateland
Level 2

Likes

0 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Ignite 3
Give Back 5
Give Back 3
View profile
cateland
- Adobe LiveCycle
Hironmay,Thanks for this perfect answer, I was trying to make thingstoo complicated.Axel

Views

106

Likes

0

Replies

0
Example of the ShareCursorPane ?
Avatar
Give Back 10
Level 2
cateland
Level 2

Likes

0 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Ignite 3
Give Back 5
Give Back 3
View profile
cateland
- Adobe LiveCycle
Good morning,I've been trying to figure out how to use theSharedCursorPane to enable visitors to see each other's cursor. Itried to inspire from the SharedWhiteBoard, but I couldn't get itto work. Is there a simpler example of the SharedCursorPane's use Icould base my code on?Regards,Axel

Views

753

Likes

0

Replies

2
CustomField doesn't seem to be set
Avatar
Give Back 10
Level 2
cateland
Level 2

Likes

0 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Ignite 3
Give Back 5
Give Back 3
View profile
cateland
- Adobe LiveCycle
Good morning,I would like to use CustomField to identify the connectedmembers. The CustomField doesn't seem to work. I've added sometrace to check: if (!cSession.userManager.isCustomFieldDefined("memberID")){ cSession.userManager.registerCustomUserField("memberID");}cSession.userManager.setCustomUserField(cSession.userManager.myUserID,"memberID", myMemberID);status.text=status.text+" \n setting memberID "+myMemberID;status.text=status.text+" \n memberID set to"+cSession.userManager.getUserDescri...

Views

1.5K

Likes

0

Replies

5
Re: Error #1065: Variable flash.media::SoundCodec is not defined.
Avatar
Give Back 10
Level 2
cateland
Level 2

Likes

0 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Ignite 3
Give Back 5
Give Back 3
View profile
cateland
- Adobe LiveCycle
Hi Hironmay,Thanks a lot. It was the compiler option missing.Axel

Views

78

Likes

0

Replies

0
Re: Error #1065: Variable flash.media::SoundCodec is not defined.
Avatar
Give Back 10
Level 2
cateland
Level 2

Likes

0 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Ignite 3
Give Back 5
Give Back 3
View profile
cateland
- Adobe LiveCycle
Hi Hironmay,Thanks a lot. It was the compiler option missing.Axel

Views

80

Likes

0

Replies

0
Error #1065: Variable flash.media::SoundCodec is not defined.
Avatar
Give Back 10
Level 2
cateland
Level 2

Likes

0 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Ignite 3
Give Back 5
Give Back 3
View profile
cateland
- Adobe LiveCycle
Good morning,Since I moved to SDK 0.91, I have the recurrent error when Ilaunch a second instance of my application on the same PC, for testpurposes:ReferenceError: Error #1065: Variable flash.media::SoundCodecis not defined. at com.adobe.rtc.clientManagers::MicrophoneManager/getselectedMic()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\clientManagers\MicrophoneManager.as:160] at com.adobe.rtc.clientManagers::MicrophoneManager/set_1703516469micIndex()[C:\work\main\connect\cocomoPlayer10...

Views

2.0K

Likes

0

Replies

3
Re: Baton or not baton
Avatar
Give Back 10
Level 2
cateland
Level 2

Likes

0 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Ignite 3
Give Back 5
Give Back 3
View profile
cateland
- Adobe LiveCycle
Hi,Your question about changing the role in the application orin the node is very valid. I'll reconsider changing the role in thewhole application.In the next player selection, my main issue is to find thecurrent player index in the list of users based on its UserID ordescriptor, to be able to demote him and promote the next one. But,I can't see a method to find a User in the userCollection byUserID.I can keep track of the index of the current player in theuserCollection or a list of the userIDs...

Views

115

Likes

0

Replies

0
Baton or not baton
Avatar
Give Back 10
Level 2
cateland
Level 2

Likes

0 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Ignite 3
Give Back 5
Give Back 3
View profile
cateland
- Adobe LiveCycle
Good morning AFCS fans,I working on a simple mutiplayer game based on AFCS. In thisgame, players play after each other so I have to manage turns.I've tried using the SharedModel of the game to dael withthat. The first player connected to the room gets the owner roleand is responsible to manage the turns. I'm using the AFCS roles togive and take the right to play: the current player has Publisher'srole and all others have Viewer role on the node.So, in my application, when someone looses, he loos...

Views

747

Likes

0

Replies

3
Cocomo soon restricted to USA
Avatar
Give Back 10
Level 2
cateland
Level 2

Likes

0 likes

Total Posts

19 posts

Correct reply

0 solutions
Top badges earned
Give Back 10
Ignite 5
Ignite 3
Give Back 5
Give Back 3
View profile
cateland
- Adobe LiveCycle
Good morning Cocomo Team,We have been informed via different blogs that you are aboutto restrict the use of Cocomo to USA only. These blogs arereporting emails they got from Adobe, so it seems to be seriousinformation.quote:One thing that we wanted to let you know is that the Cocomobeta was actually intended to be restricted to participants inNorth America initially and not available outside. The team will beimplementing some restrictions in the next few days…If this is true, this would be a ver...

Views

603

Likes

0

Replies

3