What's the best way of managing clients in p2p (cirrus) application? For example, I want to make a game for 2 players. User clicks button "Play", and another random user (who also clicked "play"), will become his opponent. And I'm trying to understand, what's the best way of managing such online users, who clicked "play". And how can I understand, that someone went offline? What server technology will be the best one? I'm thinking of FMS, but if I have it, I do not need p2p, do I? I could just use client1 <--> FMS <--> client2 scheme to make the game. Thanks for help.
Flash p2p: managing clients
1k Views Asked by Timofei Davydik At
1
There are 1 best solutions below
Related Questions in FLASH
- How to create an ActionScript 3.0 in Flash to display Current Date, Time and Day of Week
- textinput.needsSoftKeyboard does not work (air for android)
- Flash erase image with mask - gotoandplay next frame
- Flash CS3: Text appears on button mouse over or text mouse over
- import a sound externally or from the library? AS3
- How to use Database in Flash App?
- undefined method loadCompressedDataFromByteArray through a reference with static type flash.media:Sound
- Cam streaming Flash client/widget
- Pairing a draggable object to a target object in AS3
- update flashVars of flowplayer to change video via swfObject
- Adobe Flash Pro: Locate asset with missing font
- Making an HTML Jigsaw Puzzle in Flash CC
- Passing data between MXML files and opening one after Click on another
- Moving things inside a two-dimensional array in as3?
- AS3 + webcam. Dispatch event on presence
Related Questions in ACTIONSCRIPT-3
- How to create an ActionScript 3.0 in Flash to display Current Date, Time and Day of Week
- textinput.needsSoftKeyboard does not work (air for android)
- AS3 Get currentFrame of current MovieClip
- call Win32 API in flex to set Window Display Affinity
- Air Native Extensions: Released Air App w/Windows Native Extension works fine on develpment PC but not on other computers
- TestFlight API and stats with as3
- Error while using removeChild() and accessing members of array
- Flash erase image with mask - gotoandplay next frame
- Adding a listener to a VerticalScrollBar in flex
- AS3 array to clean up long code?
- AS3 - How can objects that appear randomly never touch each other?
- import a sound externally or from the library? AS3
- Nesting Asynchronous Promises in ActionScript
- AS3 - How can multiple objects that appear randomly NEVER touch each other?
- ActionScript + Ruby
Related Questions in P2P
- A P2P application with Python
- Peer to Peer Communication without Server in iPhone
- Support P2P in Netty or Mina?
- Native Real Time Communication alternatives to WebRTC
- difference between p2p and client-server node design
- Implementing XOR-MAPPED-ADDRESS attribute on STUN server
- RTMFP / peer-to-peer over public Internet
- MQTT as a centralized communication protocol
- Android - Sending intent over mobile network
- ionic client to server sync and client to client sync
- Can you connect UWP apps peer-to-peer?
- Does the "holy trinity" (Ethereum, Swarm and Whisper) support multimedia streaming?
- How is SIP scaled for high load?
- JXTA on internet
- Cherry pick peers using Rasterbar libtorrent in Python
Related Questions in FLASH-MEDIA-SERVER
- AMS doesn't receive unpublish command SOMETIMES over rtmpt
- Issue implementing HLS (http live streaming) with FMS and Flex 4.7
- Constant Buffering & Audio/Video Out of Sync RTMP Streaming
- Run a flash based voice chat without the flash media server
- Can Flash Media Server stream H264 over RTMP?
- Advancing a video frame-by-frame with Flex and Flash Media Server
- echo cancellation for FMS or Red5?
- Custom class type in Server-side ActionScript in Flash Media Server 4
- Publishing H.264 data from a Non-DirectShow video capture card to FMS(Red5) as live stream
- How to relay complex type via NetConnection to FMS?
- Flash p2p: managing clients
- Not receiving onSync delete events for multiple SharedObjects in same SWF
- Using Flash Media Server (FMS) with RTMP for live video chat
- video plays abnormally fast for a short time while streaming from FMS (issue appears on iPad)
- Adobe Media Server scaling on Amazon Web Services (AWS)
Related Questions in ADOBE-CIRRUS
- receive multiple incoming streams in netgroup p2p multicast (adobe cirrus)
- Flash p2p: managing clients
- Porting a Adobe Air app to run on android devices
- Error #1069: Property startTransmit not found on flash.net.NetStream and there is no default value
- Adobe cirrus android application exit/restart without any errors
- Which technology its better to make a voice chat: Cirrus, FMS or XMPP?
- Do I need Flash Media Server to make this project?
- How to make a webservice in RTMFP? (and.. how it works)
- Getting started with RTMFP
- How to implement my own Cirrus (previously named Stratus) server?
- Using Flash peer to peer to share files. How to display a progress bar to the downloading client?
- Why am i getting NetStream.Connect.Closed?
- Connecting Flash Players via local network using Adobe Cirrus
- Can't connect to host using rtmfp
- Adobe Cirrus in Flash app without Flex
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You could have a look at https://github.com/s9tpepper/RealtimeGameLib or http://code.google.com/p/cocoon-p2p/
I use FMS and SharedObject.getRemote() for active users roster.
But if you are building an application available only for P2P users, you could use NetGroup and bootstrap users via Stratus/Cirrus
groupspec.serverChannelEnabled = true(like tomkrcha does in realtimegamelib).http://www.adobe.com/devnet/flashmediaserver/articles/p2p_rtmfp_groups.html