Flash - Adobe Cirrus: Deliver A Chunk Of Data To A Single Peer With Known Id?

Jun 17, 2011

Adobe Cirrus offers a number of options for transferring data from peer to peer: Directed Routing, Object Replication and Multicasting to name a few.I just want to send the data to one specific peer, its fine for other peers to 'see' it in transit.

My experiments with Directed Routing (the obvious answer) have not gone well. all the sendto... methods fail, while NetGroup.post works fine on the same netgroup. I am concerned about using direct connections because of reliability.

Has anyone successfully implemented a one to one messaging strategy (not one to many), which can still message between non-connected peers - (Directed Routing) or solved this problem successfully?

I am considering various workarounds, but I am quite perplexed that these NetGroup methods: sendToNearest, sendToNeighbour & sendToAllNeighbours just seem to fail, for no apparent reason.

View 2 Replies


Similar Posts:


Adobe Cirrus In Flash App Without Flex?

Apr 1, 2012

Now I am using Adobe Cirrus in my Flex app, but I think that Flex is too complicated for such simple application.

View 1 Replies

Flash - Adobe Cirrus (Stratus) Doesn't Work If User Have Local Network

Aug 20, 2011

I am developing flash p2p chat. It works fine on my friends' computers (they can chat each other), but not on mine. The problem is that I have local network at home, and I think that Flash Player tries to make p2p requests to peers inside my local network.Can I check if user have local network in AS3 and up the level of network to the WWW?

View 1 Replies

Flash :: RTMFP Successful Connection Ratio Or Percentage, AKA Adobe Cirrus, Stratus, LCCS

Oct 29, 2010

I've heard a couple of people say only 50% succeed, but that sounds suspiciously low and the people saying that are probably all repeating the same rumor. My own very limited tests with various friends & colleagues work 100% of the time, as long as they have Flash Player 10, but that's obviously not right either.

Do you have some data from a largish test or deployment of home/corporate users?

View 4 Replies

ActionScript 3.0 :: Peer To Peer In Flash, Is Java The Answer

Aug 31, 2011

One workaround for this seems to be very briefly using a server to authenticate and setup a peer to peer connection, such as Adobe Cirrus. Another workaround is simply not using peer-to-peer, and instead setting up a dedicated server using Java or PHP to communicate between users.

It seems to me, that if you can use Java on a server to communicate between two users, shouldn't you be able to use Java in your program to directly handle peer-to-peer communications, no server needed?

And, if it's at least theoretically possible, would someone mind pointing me to a good tutorial on integrating Flash and Java, and using Java to do peer-to-peer? The tutorials and examples I've managed to find so far on both subjects haven't been very illuminating.

View 10 Replies

P2p - Using Flash Peer To Peer To Share Files?

Apr 21, 2011

I am trying to implement the actionscript program described at this address. http://cookbooks.adobe.com/post_Create_a_P2P_file_sharing_application-16539.html. It lets two flash client connect to the cirrus service and share a file using the flash peer to peer facilities.

The problem is that I would like to display a progress bar to the downloading client for long files. There does not seem to be any progress-type event been triggered by data sent by NetStream.Send. This particular function appears to have been created by adobe to send tiny update and meta-data code.

Is there a way to display a progress bar of downloaded data when using a netstream object?

The alternative would be to break the data into small packets and send them individually; then increment the progress bar as they are received by the client. Unfortunately this creates a lot of overhead for the simple problem of displaying a progress bar.

View 2 Replies

Actionscript 3 :: OnPeerConnect Method Using Adobe Cirrus Does Not Get Triggered?

Aug 18, 2011

I have a NetGroup established using Adobe Cirrus. All clients can connect fine and see each other, since I receive NetGroup.Neighbor. Connect and NetGroup.MulticastStream.PublishNotify events when a new stream is being published.However, if a user subscribes to a published stream, the publisher does not receive a notification (no NetStatusEvent and no callback to the onPeerConnect method). The subscriber receives the stream without problems, though.All other questions about the non working onPeerConnect method were related to NetStream.DIRECT_CONNECTIONS, but in my case, I am using a NetGroup.

What is wrong here? Only the relevant parts, a few things have been stripped (e.g. connect the netGroup only when the NetConnection has been established etc.)

var groupSpecifier:GroupSpecifier = new GroupSpecifier("group");
groupSpecifier.multicastEnabled = true;
groupSpecifier.postingEnabled = true;[code].....

View 1 Replies

Actionscript 3 :: Using Only RTMFP For Random Matching (Adobe Cirrus)

Mar 8, 2012

I'm trying to come up with the best way to do some random match making in a simple game.While experimenting with netStreams using Adobe Cirrus, I can easily set up direct connections, send data, text, video, sound all using Cirrus which is great. I find it pretty easy to get a simple P2P connection going, and it works just like i need it to.But I really want to implement a random matchmaking feature using ONLY cirrus so everything is though p2p...How would I go about grabbing a random peer in the same group...that's not in a direct connection with someone else already?

-I was thinking maybe I could use object replication...and when someone connects to the GroupSpecifier, I could then push another object into this shared array that has the local peerID and their status. then i could just alter the array when theyre in a game. But then im worried there is no guarantee that their entry will get removed if the person just closes the web window.

