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 Received

Likes Received
0

Posts & Comments

Posts & Comments
19

Discussions

Discussions
0

Questions

Questions
8

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 - Adobe LiveCycle 04-08-2009
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

200

Likes

0

Replies

0
Re: WebcamSubscriber not working in 0.93? - Adobe LiveCycle 04-08-2009
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

117

Likes

0

Replies

0
Re: StreamManager.getStreamDescriptors() doesn't return all streams - Adobe LiveCycle 03-08-2009
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

197

Likes

0

Replies

0
Re: StreamManager.getStreamDescriptors() doesn't return all streams - Adobe LiveCycle 31-07-2009
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

197

Likes

0

Replies

0
Re: StreamManager.getStreamDescriptors() doesn't return all streams - Adobe LiveCycle 31-07-2009
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

200

Likes

0

Replies

0
StreamManager.getStreamDescriptors() doesn't return all streams - Adobe LiveCycle 30-07-2009
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.4K

Likes

0

Replies

13
Re: Your Feedback requested : SDK Package AIR App - Adobe LiveCycle 27-05-2009
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

180

Likes

0

Replies

0
UserManager.userCollection order - Adobe LiveCycle 23-05-2009
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

782

Likes

0

Replies

1
Room creation in PHP - Adobe LiveCycle 24-03-2009
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

847

Likes

0

Replies

1
Re: CustomField doesn't seem to be set - Adobe LiveCycle 23-03-2009
Hi Hironmay,It works perfectly. Did I miss something in thedocumentation, because I didn't see that it was asynchronous?Cheers,Axe

Views

111

Likes

0

Replies

0