Media Server :: SharedObject - Consuming Data?
Aug 21, 2009
Is it possible to set just one property of a remote SharedObject to clear itself? I understand that calling "clear" on an RSO will cause ALL properties to fire the "clear" event and clear out; however, what I want to do is clear out the data in a specific property so that the "clear" event/message is fired (and not the "change" one since I already have some actions in that).
I suppose I could just set the property to an empty string and put guard code inside my handling of the "change" event/message, but, I'd rather not do that.
View 7 Replies
Similar Posts:
Mar 2, 2010
I'm attempting to view Shared Object data in my FMS Administration Console, but I consistently get the error:Object encoding error; terminating connection.I'm using Flex 3 with FMS 3.5, I'm positive that everything is using AMF3. The Shared Objects do seem to work. I can connect to the shared object through another instance of the app and pull saved data but they are not inspectable in the administration console. Also,very often when a new instance connects to the server I get a RangeError and all of my Flash Player instances crash.
View 9 Replies
Feb 8, 2011
I'm trying to create a FMS application that is broadcasting some data across connected clients using SharedObject. I want only the Application to be granted to set SharedObject properties.
[Code]...
View 4 Replies
Feb 18, 2012
I've installed developer version of Flash Media Server 4.5 and trying to get remote object, but no matter how I call my object all i get is this error .I've rad configuration guide and it told me that I should set StorageDir for shared objects, enable RPC (<RPC enabled="true">) and allow shared object (<Allow>users</Allow> in <RPC> - <SharedObject> tags)
View 1 Replies
Aug 7, 2009
I am searching for the syntax to call an OnSync event on the server-side. I tried this one but there is neither a compiling error nor anything that is traced.
application.onAppStart = function(){
trace("onAppstart");
userList_so = SharedObject.get("userList", false);
[Code].....
View 2 Replies
Mar 10, 2011
what is SharedObject.getRemote() and its usage?if it work just like a SharedObject.getLocal() , saved data will be in the path called 'C:Documents and SettingsusernameApplication DataMacromediaFlash Player#SharedObjects'if i using 'SharedObject.getRemote() ' means, where the data will stored? can any one explain or tell me the stored path.
View 1 Replies
Apr 8, 2011
I'm somewhat new to FMS. We're creating a chat application and using s remote SharedObject to keep everyone in sync about who is in the room. But despite the fact that I use the following:
_sharedObject.setProperty("groupList", groupList);_sharedObject.setDirty("groupList"); to force the shared object to update the list of who's in the room, for some reason it does not always update correctly when someone enters the room and adds themselves to the shared object. The problem seems to be that the SyncEvent.SYNC event does not always get sent all the time.
More troubling it that if the user closes the browser window or navigates to another page, NetStatusEvent NetGroup.Neighbor.Disconnect and NetGroup.MulticastStream.UnpublishNotify are not reliable to use to remove user's from the list. My assumption is that remote shared objects are just not that reliable in some cases. Should I use server side scripts to keep track of users and what groups they are in?
View 9 Replies
Aug 18, 2011
Need to know how to calculate bandwidth for fms shared object used in a text chat application..
View 1 Replies
Nov 23, 2011
How to flush SharedObject in a separate thread? FMS is blocking the program during write, and to save more than 2,000SharedObject takes about 15 seconds.
View 2 Replies
Feb 15, 2012
I can't seem to get setProperty to affect any change detectable by getProperty, or any other means.
* Can you please help me find and fix the problems in my code? Also, it would be great if you could provide a snippet of code to both read/write to the SO from the Flash swf client, and changes required in the FMS server-side code to receive events onSync from another FMS server (also sending to another FMS server.. I know it should be very similar in theory).
[Code]...
View 2 Replies
Jul 22, 2010
I'm trying to make a software which sends video and audio data to a flash media server by using RTMP protocol. Currently, my program can communicate with a flash media server correctly. RTMP specifications does not describe about the raw data in video/audio messages, so I muxed raw H.264 and AAC data into video/audio messages and sent to the server. The server seems to accept them, but a video player cannot playback the stream sending from the server. The player just says "Loading..." For a test purpose, I sniffed the network packets between Wirecast and the flash media server and ripped off only video and audio data. Then, I muxed those data into video/audio message and sent to the flash media server. In this case, the video player connected to the server can playback the stream correctly.
I checked the stream sent from Wirecast, the stream seems not to be H.264 raw data because those data are not started from 0x17 instead of H.264 start code. With those situation, I am wondering what kind of container format I should use for H.264/AAC data to the flash media server.
View 12 Replies
Nov 29, 2009
Is there a way to stream data instead of media files? In particular I'm interested to stream swf files that will be dinamically loaded by another swf client. I see this interesting message talking about how to do this on Wowza but I prefer to find a solution also in FMS to use the SWF Verification feature.
View 1 Replies
Mar 21, 2012
My rtmp client connects to the server ok and rtmp data flowing ok for about 4hours, in the wireshark trace I can see that the server just stops sending data roughly after 4hours. The server version is 3.5.1, and I also try it on a 4.0 server the data stops coming from the server as well after 5+hours. There are no errors or any indication of session disconneciton in the diagnostic logs. I have also looked thru the settings in applicaiton.xml and server.xml I just don't see any obviious reason for the issue. I do send rtmp Acknowledgement to server after the client receives "window size" bytes, and the client sends ping response to server.
View 1 Replies
Aug 3, 2011
What the directory location of the default webpage data when the Adobe Interactive FMS 4 video is installed at?When the page loads it has all of the Adobe products and featurs on the page, I just need to know the location so I can edit it.
View 1 Replies
Jun 3, 2010
I am working in multi user chat application, in which users chat history need to save. When the user requests his chat history, respective chat history needs to retrieve.Previously, I plan to save them in a shared object. Since shared object has size limitation and also it will be saved in some encrypted form I plan to save them in a database.Now I came to know that data can be saved in a database using web service or xml socket etc...
View 5 Replies
Mar 15, 2011
I am working in multi user chat application, in which users chat history need to save. When the user requests his chat history, respective chat history needs to retrieve.
Previously, I plan to save them in a shared object. Since shared object has size limitation and also it will be saved in some encrypted form I plan to save them in a database.
View 2 Replies
Oct 9, 2009
I am working in flash chat in that I need font type,size and color for typed text. how to send the html data from client to server and get back for client.
View 1 Replies
Mar 26, 2010
I'm currently working as part of team of developers and we've run into an issue with our FMS project.In our site the user is able to record video of themselves which is turned into flvs and stored by the FMS. These videos are played back at a later time. The site works fine but intermittently stops recording new videos or streaming previously recorded videos.The only solution at this point is to restart the server. The server logs show that the onDisconnect event handler is running when users terminate their sessions and we can see that the number of active connections does not appear to be exceeding the limit on the server. There are no runtime errors to indicate that anything has gone wrong.From looking at output from the app it just seems like the publish and unpublish event handlers stop running but nothing actually breaks.The user doesn't realize anything is wrong until they try to watch their videos only to get a blank screen.
We're wondering if perhaps it is a garbage collection issue? Either the garbage collector in the FMS is running and taking a really long time to reload the app or perhaps it isn't running at all and somewhere some memory is overloading.
View 3 Replies
Jan 2, 2011
I found this example of a lobby in my flash media server book. But there's a little
var nc:NetConnection;
var rtmpNow:String;
var userName:String;
[code].....
View 1 Replies
Aug 13, 2010
Many times, each day, a notice this error in the event log :
[Code]....
each time after this error, the netconnection between the publisher and the server close. I have some log in my app who check the connectivity between the publisher and the server:
[Code]....
I just want to confirm if it's the real issue of this problem or if other thing can provide this result and how can I prevent the deconnection of the publisher if this append again?
View 5 Replies
Sep 14, 2010
Does the FMS 4 will convert the data from Speex to Nellymoser ?I am publishing the stream to FMS 4 with codec Speex from flash player 10. And trying to access the stream in flash player 9. I am not able to listen the stream.
View 1 Replies
Sep 22, 2010
I am attempting to send XML data to a PHP script from my server-side app using the following code:
var my_xml = new XML("<highscore><name>Ernie</name><score>13045</score></highscore>"); my_xml.contentType = "text/xml"; my_xml.send("http://www.server.com/temp/fms_post.php");
I am logging anything that the outside server receives at $_REQUEST, $_POST, $_GET. I can see that my server-side app is reaching out to the external server, but the data is always blank.
View 3 Replies
Oct 15, 2010
Im need to send some data between 2 Flash clients. I have an issue whereby there is a probability that there could be firewall issues with communicating over port 1935 or 443 know you can use RTMPT to tunnel video over port 80 but im not sure about sending data objects.
View 2 Replies
Mar 10, 2011
when I use f4f packager command line tool,i supply --bitrate value, but I know it in bps (say 500,000 bps). And f4fpackager wants it in kbps. So, should I divide by 1024 or 1000? Does that matter as far as that switching point for client logic?
View 1 Replies
Dec 22, 2011
In an asc file, I am trying to retrieve some data from a server that uses JSON as its exchange format each time someone connects to a specific application. ( I can't control the exchange format)To do that I send a POST using the sendAndLoad method of a LoadVars ObjectSo far I only managed to get the HTTP header. The target object from the sendAndLoad method seems to be empty .he response format from the server is like this :{"result":{"uid":"24947431041778945007157724608309","sid":"20825068196 030559827758762683967"} (I got it by doing a POST with cURL)ince the data doesn't have the attribute=value&attribute2=value2..."format, I think I will not be able to get themoes anyone know if it is possible to first get and then parse these data using either ServerSide ActionScript's API
View 1 Replies
Jan 23, 2012
We have an application that so far uses AS3/AMFPHP, but we are finding this "request-response" model limited and feel we could make better use of sockets to deliver a more streamlined experience.The application is primarily a data-application containing no media streams.We want to open a socket to FMIS and use this as a pipe in which to stream data to and from the application.Consider this situation however, when values can be adapted externally outside of the FMS application: Example:A user who connects with $0.00 at the start of a Flash Client session, may topup money, via paypal externally. At this successful point, the users database value has $10.00, but FMS is still $0.00.How can FMS be informed of an external event such as this and update the client accordingly in real time?
View 1 Replies
May 30, 2009
I am trying to work out if FMS is the solution I am looking for. I am trying to create a system that will store data, and upload it to a database when the user leaves the page. I thought the best way to achieve this would be to send a data object to the media server, check on an interval to see if the user is still active and then somehow upload the data when their "session" times out.
View 1 Replies
Jul 15, 2009
page 3 of his article "Working with metadata for live Flash video streaming" (http:url....) Jens Loeffler says the following...This code defines the function sendDataEvent on the server side, which utilizes the NetStream.send() function to inject the event, including the associated data synchronized with the current timecode of the video.
Note: If you record the video on the server side (a functionality of FMIS), the injected events are also being triggered by the recorded file.
Now, I've got both my own project and his sample project sending/receiving injected plain text data events via the whole "call ('sendDataEvent',data) -> send('onDataEvent',data) -> onDataEvent(data)" relationship just as expected and explained in his article.The Note that Jens makes, however, I cannot seem to validate and, unfortunately, that's linchpin piece in my project. Whenever I capture a stream with injected data events and play it back (via the same 'player' mechanism used with the live stream) the captured video plays back but I do not see the injected events being triggered by the recorded file.
View 2 Replies
Aug 20, 2010
I've noticed that when I use NetConnection.call(methodName) in my client Actionscript it sends a POST request off to the server. I thought this was odd because requests for data are normally GET operations but I didn't worry about it because it doesn't impact my applicationow I have our sysadmin complaining about the amount of data I'm shifting over POST requests because POST requests aren't cached by the web servers (and we are working with the kind of traffic levels where that matters.) Is there anyway I can make call() use GET?The code I'm using is all fairly standard, but here is the relevant snippit:
var nc:NetConnection = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
[code]......
View 1 Replies
Mar 21, 2012
I am using FMS 4.5 and have a simple application which I want to use to send two strings to a php file. But I get a compilation error whenever I try to assign any value to these objects:
Here is main.asc:
<code>
var variables = new LoadVars();
variables.username = "uname";
variables.send(http://url.abc.com/test.php,POST)
</code>
I can't compile with the second line. FMS just says: Sending error message: Compilation error
How do I send variables to a HTTP URL?
View 2 Replies