Flash :: IDE - Media Server - Get Multiple Users To Control One Shared Object
Nov 19, 2009
i am trying to develop a multiplayer game using the flash media server. Currently i can get multiple users to control one shared object but i need to have 2 users controlling seperate shared objects on the same stage.
I am using FMS3 and Flash CS3 (actionscript2) in a Flash based whiteboard application. Multiple users can join this whiteboard. I want to save chat text and drawing in same sequence as live time. I am using persistant remote shared object to save these data. But when i try to replay these data its not showing in same squence as live . I am generating unique slot for chat and drawing but still same error occuring.
I am creating a computer game with a save game function which outputs the contents of an array to a shared object, so that users don't loose their place.However, I wish for this to work with multiple users, and realise that to do this I need a new seperate "folder" within the shared object being created for each new users data array.I know it must be something like....
// Define the shared object using a "sublevel" for each users data array... _root.savegame.sublevel = sharedobject.getLocal("savegame"; "/"); // somehow dynamically change "sublevel" to the contents of the var "currentUser" as defined when the user logs in when the game loads up.
OR...
//Define the shared object but using a variable title for the actual SO... _root.savegame = sharedobject.getLocal("savegame_currentUser", "/"); //with that "currentUser" being dynamically substituted for the contents of the var "currentUser" which is defined when the User logs in when the game loads up.
we're planning to set up a live streaming service, one operson live streaming a video to multiple users. so no more than one channels contemporary in uplaod, and at the beginning it won't be a open broadcast service (maybe later..) we initially don't know how many can be the users. I've red that there's no theoretically limit for the maximum number of users connected with a fms, is this also valid for live streaming, or has it some limitation due to be live? is it necessary to have our fms, or is it possible (and cheaper) use a server provider?
I have developed a audio/video/text chat application with multiple users. I would like to store/save live session in to a single video so that we can manage archived live sessions, and make these sessions available for other users just like a normal video/FLV.
I know we can store single live streaming with DVR but I need to store all the live cams into single video. Note: I'm using FMIS for above application (with rtmp).
One strange thing happened at application, connection to the fms server takes few milliseconds but shared object takes few second (more then 20) to connect.
I need to move two figures on the stage with shared object like the "Tutorial shared Object ball" on the adobe website but with more than one figure. All the client must see the figures moving. The figure are a circle (Cerchio) and a square (Quadrato). This is the script:
I'm trying to make text chat application using shared object. I'm using api Shared.getRemote("so",m_nc,true); to make the data persistent. It makes the file with extension fso. I want to save the chat history in notepad for further reference, and also load that data as per requirement.
As titled, what is the way to record video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http?What I am trying to do, is to record a user's microphone's input and save it to the server.fterwards, I would like other users to be able to access the recorded files and mainuplating the audio data, by computeSpectrum(), to do some visualization of the audio. As I know computeSpectrum() cannot work on streaming files, so I think I need to access the recorded files using http instead of rmtp. Is that true?
Basically trying to update a "userlist" shared object everytime someone connects.Administration console live log reads:"Sending error message: ...main.asc: line 12: TypeError: this.usersSO has no properties"
I'm connected ok. Here's the server code Doesn't like "usersSO.setProperty()" call: application.onAppStart = function(){ this.uniqueID=1; this.users = new Object(); this.usersSo = SharedObject.get("userlist", false); }
I'm having trouble connecting to a remote persistent shared object. When I run from the Flash authoring environment it works. But when I run it from a browser it doesn't. The code attaches an event listener to the sync event, and then calls so.connect(nc).
As mentioned - it works inside Flash authoring only. In both cases the connection to the server is successful. I also tried setting client.readAccess to "/" in the application.onConnect function of the server-side code - but it doesn't help. (Everything was written by me including the server-side application code. I have full control and access to the server).
Also, I can see the remote object exists on the server in the admin console.And as mentioned, when running inside Flash CS5 - the onsync gets triggered after connecting to the shared object.But, the same code under a browser - doesn't trigger the onsync.The SharedObject.getRemote method on the client side returns an object on both occasions.
We need to develop a flash voice conference application with using flash media server. The number of connections can be up to 20,000. is it possible with flash media server. Can it also possible with Peer to Peer. If we use flash media server what configuration needed for.
Is it possible to protect the broadcasted content from unauthorized copying users. In the demo version of FMS 3.5 for interactive broadcasting stream audio and video can be copied by means of such programs as Comtasia. This may not like the content holders. Perhaps there are some instruments of protection.
I'm usig Adobe Flash Media Streaming Server 3.0.1, it works fine, no major problems, when the internet between Media Encoder and Server stops, some times the stream doesn't start automatically.I have a problem with users(viewers) trying to connect to server. The server is connected to fiber optic internet at 100mbps and the stream is made in 500kbps with media encoder 2.5.
When are 40-50 simultaneous viewers works fine, but when enter more viewers, for example, 200 simultaneous, nobody cam receive the stream good, it works frame by frame or flash player display "buffering", work 3 seconds and buffer 5 sec,and so on.HOW I CAN RESOLVE THIS PROBLEM?it is possible to connect milions of users simultaneous, how can i do that.I need more servers to connect each to each other? Could you send me a diagram how to do that?I need to increase the ram memory from server?( i have P4 dual core 3.0 Ghz, 6 Gb ram 800Mhz).
If I'm streaming live video and chatting in an FMS app, should each component have its own instance of NetConnection or should they share one? Was thinking perhaps the quality of the live video stream would be hurt in a sharing situation but am not sure the architecture works like that.
From a development standpoint, I'd like to make one NetConnection instance in my main application file and connect with it. Then, when successfully connected, I'd like to pass that connection into any custom components that need it.
At the moment I'm developing something in which I need to have a server of some sort store and send Shared Objects. When I was looking into it the API said that you would use something like a flash media server. Well the student price for that is about 1300$ so I can't do that. Is there a way for me to create a server in actionscript using socket connections (or something). To send and receive shared objects? I haven't started on this yet I'm just looking ahead into what I'm going to need.
Medium-load chat server using Shared Objects segfaults every few hours. Runtime size has been increased to 30MB (this saves it from crashing every 10 minutes). I have the core dump but don't understand what it means.
If I have a Quad-core server and 8 RAM, how many users can it handle while streaming a 48-128Kbps audio-only stream of Mp3 or AAC? I guess there are some users here that are handling similiar cases, and maybe employees with estimates
Is there any way to make a flash object where users can interact but has no server side support. All users are in the same network, the swf file would be on a shared drive. Nothing complicated, just one frame where everyone (about 10 user) can make modification. No login, no password.
I do noticed that any user who have the ip address of my FMS can do connect and stream to the server although there is no user for him and the server listens to the stream already and it appears in the active streams. How can I prevent that and only allow authorized users by my to connect to FMS and prevent all other from using it ?
The project I'm working on has grown to include multiple swf files of different types. However, the client wants the sound of all swfs controlled from the main swf. After some Google searches I came across examples of local Shared Objects and have attempted to implement what I found. However, the satellite swf in my prototype only registers the data from the LSO as "null."
I think what I need to do is encapsulate the code that defines, writes and clears the LSO in a separate .as file, call it from the .as of my main file (which already has a Document Class defined), and define the satellite files as having the LSO's .as as a Document Class. Am I correct in this line of thought?Using this article as a reference, my SO class would look something like this:
ActionScript Code: class SO { private var shared:SharedObject;[code]........
I'm also thinking the satellite files will mostly be using the "returnString" function, since I don't want them to write to the LSO, just to reference it.
With the following recommended spec from Adobe website, how many concurrent users ? Flash Media Streaming Server system requirements OS : Windows Server 2003 SP2 or Windows 2008
I need to protect my FMS, so that only me (my Username, or IP if its not possible) can start a live stream. I have been reading the pdf on plugin for developers, and i read that the authorization plugin can do this, but it is C++ and i dont know nothing about that, i can understand a little bit, but i do not know how to make the dll i want. Is there another way to do this, the server requests a user and password when i want to stream.
i have made a chat app and i want to let the user add another users that he can find by searching the database of users to his own list, and grouping them ,,, this is can be done but ,,, now in my app when the user connect to the lobby he get all the online connected users in his list i mean when connecting to the online user list sharedobject the user list contains all the connected clients to the lobby and if the number of the connected users is by hundreds or thousands i think if i create a loop for updating the own user users list statues it would not be good idea,,,
so what is the best way to let the user build his own users list and get the statues of each user in his list from the application online users sharedObject witch connected to the lobby app
Uses can log into my site and record camera videos to FMS, and now I want to present videos that belongs to a specific user in a classfied way,that is: videos those are being recordedvideos those have already been recorded, how to do this with FMS? I'm thinking of doing this by storing such information into the database with server side as,using onConnect and onDisconnect,but that's not the most stable way IMO, I don't know whether FMS has a native support for this kind of job...
I'm building a chat app and there are between 100 and 900 users inside. I'm checking if a user is connected to the FMS by pinging it and if the stats['ping_rtt'] is higher that 3 secs i disconnect the user. The problem is that some user are connected but have very high ping like 30 secs or even higher.Does anyone have an idea what can be the reason for the high ping?
I will deliver the following technical information on the server: -Dedicated server: Connection bandwidth: 100 Mbps Unlimited transfer limit RAM: 512MB RAM Intel Atom 1.60 mono System: CENTOS 5.5 FMS Version: Interactive 4.0 We will send a stream of quality 800kbps