Media Server :: Flush SharedObject In A Separate Thread?

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


Similar Posts:


Media Server :: SharedObject.NoAccess Error When Trying To SharedObject.getRemote?

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

Media Server :: NetStream.Buffer.Flush When The Video Is Paused?

Dec 26, 2010

I notice that, when I pause the video, the event "NetStream.Buffer.Flush" is triggered. And according to the language reference: "Data has finished streaming, and the remaining buffer will be emptied.", I have to re-buffer it, right? However, also according to the reference, it shouldn't stop buffering:Starting with Flash Player 9.0.115.0, Flash Player no longer clears the buffer when NetStream.pause() is called. This behavior is called "smart pause". Before Flash Player 9.0.115.0, Flash Player waited for the buffer to fill up before resuming playback, which often caused a delay.I'm using Flash Professional to do the debugging, and the traced version number is: MAC 10,0,22,91, and the streaming server is FMS4

View 3 Replies

ActionScript 3.0 :: SharedObject.flush() Reasons For Failure?

Apr 9, 2010

So I've looked all over the internet for this answer and have found nothing.I'm writing data to a shared object and need to know when it's successfully written to disk so I can take further action.Most of the time the shared object gets successfully written, but some times, for reasons unknown, it will fail.So my question is, what are the reasons a call to flush() can fail and how best can I avoid that case and ensure that its successfully written?

View 5 Replies

ActionScript 2.0 :: SharedObject - Cannot Get Flush To Return False

May 11, 2007

I have set the amount of data that my SharedObject can store to none, and Never Ask Again. But I cannot get SharedObject.flush() to return false as per the help system. Settings changed here: [URL]

Code:
stop();
var so:SharedObject = SharedObject.getLocal("myObj", "/");
// trap SharedObject memory limit set to 0

[Code].....

View 1 Replies

Flex :: Error #2130 Unable To Flush SharedObject

Apr 22, 2010

I cant flush the shared object in my project. What can I do for that problem?

View 4 Replies

Media Server :: OnSync For SharedObject Isn't Working?

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

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

Media Server :: What Is SharedObject.getRemote And Its Usage

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

Media Server :: FMS Remote SharedObject Not Always Updated?

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

Media Server :: Calculate Bandwidth For FMS SharedObject?

Aug 18, 2011

Need to know how to calculate bandwidth for fms shared object used in a text chat application..

View 1 Replies

Media Server :: Cannot Connect To Admin Console FMS 3.5 Running Separate Apache Server

Jul 7, 2009

I have installed the FMS 3.5 Server on a separate IP from our main Apache Server: The server is running Redhat Linux 2.6.18-128.1.10.el5
 
FMS 3.5 running on ***.***.**.138 using ports 1935, 8080 (Admin Server using port 1111)
Apache 2 running on ***.***.**.139 using port 80, 443. (several sites setup on this IP)
 
However, when accessing the fms_adminConsole.htm in the root directory of one of the domains on ***.***.**.139, all login attempts fail. I am connecting to localhost and using the assigned user and password set up in fms.ini. Using either IP fails as well. The FMS server is set up to listen to all hosts as no specific IPs were set.
 
/var/log/messages show that FMS and the Admin Server are up an running and listening:
Jul  7 12:15:37 228215-web1 Service[28196]: Server starting...
Jul  7 12:15:37 228215-web1 Service[28196]: Server started (/opt/adobe/fms/conf/Server.xml).

[Code]....

All other settings for FMS are default. This is my first time setting up FMS as a fresh install on a new unknown server and I am at a loss as to what settings to check or which files I may need to modify to get it to connect properly. It is a managed server is hosted by rackspace.com if that makes any difference.

View 5 Replies

Media Server :: Stream Content Located On One Machine, Using A Server On A Separate One?

Jun 12, 2009