-I also thought about just doing a "post" to the group containing the nearID, and other peers can get the post...and those that aren't in a game will try and direct connect back. Then that side will then connect to them. so then theyll both be in direct connections with each other. But then i feel like if potentially 100s of people that are "available"...get the post...then they all try and connect to one person, then it could cause problems.

-Also, I thought about just doing sendToNearest...but wouldnt that not be the best way to match people...because you can only have so many neighbors i think... if there were 1000 people in the group. youll only be able to connect to a few peers actually considered your neighbor right? Then basically you could end up just matching up with the same 5-10 people or however are technically considered a neighbor.

View 1 Replies

Media Server :: Latency Is Coming In Fms4 Peer To Peer Communication

Nov 17, 2010

I am developing peer to peer video conference application with FMS4 but there is some latency problem.

View 1 Replies

Media Server :: Latency Coming On One Side In Peer To Peer Connection?

Dec 22, 2010

We developed one video chat application in which one user can chat communicate with anohter user. Latency is coming on one side in peer to peer connection.

View 2 Replies

Media Server :: What Determines When Peer Might Switch To Another Peer

Jan 30, 2012

When running a peer-assisted multicast video event, what determines when a peer might switch to another peer?What I'm asking is that a peer joins the group, is handed a few peers that may be decent cadidates to pull the video stream from.They start pulling that stream from peer1 and if they can't connect (or I assume if the connection is terrible) they will try the next peer.What if I want the peer to give up (and try another peer) if the quality of the stream coming from a peer is not terrible but is not great either.Is that configurable?

View 1 Replies

ActionScript 2.0 :: Possible To Create Peer To Peer Games

Sep 6, 2011

is it possible to create peer to peer games in Action script 2.0

View 1 Replies

Flex :: RTMFP Direct Peer-to-peer Connection Working On Windows XP / But Not On Windows 7

Mar 1, 2012

we're having a strange problem on a project here. When we use NetConnection in combination with a NetGroup to initiate communication between two local AIR applications on Windows XP, they always both connect to the NetGroup succesfully and detect each other as neighbors. However, on Windows 7 both applications connect succesfully to the NetConnection and NetGroup both don't detect each other as neighbors.To reproduce this problem, here are two AIR applications:[code]

These applications can connect and send message to each other without a problem on Windows XP. On Windows 7 however, they cannot.Does anyone know why this wouldn't work on Windows 7 and what steps can be taken to make it work? It's critical to our project that this works.In some cases, the applications take quite a long time to detect each other as neighbors (up to 15 seconds in some cases), in other cases they detect each other immediately. Does anyone know what could cause this delay?

View 1 Replies

Actionscript 3 :: Flash P2p Possible Without Cirrus / LCCS?

Nov 24, 2010

Is it true that Flash p2p cannot be done without Cirrus/LiveCycle Collaboration Service? I've seen a similar question on SO and it is claimed there that it cannot be done. So, why not? Also, I've seen comrade back2dos had some thoughts on the problem, but he was downvoted

View 4 Replies

Xml :: How To Parse This Chunk Of XML

Jul 24, 2010

So i have this chunk of XML:

<?xml version="1.0" encoding="UTF-8"?>
<groups>
<group>

[code].....

View 1 Replies

ActionScript 3.0 :: Deliver IP-oriented Content In Flash?

May 6, 2009

A client has asked for a flash product to be delivered with different content in different IP locations, particularly in different countries. It is a simple trick in HTML+Javascript world, but I am not sure about whether this is possible to be done in Actionscript 3.

View 14 Replies

Flash - How To Implement Own Cirrus (previously Named Stratus) Server

Apr 17, 2011

I am interesting in creating a P2P application using Cirrus [URL]. The examples given create a connection with servers managed by Adobe. I'd like to do this on my Node.js server, how should I implement this? Or does Adobe force developers that use Cirrus to buy Flash Media Servers?

View 1 Replies

Flex :: AIR/Flash Player Connect To Another Machine Without Cirrus/stratus?

Sep 1, 2011

I dont want to connect to a server over socket. I would like to know if it is possible to connect from one AIR app on machine A to connect to another AIR app on machine B via sockets without cirrus. I'm not asking for someone else to do my work, I couldnt find any documentation or possibility of the above thing. My conclusion now is that it is not possible, but I would just like it to be verified by other people(experts).

View 2 Replies

Flex :: Flash Builder - Data Provider Not Working If XML Has Single Node Value Or Less

May 20, 2010

i get this error when i retrieve an XML that only has 1 node (no repeating nodes) and i try to store in an ArrayCollection. -When I have MORE than 1 "name" nodes...i do NOT get an error. My test show that XMLListCollection does NOT work either.

TypeError: Error #1034: Type Coercion failed: cannot convert "XXXXXX" to mx.collections.ArrayCollection.

this error occurs as the line of code:

myList= e.result.list.name;

Why can't ArrayCollection work with a single node? I'm using this ArrayCollection as a dataprovider for a Component -is there an alternative I can use that will take BOTH single and repeating nodes as well as work as a dataprovider?

