Media Server :: Pass Objects (not Strings) To Application.onConnect()?
Sep 30, 2009
The documentation on parameters for application.onConnect() is below. It can take a Client "object" but is ambiguous about the optional parameters (strings vs objects). I'm guessing just strings?
I have a user value object with a few pieces of info in it that I pass around client side and would like the server to add it to its list of users (usersSO). I'm guessing I'll have to send it up in pieces and recreate it somehow on the server?
ParametersclientObjA Client object. This object contains information about the client that is connecting to the application.p1 ..., pNOptional parameters passed to the application.onConnect() handler from the client-side NetConnection.connect()
View 5 Replies
Similar Posts:
Sep 30, 2009
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); }
[code].....
View 2 Replies
Sep 16, 2010
FLVPlayback custom params
How do I pass custom parameters to FMS using a FLVPlayback just likeI can with NetConnection.onConnect()? e.g. Normally I pass custom params to FMS like this:netConnection.connect("rtmp://mydomain.com...", param1, param2, ... .etc); How do I pass param1... etc. to FMS if I'm using an FLVPlayback component?
View 2 Replies
Feb 3, 2010
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.
View 30 Replies
Mar 4, 2011
Somebody I know can't watch because they have a proxy server.The nc.connect() call to get the live stream fails because it goes direct from AS3 to FMS and doesn't go through the proxy server.
View 1 Replies
Oct 29, 2009
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.
View 5 Replies
Oct 5, 2010
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.
View 12 Replies
Mar 5, 2012
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]
My application.xml and event.xml files are:
View 1 Replies
Aug 12, 2011
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
View 4 Replies
Apr 22, 2010
I am doing project using flash, now I cant pass a value from one SWF to another, is there any way to pass value from one SWF to another.
View 1 Replies
Aug 25, 2009
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.
View 9 Replies
Apr 4, 2011
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.
View 1 Replies
Apr 18, 2011
Are there any way that Flash Media Server isn't able to pass metadata of F4V file into the stream (RTMP) if F4V file was encrypted with Flash Access?
View 1 Replies
Feb 22, 2011
[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?
View 3 Replies
Aug 26, 2009
I am trying to make video two way chat application through FMS streaming in AS3.0.Its working fine with Mozilla but not working in Internet Explorer.
View 3 Replies
Oct 26, 2009
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?
View 5 Replies
Apr 20, 2010
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>
[code].....
View 21 Replies
Jun 27, 2010
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.
View 2 Replies
Nov 15, 2010
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?
View 6 Replies
Jan 26, 2011
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 ?
View 2 Replies
Feb 3, 2011
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.
View 4 Replies
Jun 4, 2007
we are hopping to develop a text chat by flash sites.
View 3 Replies
Apr 19, 2011
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?
View 1 Replies
May 17, 2011
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.
View 7 Replies
Jan 8, 2012
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.
View 1 Replies
Feb 21, 2012
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.
View 3 Replies
Aug 18, 2009
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?
View 1 Replies
Nov 24, 2009
I have few queries on Flash Media Server:
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?
View 1 Replies
Feb 10, 2010
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.
View 1 Replies
Mar 30, 2010
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?
View 3 Replies