Media Server :: Connecting To Remote Servers (HTTP GET, POST)?
Mar 1, 2010
I'm running FMS 3.5 on RedHat, and have some server side actionscript that is attempting to perform an HTTP GET on a remote URL, e.g:
loadVars.send("http://someurl/");
This works on a Windows XP development server, but not on the RedHat deployment server. Are there any configuration options that I need to be aware of in order to allow my application to perform requests such as these (i.e. HTTP requests to remote servers)?
View 1 Replies
Similar Posts:
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
Jul 23, 2009
Does anyone know where can i find tutorials or even examples for connecting to a remote web server via XML-RPC. I want to establish connection with the server and call a remote method ...
View 0 Replies
Nov 26, 2009
Does anyone know if this is possible I have an FMS server in our production enviroment that contains multiple vHosts, at the moment I have one edge server setup for each host based on the comment at the bottom of this entry:[URL]
View 1 Replies
Aug 31, 2010
I am working on streaming programs through "Adobe flash Media Live encoder" in my website.The steps that i done for streaming is
* Installed Adobe flash media live encoder
* In the FMS URL entered as " rtmp://myserver ip/live "
* In stream given as "livestream"
* when i click connect the follwing error is displaying " Invalid primary FMSURL "
The website i am going to implement is [url]... which is done using PHP. Is there anything i have to do in coding to connect the media server.
View 1 Replies
Jul 30, 2009
I am trying to load test my 2 server load balanced FMS 2 environment which has been set up with the profile for 1000 connection 40MB. When I hit about 140 connections/server it fails with a "Bandwidth Penalty activated at time 1248945759.731000 with bandwidth 5945889 and limit 5000000" error logged in the event viewer immediately followed by many rejection errors: " immediately followed by many rejection errors: "
Connection rejected by server. Reason : [ License.Limit.Exceeded ] : (_defaultRoot_, _defaultVHost_/DLvideo/_definst_) : Current server bandwidth usage exceeds license limit set. Rejecting connection."The load testing mechanism is a test harness that was created by a third party and seems to work well up until the above messages are logged. It basically is making 25 sustained streamed video connections per minute until it starts disgarding connections as noted above.
The servers are not even breathing hard (RAM is less that 50% consumed and CPU Utilization is < 5%) 1GB NIC on each server.What parameter(s) can be changed to push the servers harder.
View 4 Replies
Jan 1, 2012
I have a load balancing problem for example I have two FMS servers I want to make aconnection between them if the first server overload the second can handle the request
View 1 Replies
Jul 21, 2009
I run a FMS 3.5 Server and I want to add additional FMS Servers and load balance the traffic. The plan is to use a script for the developer version of FMS that forwards two incoming FME streams to the different servers, so each FMS Server has all streams. Is there a script for this? In addition there is a need for a script that somehow redirects the users to the server with the lowest users/bandwidth in use.
View 1 Replies
Jun 10, 2011
We are currently deciding what to use: Wowza(not so much, since they are undergoing the lawsuit) or Adobe Flash Media Server. The problem is that I couldn't find any information on how to configure the loadbalancer using FMS. I tested with Wowza and they use built-in loadbalancer but not so for FMS. Forgot to mention that we need it mostly for live events using RTMP protocol. My current configuration has 1 origin server + 2 edge servers(trial developers edition). I can manage to play livestream from the edge--origin servers using egde url. How can I configure the edge server so that when I connect to the origin server it redirects me to the least loaded edge server?
I tried to set up the connection limit for the origin server for 2 connections(one for the fmle, one for edge) and connect with 5-10 clients but my origin server didn't redirect the stream to the edge.
View 1 Replies
Oct 3, 2011
can i use a single RTMP link included on FMLE with multiple servers, means, that RTMP link will do the redirection to the other RTMP links.with hight number of simultanous users, that feature will manage the use of servers
View 7 Replies
Apr 20, 2010
I need to do an in-place upgrade from 3.5.2 to 3.5.3 on my origin servers. Is there a recommended precedure to acheive this? I want to have the minimum downtime possible. CentOS, x64. I think something along the lines of :
[Code]...
View 1 Replies
May 3, 2010
I want to implement an internet chat application, I mean, I want a front end, which connects a web cam (mic and speaker). So, I can send videos and audios to a back end server (do flash streaming? but I am not sure what good product out there I can use), and also send both A/V to another computer on the internet. In other words, need a front end that sends local a/v from webcam (&mic) to backend and receives remote a/v from backend to webcam (and speaker) + backend streaming server.
View 4 Replies
May 25, 2009
As titled, what is the way to record video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http?What I am trying to do, is to record a user's microphone's input and save it to the server.fterwards, I would like other users to be able to access the recorded files and mainuplating the audio data, by computeSpectrum(), to do some visualization of the audio. As I know computeSpectrum() cannot work on streaming files, so I think I need to access the recorded files using http instead of rmtp. Is that true?
View 1 Replies
Jun 22, 2011
I am trying to set up DVR streaming using FLME. I'm following this tutorial: http:[url]........I'm up to Step 2,
I put in the following information into the FLME:
FMS URL: rtmp://222.222.222.222/dvrcast_origin
Stream: mp4:sample.f4v
Then click 'Connect' , but I get an error "Failure to connect to primary server verify that your server URL and application name are valid and that your internet connection is working and retry". My server is a 32-bit windows 2007 VPS , with FMS running.I don't know if I set up the DVR Cast application correct. All I did was copy the dvrcast_origin into the installationdirectory/applications, then I started a new instance of dvrcast_origin with _definst_...Also, I am running the trial version of FMS, and DVR needs FMIS. Is there a way I can just run FMIS?
View 16 Replies
Jun 24, 2009
I have inherited a custom application on Flash Media Interactive Server 3.0 that broadcasts audio in real time. The custom app is written using Adobe Flash Professional 8 and actionscript 2.0.
A little background of how the custom app works When a user connects to the media server to join a stream, our custom application calls out to a seperate application server (that is not Flash) to determine if the user is allowed to connect to a broadcast stream and which stream they should join. We use Xml.sendAndLoad() to do this. The application server we call sends back Xml to the custom App on the Flash Media Server.
[Code]...
View 1 Replies
Jun 20, 2009
I try to establich the connection with asc file from applications/videochat $connection_string="rtmp://videochat/"; And I'm getting the result from media server
Connecting to the video server...>>The client does not have permission to connect to the application, or the application expected different parameters from those that were passed.>>The connection was closed successfully
View 9 Replies
Mar 30, 2012
'URL missing from Media tag' on FMS4.5 HTTP Live Stream playback.I have spent a whole day trying in vain to publish f4m live http streams from FMLE using FMS 4.5, and almost everything I try results in the error .The F4M document contains errors URL missing from Media tag...in both Flash Media Playback and the fms videoPlayer app.Other people seem to have seen this and solved it, but I've found nothing that helps. I have tried to publish a single stream, and with multiple bitrates. For the latter, I followed the Adobe video tutorial as follows:
Multiple bitrate live
================
I'm publishing 3 streams from FMLE, using
FMS URL: rtmp://[serveraddress]/livepkgr[code]..........
View 1 Replies
Jul 14, 2010
I'm trying to connect to an FMS server with a Flex application. I can throw the rtmp URL straight in as the source for a VideoPlayer and it will work, but can't figure out how to get it to work with a NetStream. The pure Flash Video element works as in the FMS Flash demos, but is extremely laggy and lacks all the nice functionality of the built VideoPlayer. Is there any documentation on working with FMS with Flex? We're at a point where we need to decide quickly if FMS will do what we need to do or if we should purse other technologies.
View 4 Replies
Jul 29, 2011
I'm trying to stream my webcam to my FMS Server, using AS3, but I get this error message:
[Code]...
View 2 Replies
Jan 8, 2010
i am new on steaming & flash server; when we try to use RTMP over HTTP the outside client gets the internal IP address of the FMS server instead of the NAT one or public IP address, how can we solve this.
View 1 Replies
Oct 14, 2010
The instructions for installation only cover installation on "localhost". I'm wondering if I could use the development server for a small scale website depolyment with restricted traffic, from a commercial server, such as goDaddy?And if so, what''s the method? Do I download the package from Adobe to my local hard drive and install over the network, or copy the package to the server and install it online?
View 1 Replies
Jun 17, 2011
Does is matter what HTTP server I use?In the process of upgrading from FMS 3.0 on Windows using IIS 5 to FMS 4.0. Will dynamic HTTP Streaming work from a Windows server?
View 1 Replies
Sep 19, 2011
I installed the FMS 4.5 on a debian system already running an apache web server. I configured the httpd.conf as mentioned in d6093a7e2f8312a374a1bde-8000.html but when i call a streaming url e.g. http://<IP>/hls-live/livepkgr/_definst_/liveevent/livestream.m3u8 the request is still handled by the old apache, not by the FMS
View 9 Replies
Jul 16, 2009
Im building a reservation form, using actionscript and php. I use sendAndLoad to send variables to php via POST, which returns a different HTTP POST response in case of sucess or not.
Is there anyway to "read" HTTP POST responses with actionscript?
View 4 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
Jun 26, 2009
i am working on creating a custom application for FMS 3.0 that calls a webservice to validate the user coming in. I have tested the following sample code from the Server-Side ActionScript Language Ref. (See below) The URL has been changed to protect the innocent.
This codes seems to work fine when going to an unsecured site but the innvocation of the service never seems to go out when attempting it over SSL. The Server documentation says that outgoing calls like this should work over SSL. Is this true? If so what do I need to do to get it to work?
[Code]...
View 1 Replies
Apr 26, 2010
I've been using FMS for a few weeks, and feel relatively comfortable with it, but am currently having some trouble connecting to a live stream in a a video conferencing-type application. I suspect I'm leaving some small step out, but am having trouble seeing what that step is.
I have one client application open the video camera, connect to the FMS, and publish it's live camera stream to the server. Something like this:
Connect to the FMS
nc.connect("rtmp://<ip addr>9/chat_test/");
In my connection (success) handler:
cam = Camera.getCamera();
cam.addEventListener(StatusEvent.STATUS, statusHandler);
...
[code]...
However, I keep getting "NetStream.Play.StreamNotFound" errors. This seems relatively straightforward, but I'm clearly missing a small step somewhere.
View 1 Replies
Jan 15, 2011
I installed FMS 4 on my notebook and I was able to access the console without trouble. I used localhost for the server address. When I installed it on a remote server (Windows 2008), I can't get in. I tried the same thing. I opened it from the file system [URL] and I tried localhost but it didn't work. I've tried other values
[URL]
One problem could be that I installed Apache but there is already a IIS server using the port 80. When I look in the service panel, FMSApache says it is starting but not started.
View 1 Replies
Jan 20, 2011
Suddenly mic not connecting to server. I have FP 10.1. 102.64 Windows XP 32 bit and explorer 8. See link which instructs me to "change" but no response.
View 4 Replies
Jan 18, 2012
I was wondering what the difference is between connecting to 1935 and 80. Does one port have an advantage over the other? I know by default 1935 is blocked and it appears to be the perferred port to use, but does port 80 HTTP slow down the stream?
View 1 Replies