code:

[Bindable]
private var myList:ArrayCollection= new ArrayCollection();
private function getList(e:Event):void{
var getStudyLoungesService:HTTPService = new HTTPService();

[Code]....

View 3 Replies

ActionScript 3.0 :: Update A Single Cell In A Flash Data Grid Component?

Mar 22, 2012

I've been working with the flash data grid component, and I want to update just one cell in the data grid without updating the entire dataset. I haven't found anyway to do this and the object inheritance makes it really difficult to track down properties of specific child elements. Here's a snippet i use to get data from a specific data cell:

var cellData:String = _currentPlaylistDataGrid.columns[0].itemToLabel(_currentPlaylistDataGrid.getItemAt(_c urrentSlideID));

What's the best way to do this? It's NOT on a click event or interactive event.

View 1 Replies

Flash :: Deliver Video To Mobile Apps Built In Professional?

Jun 26, 2011

I'm having a hard time finding information on the best way to deliver video to mobile apps built in Flash CS5.5.
 
I'm working on an iPad app using AIR for iOS and I'm wondering how I call on video files basic controls.

The app I'm working on is just a mobile presentation for our studio's production work, so I just want to be able to add our showreel and some other videos of work we've done.

View 3 Replies

Flash :: Company Require Designers To Deliver Their Assets To Coders?

Aug 26, 2011

How do you or your company require designers to deliver their assets to coders? Do they deliver a PSD? A series of 24-bit PNGs?

If you are a coder, what would you include in a best-practice guideline to designers? If you are a designer, what questions would you like to see answered in such a document?

[Code]...

View 1 Replies

Actionscript 3 :: Extracted Sampledata Loops Last Chunk Forever

Nov 18, 2011

I'm working on a virtual piano keyboard that processes imported mp3 sound samples. I've come to a solution with this question, but as I run this test code below, the sound loops its last data chunk of each sound source forever, and obviously, I want it to stop at the end of the extracted sound data. The same happens with any extracted sample data, I don't even have to mix it. I added a dynamically drawn graphic waveform so you can visually check what happens. This is my first time using the ByteArray class, so I don't know how to solve this issue.

[Code]...

View 1 Replies

Actionscript 3 :: Saving Several Images (and Metadata For Each) In A Single File Using Adobe Air

Jul 14, 2010

Is it possible, via Adobe Air, to save multiple types of data in a single file? For example, an application would allow the user to load in external images, position them on stage and label them. This data would be then be stored in a ByteArray (I guess) using BitmapData for the images and probably XML for the metadata.

I would then like to write this to a single file, with a bespoke file extension that could be associated with said Air app.

View 1 Replies

Flex :: Bundle Adobe Air App With Version Of AIR That Installs As A Single Executable?

Nov 23, 2011

Is there way to bundle the adobe air application with a version of AIR that installs as a single executable? Or do I need to ask the users to go to Adobe to install AIR, then install our application?Bundle adobe air app with version of AIR that installs as a single executable?

View 1 Replies

Actionscript 3 :: Adobe Device TouchEvent Test - Single Touch Doesn't Work

Apr 5, 2012

test touchEvent on Adobe Device Cental, google it can't find any information. I know you can do multi touch, but single Touch doesn't seem to work.

View 1 Replies

Intercepting SWF (Adobe Flash Player) Data?

Jul 30, 2010

A third party web site displays streaming alphanumeric data in a Flash application (.swf). I would like to capture that data to be used in my own desktop application. Is this possible? If yes, then what are my options e.g. using VB.NET?

View 1 Replies

Actionscript 3 - Save Data In Adobe Flash Desktop App?

Dec 19, 2010

I am making a desktop Flash application (AS3). It provides to users an opportunity to save and open their projects.I've used FileReference to open project file

var fileRef:FileReference = new FileReference();
var ourTypes:Array=new Array(new FileFilter("Map Editor type (*.xml)", "*.xml"));
fileRef.browse(ourTypes);

and use file content by using fileRef.data.

var mainXml:XML;
mainXml=new XML(fileRef.data);

User must have an opportunity to add some data in this file (not only read). How can I save new data in the same file?

View 1 Replies

Flex :: Develop Adobe Mobile Project For IPad, IPhone And Android In Single Code Base For Managing DPI Calculation And UI?

Mar 16, 2012

How can i maintain DPI resolution calculation for various device and UI management for eg,iPhone having action bar at top/bottom , iPad app has control bar component instead.Is it possible to maintain application in SINGLE CODE BASE.

View 1 Replies

Flash :: Flex - Adobe Player Cache: Does Data Persist Across Different Users Of A System

Sep 16, 2009

Does anyone know if adobe flash player cache data is available to other users on a system? For example: A user logs onto Windows XP, then uses my adobe flex application... and in the process of doing so downloads the signed flex lib... He then decides to mow the lawn and log off. At about 3pm the same day, his Mum can't hear the TV over the sound of the mower, so she decides to log in using a different XP user account. She proceeds to use the very same flex application. Does she also need to download the flex lib again, or would the data already be cached in the flash player?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved