Media Server :: Netconnection.connect(), Which Port To Open
Sep 25, 2010
I have a swf running within a web browser and publishing audio stream to the server. If the client's computer has a firewall, should it be configured for outgoing etconnection.connect() request?
View 1 Replies
Similar Posts:
Jun 30, 2011
i m new for FMS I just wanna make a connection, I put swf file in FMS folder and here my codepackage{ import flash.net.NetConnection; import flash.display.Sprite; importflash.text.TextField; import flash.events.NetStatusEvent;public class main extends Sprite private var
View 3 Replies
Aug 19, 2010
Am publishing a live stream from server to server per:I noticed that about every 10 minutes or so the stream would seem to go down.n instance there is unloaded every 10 minutes like clockwork. Message reads "Instance _definst_ is shutdown by the script... Unloaded application instance _definst_." This is preceeded by the"NetConnection.Connect.IdleTimeOut" message.During the 10 minutes inbetween, the stream displays fine on the viewer.The live docs say this message means "the publisher of the stream is idle and not transmitting data
View 6 Replies
Aug 19, 2010
I am getting "NetConnection.Connect.Failed" error when trying to connect to my FMS 3.5 server from Internet.Things work pretty well when the application is hosted and accessed on my local network. Now when I want to connect my live stream application to Internet it isn't working. Public IP for my server is of type xxx.xxx.xxx.xxx:xxxx (My machine is mapped to the ip so to connect I need to mention the port as well).I am running IIS and FMS on the same machine. I have changed the default tcp/ip port of iis to 8080 and the ports for FMS are set to 1935,80.I have updated the HTTPPROXY.HOST value in fms.ini to HTTPPROXY.HOST = :8080 (port of IIS)HTTP tunneling and HTTP Proxy are also enabled.
View 1 Replies
May 11, 2011
I have a single server that runs IIS and FMS, both on port 80. The server has two internal IPs assigned to it, one for IIS and the other for FMS. I also have two static public IPs. My router maps one public IP to IIS' internal IP and likewise for FMS.
IIS works fine. Using an online port scanner, I was able to determine that port 80 is responsive for both public IPs. Before I had configured my Adapter.xml and fms.ini, only IIS' public IP was responsive. This seems to indicate that FMS is fine.
However, when my ActionScript creates a NetConnection and calls connect(), my netStatus callback takes about half a minute to be invoked, and I get "NetConnection.Connect.Failed". Which is not very informative. Is there a way to get more info about the cause of the error?
View 1 Replies
Jul 7, 2010
Port 1935 on my server as i think this is why my streaming in flash med ia server does not work
View 5 Replies
Jun 9, 2010
today I install fms3.5 on my pc.
1)I can use rtmp://localhost/vod/mp4:sample2_1000kbps.f4v , it works ok. But when I use rtmp://192.168.8.3/vod/mp4:sample2_1000kbps.f4v, I got Netconnect.connection.rejected. 192.168.8.3 is my fms server IP.
2)When I set fms use port 1935 and 80, rtmp://192.168.8.3/vod/mp4:sample2_1000kbps.f4v works ok on other pc. But using wireshark(Wireshark is a network protocol analyzer for Unix and Windows.) I found , the flash player connect 1935 port at first, it send "connect",the server replay "connection.rejected" and "no scope "vod" on this server". Than it connect to 80 port, so I see the video is not send throw 1935 port with rtmp, but throw 80 port with rtmpt. Why? How can I see video throw rtmp?
View 9 Replies
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
Apr 27, 2010
Is it possible for flash to open ports to listen for messages from the remote server? If so, how?
View 2 Replies
Dec 28, 2009
It seems after a while the admin server stops responding on our fms server.When logging into the linux machine, I can see that the fms admin process is not running, and the pid in fmsadmin.pid is stale.When trying to restart the service with:"./fmsmgr adminserver restart" it fails to start the service with the following message in /var/log/messages:[code]How is it possible for fmsmaster to be using the admin server ports, and how would I prevent this in the future.
View 6 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
Dec 8, 2011
UPDATE: Now I've moved the AMFConnection var declaration to outside the functions in Main, and commented out some trace() commands, and now it gives new errors:
Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.BadVersion
at AMFConnection/init()[/Users/Jan/Downloads/amfphp1/AMFConnection.as:32]
at AMFConnection()[/Users/Jan/Downloads/amfphp1/AMFConnection.as:23]
[code]...
I'm trying to connect to AMFPHP on a server (with Flash AS3), and the swf borks when it reaches the .connect() stage. To make things easier (?) and more reusable (?), I've put all the NetConnection mechanics into a separate class, AMFConnection, which I call from the Main document class like this (details changed):
public function testConnection(e:*=null):void {
var conn:AMFConnection = new AMFConnection();
conn.table = "some_table";
[code]...
AMFConnection actually starts the connection and calls the AMFPHP service with the function gogogo(), and here's where the connect() NetConnection function just won't work. Here's the main section of the AMFConncection class
private var _netConnection:NetConnection;
private var _responder:Responder;
function AMFConnection()
[code]...
It also fails to display the stage, instead showing the loading dots. Now, eventually I'm going to move this application to the same server as the AMFPHP service, but even when I try it there with a relative url, instead of an absolute one, it still breaks down at connect(). I've tried changing the publish settings from local only to network only, to no avail.
View 3 Replies
Jul 1, 2010
I am new to the Flash Media Server and have a question on its use of ports. Now if a server has IIS and FMS and one wished only to stream flash (VOD). Could I edit the fms.ini file and remove port 80 from adaptor.hostport?
In my thinking I would stream over port 1935 and would lose the ability to progressive download over port 80.Now I do not ever want to use progressive downloading so no issue so far. In addition I can now run my IIS server on port 80 for my administartor console into FMS. All my clients are internal and thus I do not need a stream on port 80.
Is my thinking sound or am I misssing something?
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 7, 2011
FMS and IIS are set up with separate IPs on the same server. Both are configured for port 80 because others, including 1935, are often inaccessible from certain environments. Problem is, the server's behind a router. Port 80 can only be forwarded to either the IP of FMS or that of IIS. Even if the two were on separate machines, I'd still have to deal with this.
View 1 Replies
Sep 10, 2009
If I am streaming at 256kbps how many connections can I get on a 100MBit port? I confess tnat I don't know the math
View 12 Replies
Oct 15, 2010
Im need to send some data between 2 Flash clients. I have an issue whereby there is a probability that there could be firewall issues with communicating over port 1935 or 443 know you can use RTMPT to tunnel video over port 80 but im not sure about sending data objects.
View 2 Replies
Dec 14, 2011
I need to upgrade FMS 4.5 for HDS/HLS streaming. I am using Server 2008 and I need to use IIS7 port 80 for legacy web sites. I would like to configure in fms.ini using ports 1935 and 81 and Apache requests to port 8134. Can I use this configuration? Do I need to open ports 81 and ports 8134 in the network? What is recommended in this case?
View 5 Replies
Dec 16, 2011
i have a iis need 80 port so how to change default port 80 in fms4.5
View 1 Replies
Oct 28, 2010
I just installed FSMS 4 and could not log into the administration piece (the login s would fail) even though I was using the ID and password specified in the fms.ini file.
During the installation I had specified a different port for the administration port. I changed the port back to 1111 and I could log in with no problem.
Why is the admin login failing if I don't use 1111 as the admin port number ?
View 4 Replies
Oct 29, 2010
Parden me if this question was asked earlier. While installing FMS i have entered the port numbers 1935,100 instead of normal 1935,80 as i already have wamp in my default port 80, but when i try to call the localhost url, both the port [URL]..
View 2 Replies
Nov 30, 2010
[URL]
I followed the above example in AS2,but only get the error:
Call to a possibly undefined method getNetConnection through a reference with static type fl.video:INCManager.Here's my code: this.addEventListener(Event.ENTER_FRAME,
[Code].....
View 5 Replies
Dec 13, 2010
I need a solution for this: when the port 1935 is closed, the NetConnection switch rtmpt (port 80). The NetConnection class built in function: proxyType="HTTP" not works or I use not rightly.In the FLVPlayback class works this function, but I don't know how..
View 7 Replies
Aug 22, 2011
Can anyone tell me why I would not be getting Netconnection.NetworkChange and Netconnection.Closed events would not be getting fired when I am working on Flash CS5?
I get the Success event, but when I am attempting to test my reconnection code I pull out my network cabled and I never get the closed event.
Interestingly, I do get the Closed and NetworkChange events when I am debugging, but not when I just run the movie.
View 7 Replies
Feb 26, 2011
I'm trying to decipher a pre-existing project and make some modifications as I go.
I have a section of code that starts with creating a new NetConnection and then streaming a media file from an external source. I see in the documentation that you can provide a destination port (via the URL), but is it possible to force Flash to use a specific source port? I couldn't find a clear way to do this in the documentation, but I was curious if anyone else has an alternate method or idea.
View 3 Replies
Apr 28, 2010
One server - is streaming server with Flash Media Interactive Server 3.5that host the application with asc files in FMS application directory.Second server - is the IIS web server that host thehtml,aspx,swf etc.. files.So basically i heve swf file on one server that have to connect to live streaming via rtmp on different server with different ip address.I did not find any clear explanation on this crossdomain rmtp issue.ys only HTTP can use crossdomain.xml policy filebut not rmtp.So what policy security procedure need to be done in order to enableswf file hosted on one server to connect and show rmtp live cam broadcasting from another server?
View 2 Replies
Nov 23, 2009
I have FMS 3.5.2 installed on a VMWare CentOS image running under OS X. I have the CentOS IP mapped to the host "fms.vm" on both the host (OS X) and CentOS machine and can access the FMS Admin just fine, either via a browser on OS X or a browser on CentOS. No problem there.
[Code]...
View 3 Replies
Jun 23, 2010
Would I be able to send a image using NetStream or NetConnection?
View 1 Replies
Apr 7, 2011
Both NetConnection object and NetStream object has a client property. Can I use the same client for both objects?
View 1 Replies
May 29, 2011
Let's say user A connected to the FMS server with an RTMFP NetConnection, and user B connected to the server with an RTMP connection. If I want to connect them together, would it be better if I also connect A to an RTMP NetConnection to the server?
View 4 Replies