I seem to recall reading somewhere (but for the life of me I can't find the article I was reading), that with Adobe FMS you could store content on one machine, and then run the actual server on a separate machine.  Is this correct? If so, how would you go about doing it?

View 1 Replies

ActionScript 3.0 :: URLLoader Load Data In A Separate Thread?

Jul 14, 2009

I understand the Flash and AS3 is single-threaded, at least at the user level. I would like to understand how asynchronous data loading is handled by the Flash player.
 
For instance, if I run CPU-intensive code that runs beyond the normal frame (lets say it runs on ENTER_FRAME, and consumes 1/4 per call).  Does this leave any CPU cycles to load data from a URLLoader?
 
If http loading is truly synchronous, right down to handling the TCP/IP stack, one would get horrible performance. In Windows programming, I can do http access asynchronously (in which case the Windows libraries are doing either input on a separate thread, or doing hardware-level interrupts to handle the data -- I provide an asynchronous callback that may be on its own thread).  Or, I can do synchronous download, in which case there will be hardware buffering, but my application is actively waiting for each buffer of data to be delivered by the hardware/OS combination.
 
URLLoader is asynchronous, but what does that mean?  Does it mean that I can run the CPU and still download data?  Or, will my download speed slow to a crawl if my Flash application is under heavy CPU load? Understanding how this works will help me design my product better, which both uses a lot of CPU, and downloads a lot of data (to the bandwidth limit of the network, if possible).

View 2 Replies

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

Media Server :: Cannot View SharedObject Data In Admin Console

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

Media Server :: Create A FMS Application That Is Broadcasting Some Data Across Connected Clients Using SharedObject

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

Media Server :: Store My Files In Separate Folders Under VOD?

Apr 8, 2009

We use FMS 3.5 for streaming IPTV. We have a number of channels and currently our mp4 files are all held in the Media subdirectory, below vod
 
We want to divide them into separate channels for the the stations with their own subdirectories for organised filing but cannot see any way of doing this and then referencing the correct directory with the rtmp: via XML.

View 3 Replies

Media Server :: Record Audio From Separate Netstreams?

Oct 27, 2009

I have two audio streams on the same client.i need to record both streams in a single flv file.can this be done?the below stub is for visual purposes.
 
stream0 = new NetStream();
stream0.publish("pub0");
stream0.attachAudio(mic0);

[code]....

View 1 Replies

Media Server :: Dedicate Separate BW To Audio/video?

Apr 14, 2011

Is it possible to dedicate separate bandwidth for both audio and video during for example video chat?
 
Basically my end goal is to give a minimum bandwidth to audio (so it has a minimum quality, at least), then the video will use the rest

View 1 Replies

Media Server :: Organizing Separate Application Folders For Users

Nov 30, 2009

I have more sites, sites have some users, and each user has separate application folder
What I want is put application folder in a defined folder like following
C:FMISsiteAapplicationsuser1
C:FMISsiteAapplicationsuser2
C:FMISsiteBapplicationsuser1
C:FMISsiteBapplicationsuser2
etc...
I think for this I need to create virtual hosts.

View 2 Replies

Media Server :: Use A Separate Video Hosting Company To Handle My Mobile Videos?

Dec 14, 2010

- Is there a benefit to hosting FLV files on a Flash Media Server when they are under 2-3 minutes?I've been working on a couple different video projects as of late... some are simple web player with 30 second ads and others are working with longer videos like 2-3 minutes. I currently have an FLV hosting provider running Flash Media Server but with videos so small don't they download for the user as progressive anyway and there is no real benefit whether I am using my FLV host or my traditional web host?

i also use a separate video hosting company to handle my mobile videos mainly because I am a bit naive on how that works as well. I had a project with straight links to play video on mobile phones (with three different version served up based on OS). But it seems like most of those were progressive downloads as well.

View 1 Replies

Media Server :: Multiple Bitrate Encoder Creates 3 Separate Events With Stream

Dec 19, 2011

I'm using the Niagara 4100 streaming appliance to encode a live multiple bitrate streams for an event. The problem is the Niagara encoder doesn't allow me to attach an event name to the stream url like - 'streamevent%i?adbe-live-event=liveevent', instead it only allows 'streamevent%i'. So in the end I get three seperate events with a stream for each event.

Like so:
Example:
/Events/streamevent1/MNMMNNMxxxxx.stream
/Events/streamevent2/MNMMNNMxxxxx.stream
/Events/streamevent3/MNMMNNMxxxxx.stream
AND
/Streams/streamevent1/files
/Streams/streamevent2/files
/Streams/streamevent3/files

Is it possible to make it work this way without using the 'adbe-live-event' parameter using the .f4m manifest file?

View 3 Replies

Flash :: C# - Sending Data From A TCP Server To Connected Client Outside Of The Listening Thread

Nov 12, 2011

I am writing a simple Tcp server in Unity and have my Flash application connects to it.I found a great tutorial on threaded Tcp server online, and my flash app connects to it nicely. However, I am not able to send data outside of the listening thread to the connected client. I tried to create a global reference of the Tcpclient obtained inside of the thread. However, that reference (sclient) only works inside of the listening thread, printed Null to console outside of the thread. There must be something I can do to retain the TCP client reference for later use or access it from outside of block thread.

[Code]...

View 2 Replies

Media Server :: Can Adobe Flash Media Streaming Server 3.5 Run On AMD Athlon Dual Sock Quad Core?

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

Media Server :: FLVPlayback Component's NcMgr.netConnection Is Null When Connecting To My Flash Media Server?

Jan 13, 2010

I'm trying to troubleshoot a Flash Media Server working with a little video playback application I wrote a few years ago that has suddenly stopped working.I'm using CS3/Actionscript 3.My app uses the FLVPlayback Component, and was working well last time I checked.  I recevied a report that the videos stopped working, and have been looking into it.I figured I'd add a bunch of event listeners to the FLVPlayback's ncMgr.netConnection so I could get debug info on things like io errors, net status, etc.The problem I'm running into is that the netConnection is null when I set it to anything on my Flash Media Server, and adding any event listeners to this netConnection throws errors.Here's what I've tried so far:

Playback of a local FLV file works fine.In the FLVPlayback documentation, I found an example and stole the URL of the stream they were using in the example, and that works fine, although it is an HTTP protocol stream rather than RTMP.Any attempt to access FLV files on my Media Server, which has worked fine in the past, basically cause the FLVPlayback object to sit and hang in "buffering" mode and never progresses beyond this point.The netConnection object in this case is null.Here's my code:[code]........

Again the purpose of this is to troubleshoot the video streaming from the Flash Media Server, and it seems like there is no netconnection to the server being created.Does this mean that the server is not working, or is there a problem with the way I'm trying to access the content on the server?This was all working fine before, and I have set up the server-side application .ASC files and such to allow things to work fine on the server end.

View 6 Replies

Flash :: Media Server - Automatically Configure Edge From The Admin Console Of Media Interactive Server?

Jan 17, 2010

How can we automatically configure edge from the admin console of flash media interactive server?

View 1 Replies

Media Server :: Number Of Connection Allowed In The Free Developer Ediiton Of Flash Media Server?

Mar 27, 2010

I would like to know the number of connection allowed in the free developer ediiton of Flash Media Server.

View 4 Replies

Flash :: Media Server - Send Video And Audio Data To A Media Server By Using RTMP Protocol

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

Media Server :: Not Save FLV In Sample Flash Media Interactive Server Feature Explorer?

Jul 1, 2010

I have to a problem using the Flash Media Interactive Server Feature Explorer. I want use the sample: RecordStream. I can see the instance "RecordStream" in console FMS 3.5. and show me the video in app AIR, but does not save the .FLV in my server.

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved