Media Server :: Synchronizing RSOs In Whiteboard Application
May 2, 2010
I have prepared a CUSTOM WHITEBOARD. This whiteboard is shared by two clients. They BOTH can draw on the board using TOOLS in the WHITEBOARD PANEL SET of the application. When someone DRAWS I do following actions:
1: Capture the WHITEBOARD FULL AREA/CANVAS using jpgEncoder().
2: Then I send this BYTEARRAY to the FMS server as Remote Shared Object.
3: The client then draws that RSO onto the WHITEBOARD.
Pretty simple though.
BUT, I am having synchronization ISSUES. The issues are as follows:
Issue 1: Image updates with no synchronization and seems to be zig-zag/random when they both draw at a normal speed.
I'm running Flash Media Streaming Server and have only been serving VOD up until now. I had my network administrator open up port 1935 to the outside world during the setup process and now I can't remember if that was actually required for streaming VOD to clients. Most documentation I've read says that this port should be open, but I seem to recall reading something at one point that suggested it wasn't necessary.
I've just started messing around with publishing live streams using Flash Media Live Encoder to the Flash Media Streaming Server. I have that working without issue but was surprised to find that no authentication is required before a client running the live encoder can publish a stream to the Flash Media Streaming Server. An authentication module is available however it only works with Flash Media Interactive Server and Flash Media Development Server.
If I leave port 1935 open to the outside world, there would be nothing to stop anybody anywhere from streaming video via my server. Anyone else running a default install of Flash Media Streaming Server and with port 1935 open to the outside should see that this is true of their setup as well. I'm wondering if I can safely close port 1935 without limiting the functionality of the server or if there's some way I can require authentication prior to publishing a live stream even though I'm not on the four-and-a-half-times-more-expensive edition of the product.
I'm trying to maintain a web applications state across multiple tabs whilst using ActionScript, JavaScript, and PHP. Should I use AJAX to update the database after an item has been purchased etc, or should I prevent the game being loaded if it's already open in a single tab (if so how could I achieve this)?
I'm building a facebook game, when the user buys an item and has many open tabs it doesn't update the state in the other open tabs. The buying of an item is handled by ActionScript, and the storage of that item is dealt with using PHP.
We have an application that works no problems on our server with FMS in test mode. As soon as we enter our FMS license key we get this error: "application is not a valid signed application loading access denied".We removed the license key and it works again, but with user limits obviously, so this is not an acceptable fix.
Is there any application which can relay another application on Flash Media server? For exmaple I have a "live" application on the server. I want another application, "liverelay" which can basically relay what is coming on the "live" application. Is it possible? If so how can I implement it? Looking forward to a response.
I am creating an application that will allow users to model system information by allowing them to Drag and Drop objects from a Flex Tree into some sort of canvas/grid ie: like a whiteboard application eg: Visio/MS Powerpoint etc. The application requires the following functionality:
Drag and drop items from a Tree to some sort of canvas/grid Move items within the canvas/grid Delete items from the canvas/grid Resize items in the canvas/grid Save the position of the items to a database Has good performance in terms of rendering components with images I am not sure which Flex component is best suited to the canvas/grid. I was thinking of using either:
Datagrid or (can't drag/drop to cells easily though) Grid or (can drop to cells via gridrow/griditems mxml tags) TileList or (problem with this is that it rearranges all items when you move 1 item) some other list? I think the grid would suite my purposes the best as it would enforce objects to be placed within a gridrow/griditem.
Dear community, i am searching for 6 days for a solution but i couldnt find. I installed the trial version of Adobe Media Server 4.5. I am trying to host live stream and it is working without error. but when i activate protection (PHDS), server gives en error code: 20...
Here is the server log...
After i could take the Live HDS, i made these settings as described at [url]
I have configured FMS on Amazon EC2 I am trying to capture data from my webcam and push it to the server.For storing the webcam i created a new folder but as it is recommended in other forums "You need to replace the signed Live application (main.far) with main.asc in[FMS-Install-Dir]/samples/applications/live/ ;(For more Info: refer to documentations & live/readme.txt) "I am not able to locate samples folder from where i can get my main.asc file
The server on which FMS was running crashed due to a power failure. FMS is set to start, and it restarted with the server.Unfortunately it restarted with no applications loaded, including the application, which we need to run continuously.Is there some way to ensure that the server always starts with a particular application loaded? The only way I could find to load it was through the systems console.
[URL]i have my client app in my local system.. i m using rtmp://my server/Helloworld to connect server.. but while running my client app nothing happed.how to launch and run app in fms server?
I have created a folder inside Flash Streaming Server/conf/_defaultRoot_/ called Test with some FLV in the folder. When I log into the console its shows the server and _defaultHost_ and Test but says You are not logged into:Test; make a seperate connection. Does this mean it wants a new application created for Test? How do I fix this?
The server hosting our FMS does not have space to adequately store the media files over time. I have since connected a 500GB external drive to the server. This drive is mapped as the Z drive. I am not exactly sure how I need to edit my application.xml for all http requests to point to this external drive. Below is a small sample of the file. How would I correctly edit this file? Would I just add a line that says <Streams>/;${Z:VOD_DIR}</Streams> ? Do I need to delete either of the below lines?
- <Application>- <StreamManager>- <VirtualDirectory>- <!-- Specifies application specific virtual directory mapping for recorded streams. --> <Streams>/;${VOD_COMMON_DIR}</Streams> <Streams>/;${VOD_DIR}</Streams> </VirtualDirectory> </StreamManager>
I am trying to playback recorded streams from a Flash Media Interactive Server using the VideoPlayer component in Flex 4/Flash Builder 4.If the stream is located in the serverpath>/ streams/vod/_definst_ directory then I can get to it by setting the 'source' parameter of the VideoPlayer to [code]What I can't get to work is when I have a stream recorded to an instance within an application directory.So if the application is "app1' and the instance name is "inst1" it would be literally located in <serverpath>/ app1/ streams/ inst1 directory. Setting the source parameter to this "<server>/ app1/ inst1/ streamname" does not work.It seams to be ignoring the 'inst1' part of the path because the server side log shows '_definst_' as the instance name being run.I know this is in part a Flex 4 question, but manually writing a video player works. I would just like to get the Flex 4 VideoPlayer component to play the video.
I have an FMS Clustered in Edge-Origin configuration. Can I have different Origins for different applications but the same edges?.I have multiple edges forwarding the requests to the Origins based on the application name?[code]And if its possible, can someone advice the advantageous of having different Origins for different Applications?
When a client connects to an application (nc.connect) this is catched at server side using application.onConnect; so, when the client asks for a stream (ns.play) ... does this have some correspondence at server side ? Can we catch this event in some way?Or, seen from another point of view: is there any way, from within an application, to know what stream(s) the application is serving ? I mean, if we want the list of connected clients we have the application.clients array; is there any correspondence from streams ?
I'm trying to record a video to the default FMS vod application with a flash movie, i'm getting this error: "NetStream.Record.NoAccess". I think the problem is not in my code, but just to make it sure, here is it:
var mycam:Camera = Camera.getCamera(); mycam.setMode(320,240,25); var myvid:Video = new Video(mycam.width,mycam.height);
[code]...
i checked and the connection to the server is fine.if i use live streaming, than it's fine (of course in this case i use the live application).It's maybe a file system related problem. I use windows 7, and given all permissions for all the users.. still dont working.
I am following this: [URL]. And parsing the logs to get the stats of applications is hard if theres heavy traffic its hard to get everything to parse right. Would it be easier to import all the stats into mysql db once an hour that way its easier to work with?
I am wondering what values should I put in the Process tag of Application.xml considering my application. I've done some studies but I am still unsure and would like some expert opinion To help you help me : I have a video chat application that comes with a contact list, so think skype on the web.
[Code]...
I set a RollerOver because sometimes RTMFP crashes on my server, and by putting the RollOver it seems to help, by re-newing the core process. However when clients are connected before the rollover, then they will not see their friends going online after the rollover which sucks.
We want to develop a broadcasting application, there would be a main broadcaster on video, with a lot of chatters. There would also be some chatters going on webcam (6 max). I'm still checking out NetGroups, IP Multicast, RTMFP Multicast, Fusion etc. but I am still lost. I also want to make sure that people who can't support RTMFP can be a part of the program by using RTMP, if that's possible right now to combine RTMP/RTMFP in such a big broadcasting application.
I am working on creating an FMS application which does an authentication on server side too. I hvae gone through a number of tutorials and the developer guide but not able to find a correct way to start working on this. I have been able to create a sample application which authenticates few parameters on the server side using the main.asc file with code for authentication on onConnect method. My main doubt right now is how do I set up an application which streams videos depending on this authentication. I am confused on how to setup a new application, how to setup the application.XML, which folder to store the files etc. Can some one guide me on this or give me reference to an application which actually does. A sample/tutorial which actually setups a custom FMS application for simple video streaming from scratch step-by-step would also do.
I did an application here to record the user's webcam and store an .FLV at my applications folder. That's ok. But I want to retrive this .FLV using HTTP mode, to load the .FLV progressively, not by streaming. Got it? For example, if I record a user webcam called "myWebcam": myVideoClass.load("[URL]"); Using http (progressively), not rtmpt (streaming). There is some way to do that? Or to move the file from applications folder to webroot?
My Requirements 1. First requirement is to broadcast a live event through a website. So I need to develop an application to capture the event using a cam (I don't want to use Media Encoder) and I need to create a player for the web site.2. Second requirement is, in a webpage need to display the same live streaming event, also need to display another 8 live videos (which capture the webcam of 8 different users). Basically can I do multiple streaming how can I handle
Questions:a. Can I use Flash Media Server to meet the above requirements?b. I have a dedicated server for FMS and I have webhost for hosting the website. Since FMS and the web hosting are different server, will FMS communicate with the hosting server?c. What is the minimum config for the hosting server? Is it better to go for some Unmetered Servers?
I trying to make a application for multiple videoconferencing, in which more than one peaple can join. During my analysis I have got one issue: Suppose four users are making a conference meeting and all of them are publishing their respective videos. All the video are displayed on on each screen. But due to limited connection and bandwidth I am making connection or viewing each publisher one at a time in every 15 sec, which make still image. but I want to clear the video of the respective person who has either logged out or stop publishing. I have tried the netstream event i.e netstream.unPublishNotify but it works only when I have made connection for viewing. But sometimes it happens that I have no connection for viewing for that perticular person as per the timer. so I want to know who is publishing video at the time of making connection for that perticular view. How could it be possible to know whether the live stream is coming or not at the time of view.
I have a basic video on demand app running on Flash Media Interactive 3.5. I've noticed that in our flowplayer page, in order to view the contents I have to set the netconnectionurl to be the address to the app, and then the file name url needs to contain the rest of the path. For Example: NetConnectionURL: rtmp://myserver.edu/appname/ Url: path/to/file/many/folders/deep/video.mp4
However - I have accessed the same file from a different server using the following: NetConnectionURL: rtmp://myserver.edu/appname/path/to/file/many/folders/deep/ Url: video.mp4 What type of VOD application or settings need to be configure to allow the later example to work?
I have a FMS 3.5 running a VOD service (on-line training based on videos) on what I call a "streaming server". The client loads the Player from a secure (separate) domain, and the Player then requests the SMIL files from the webroot of the Apache server (part of the FMS installation. The Player then starts the video which is streamed dynamically.
In order for the Player to get the SMIL files, it is making a crossdomain.xml request to the Streaming Server. When it get the response, it continues the process. PROBLEM: Sometimes, the crossdomail.xml response from the Streaming Server is SEVERELY delayed, with perhaps 5 minutes. So the end user experience is that it does not work.
I improved the situation by opening up more ports on the Windows Firewall of the Stremaing Server (now open for 1935,80,443,8134) and it works say 90%+ of the times. But there are still occations when there is no response.
I have one application, is like a room of students. So whenever one client (flex client) is connected is like a new student in the room. I have been researching and I found that every new client is stored in application.clientsIf I have 3 students connected, lets say student1, student2, student3, and student4 if I made a trace :
for (var i = 0; i<application.clients.length; i++){ trace("student "+i+": "+application.clients[i].name); }
We are using a Origin/Edge configuration for massive video delivery, and we are experiencing problems with huge audiences. Basically, when the edge server reaches thousands of users watching (6000) a live video in a single application, this instance is unloaded by the server with the following error:
==> edge.00.log <==2010-06-1115:51:1018614(i)2701054Virtual host Disconnecting unresponsive core live/stream (28860) after 30 seconds is not available.-==> core.00.log <==2010-06-1115:51:1028860(i)2581233Core (28860) disconnecting from admin: 200.-==> master.00.log <==2010-06-1115:51:1018593(w)2581257Core (28860) _defaultRoot_:_defaultVHost_:::_0 is not responding and is being restarted!-2010-06-[code]......
In this situation, the CPU usage is something around 30%, the memory is almost unused, and the load average is very low. We are using FMIS 3.5.3 854a running in the CentOS.
I have an application running in FMIS 3.5. Everything is working. Now I want to create two application instances, one for a live stream and one for a development stream. That way I can test my application against the development stream without interfering with the application that manages the live stream.So first I created folders under my application. Say the application's name is test. I created two folders, dev and live. Then I changed my Flex 3 applications so that they would write to rtmp://mydomain.com/test/live/stream. But the application still records the live stream in test, not test/live.[code]
I restarted my vhost. My application still records my live stream into the test folder instead of test/live.So I removed those entries and restarted my vhost.Then I added a folder called streams below my test folder. And I added dev and live subfolders below streams. I saw this on another post somewhere. But this didn't work either.I have not been able to find the configuration element(s) that enable multiple instances in one application.Am I missing a configuration parameter somewhere or is this a bug in 3.5?