Media Server :: SharedObject - SetProperty/getProperty No Change?
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
Similar Posts:
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
Jan 25, 2011
Is the setProperty method only applicable to remote shared objects and not to local shared objects? The following code works fine:
Code:
web_so.setProperty("web", "someURL");
trace(username_so.data.Name);
Where 'web_so' was earlier declared as a remote shared object. When the above line of code is parsed, the bbc website opens in the browser and the trace statement get's printed in the output cosole. However if I were to replace the web_so...code witht the following:
Code:
username_so.setProperty("web", "someURL");
trace(username_so.data.Name);
Where 'username_so' was earlier declared as a local shared object. The trace statements prints out fine, but the brower dosent fire up at all. Which makes me wonder if the 'setProperty' method is something unique to remote shared objects, but I dont see the API mentioning that.
View 0 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
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
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
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
Oct 20, 2010
I have FMS 3.5 (Streaming Server) installed, and I am trying to have it render media from locations other than default. Here is my setup.
[Code]...
Basically I am trying to render media specific to different departments (test,test1). So "Department Test" media files are under [E:ContentFMSapplicationsvod est] and "Department Test1" media files are under [E:ContentFMSapplicationsvod est1]
View 1 Replies
Apr 5, 2010
I need to change the default location of VOD media files from opt/adobe/fms/applications/vod/media.what I did:1. Created a dir test under default "media" dir2. Placed my f4v files inside "test" dir3. Modified applications.xml as follows:
<Application>
<StreamManager>
<VirtualDirectory>
[code].....
View 3 Replies
Dec 20, 2010
I need a way to set the permissions (ex 0777) for the recorded streams without calling any additionals scripts.
View 2 Replies
Sep 27, 2010
I'm using the RTMFP protocol to publish and play video and audio, but i'm with a little problem. I installed the FMS 4 Development Server in a Windows Server machine located in our local network and it works perfectly. In order to deploy our application, we have a remote server with a fresh install of the Ubuntu 10.04 Server, and the FMS 4 installed in this server. In other server we have the Java and Flex application, which will be used in the client browser.
The problem is that when trying to change the NetConnection url to the remote FMS server, which is the Ubuntu server, the netconnection can't connect to it. When changing to the RTMP protocol it connects, but with the RTMFP don't. I can't find any information in the log files or anything else.
View 9 Replies
Jan 28, 2010
I try to switch or change a server-side stream, it starts lagging after 2 seconds of playing and sound disappears. Here are scenarios that result in that terrible lag:
1. I create server-side playlist with stream.play() with reset=false; when it is time to play the next movie in the playlist, it starts lagging after 2 seconds.
2. The same problems appears when I just switch streams. I installed FMF Feature Explorer and tried to launch SwitchStreams sample application: the same problem - server stream starts lagging after I switch streams with stream.play().
I tried on different servers (local and remote), with different players (debug player of FMS Admin Console, Standard Flash videoplayer component, OSMF player, Flex video player). I also tried all possible flv, f4v and mp4 file compression options for video files - still the same problem. I have also tried literally thousands of Application.xml settings: changing buffer, buffer ration etc. Is there any tip where I should search for a solution?
View 4 Replies
Mar 9, 2011
when sending a stream (stream - ns.publish ("livestream")) how to change settings, say the format for VP6?
View 1 Replies
Oct 26, 2009
How do I change the port from 80 to 1935? I am using server 2008.
View 8 Replies
Apr 19, 2010
I tried some applications like vod and live with localhost.Now I'm trying to use some applications on my site. It's the first thing you need to do, but apparently it's so basic that I can't find information about it.Can someone explain me how to change the "localhost" to a webserver? In other words, how do I set up an application like vod on my site?
View 10 Replies
May 3, 2010
I'm sorry, but I wanna change the dimension of the built-in flash player that we get from installing the FMS.. can i do that?I need it to fit my web in the center, and on the left & right side there's bar for ads..anyway, I embed my web with the videoPlayer.swf I got from this folder:"C:Program FilesAdobeFlash Media Server 3.5samplesvideoPlayerswfs"then I checked the source folder and i realized that it's builed with Flex, and I'm not proficient in Flex.After that I tried to decompile the .swf file using sothink swf decompiler and recompile it again, but it gives me error message in Adobe Flash CS3 Professional.
View 2 Replies
May 28, 2010
Initially I had local ip (say 192,168.1.XX). Now I connected to public ip. I opened flash media server administrative console, it ios not allowing to use 'public ip' but allows to login as 'local host'. Because of this i am unabvle to test my streams. I need to publish this on cdn.
Earlier URL - rtmp:.//MY_LOCVAL_IP/vod/sample - works
but - rtmp://MY_PUBLIC_IP/vod/sampe - does not work
View 10 Replies
Jun 1, 2011
My company has recently asked me to install the Adobe Streaming Server 4.0.I was wondering if it is possible to have the server software reside on the C: drive, while having my VOD files on seperate D: drive.The staff here wants to separate the software (server in this instance) from the individual flash video files, so they have set up two drives.
View 2 Replies
Sep 28, 2010
I want to change the logs files directory from: C:Program Files (x86)AdobeFlash Media Server 3.5/logs to: D:fmsLogs in adobe in: Home / Flash Media Server 3.5 Configuration and Administration Guide / XML configuration files reference it says:
[Code]...
View 1 Replies
Dec 16, 2011
i have a iis need 80 port so how to change default port 80 in fms4.5
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
Jan 27, 2011
That is , I don't need to terminate the current publishing video then republish again.I just want to change the publish mode,maybe from live to recorded mode.
View 3 Replies
Mar 28, 2012
We are trying to install our Adobe Flash Media Interactive Server. The problem we are facing is that Apache which comes with FMS is set to be run from /home/Apache2.2.21_x64 for some odd reason. Even though we install whole FMS to /opt/adobe/fms folder Apache still has /home/Apache2.2.21_x64 everywhere compilled in. Is there a way to change Apache root folder?
View 1 Replies
Aug 2, 2010
I know the stream can only be modified at publishing side by previous posts. I was thinking of using Server shared objects, but it's not supported by lite.
View 2 Replies
Jun 6, 2011
I've run into a peculiar problem while trying to make use of the Proxy class and override the getProperty() method. I've attached my example class code below:
package
{
import flash.utils.Proxy;
import flash.utils.flash_proxy;
[Code]....
View 1 Replies
Nov 10, 2009
Can Adobe Flash Media Streaming Server 3.5 run on AMD Athlon Dual Sock Quad Core?I just requested a Dell server to be added to our farm to run as a Media Server and to my surprise, while reading the requirements for FMS it states the following: 3.2GHz Intel® Pentium® 4 processor (dual Intel Xeon® or faster recommended)
View 2 Replies