Skip to main content
Participant
July 11, 2007
Question

FMS app structure question

  • July 11, 2007
  • 1 reply
  • 224 views
Hi

I'm still feeling my way with media server and need a little help. I'm making a chat app with multiple rooms. I need to have a directory feature which lists all connected users and their current location. As far as I can tell theres two possible ways of achieving this:

Senario 1: design one fms room app which maintains a directory list in a shared object which is accessible by all instances of the room app. This then causes a problem when a user isn't in a room but is logged in (i.e. is accessing navigation pages etc.) as they still need to be listed in the directory. Should they be connected to some 'lobby' instance of the room app to bypass this, even if they can't actually chat/see other users in the lobby?

Senario 2: have two apps and two seperate net connection instances, one a room app and one a global comms app which maintains the user directory. If you're not connected to a room you're still connected to the global app so you're still listed in the directory.

Senario 2 to me seems the most logical but I'm wondering if there are implications to using two simultaneous connections to fms. Or is there a better way that I haven't thought of?

Any help would be greatly appreciated, thanks
    This topic has been closed for replies.

    1 reply

    Participating Frequently
    July 12, 2007
    no. none from me. i honestly dont have the first clue