Media Server :: NetConnection.proxyType Not Works?

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


Similar Posts:


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

Media Server :: RTMFP Connection - Change The NetConnection Url To The Remote FMS Server

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

Media Server :: Get The NetConnection Out Of A Flvplayback Component?

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

Media Server :: NetConnection.Connect.Failed?

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

Media Server :: Netconnection Events Not Firing?

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

Media Server :: Cannot Establish NetConnection - Raw TCP/IP Connectivity Has Been Established

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

Media Server :: Send An Image Using NetStream Or NetConnection?

Jun 23, 2010

Would I be able to send a image using NetStream or NetConnection?

View 1 Replies

Media Server :: NetConnection.Connect.IdleTimeOut Every 10 Minutes?

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

Media Server :: 'NetConnection.Connect.Failed' When Using Public IP

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

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

Media Server :: NetStream/NetConnection Client Property

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

Media Server :: RTMP Streams Over RTMFP NetConnection

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

Media Server :: NetConnection.close() Not Closing The Connection?

Jul 7, 2011

I'm creating a very, very basic AIR application which mainly just needs to check if a given FMS is up and running. To do that, I'm simply connecting to the FMS and after a successful connection, disconnecting to free up the connection slots. All is repeated at some interval. This is like a monitoring tool.
 
However, looking into the admin panel (Influxis) I can see that the number of active connections is ever growing, even though I'm calling close() on the NetConnection instance every time.
 
Also, adding a timer to trace the netConnection.connected value outputs always "true", after the close() function has been called.
 
I'm not creating any NetStreams, nothing.

View 6 Replies

Media Server :: Multiple Or Single NetConnection Object Per Application?

Sep 22, 2009

If I'm streaming live video and chatting in an FMS app, should each component have its own instance of NetConnection or should they share one? Was thinking perhaps the quality of the live video stream would be hurt in a sharing situation but am not sure the architecture works like that.
 
From a development standpoint, I'd like to make one NetConnection instance in my main application file and connect with it.  Then, when successfully connected, I'd like to pass that connection into any custom components that need it. 

View 14 Replies

Media Server :: NetConnection Using POST Requests To Retrieve Data?

Aug 20, 2010

I've noticed that when I use NetConnection.call(methodName) in my client Actionscript it sends a POST request off to the server. I thought this was odd because requests for data are normally GET operations but I didn't worry about it because it doesn't impact my applicationow I have our sysadmin complaining about the amount of data I'm shifting over POST requests because POST requests aren't cached by the web servers (and we are working with the kind of traffic levels where that matters.) Is there anyway I can make call() use GET?The code  I'm using is all fairly standard, but here is the relevant snippit:

var nc:NetConnection = new NetConnection();
nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);

[code]......

View 1 Replies

Media Server :: Get More Info For NetConnection.Connect.Failed Error?

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

Media Server :: Fms3.5 NetConnection.Connect.Rejected - See Video Through Rtmp?

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

Media Server :: When One Client Closes Its Netconnection All The Other Clients Of The FMS Are Also Disconnected Automatically

Jan 1, 2011

I have a big issue with FMS 3.0 and specially with netconnections. Sometimes, when one client closes its netconnection, all the other clients of the FMS are also disconnected automatically. I am trying to find an explanation but nothing... It seems to be a bug as, most of the time everything works very well, but sometimes (not often) this strange behaviour happens. I don't know what to do and it's really annoying as it affects the reliability of my application.

View 10 Replies

Media Server :: When FMS Shutdown The Network, The Client's NetConnection Didn't Dispatch Any Event?

Aug 7, 2009

A client connected to the FMS for playing live video.The problem has been found that when FMS shutdown the network, the client's NetConnection didn't dispatch any event.But when the client shutdown the network the client's NetConnection will dispatch NetConnection. Connect.Closed event.How could flash client know the FMS' server side networking problem? Does it necessary to use heartbeat mechanism between FMS and client?

View 1 Replies

Media Server :: Error #1069: Property OnBWDone Not Found On Flash.net.NetConnection

Jun 7, 2011

function Function() {}Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095: flash.net.NetConnection was unable to invoke callback onBWDone. error=ReferenceError: Error #1069: Property onBWDone not found on flash.net.NetConnection and there is no default value.    at MinCam()

[Code]...

View 17 Replies

Media Server :: Admin API Fail :: NetConnection.Admin.CommandFailed

Nov 1, 2009

I want recieve infomation for recorded stream in FMS Server. so, i tried use Admin api(getRecordedStreams or getNetStreams). but, returned below code : NetConnection.Admin.CommandFailed . 

Below  my code :
 
import flash.net.NetConnection;
import flash.net.NetStream;
import flash.events.*;

[code]....

View 2 Replies

Media Server :: Know If FMS Works For IPTV?

Oct 6, 2010

I want to know if FMS works for IPTV?

View 18 Replies

Media Server :: How Bandwidth Detection Works In FMS

May 23, 2010

I would like to know how bandwidth detection works in FMS? Does it downloading something or what? Does FMS is using rtmp or http protocol to check it?

View 7 Replies

Media Server :: Limit IP Addresses That FMS Uses So That IIS Works?

Apr 11, 2012

I have managed to install the trial version of FMS - developer 4.5 using the defaults including Apache, and it works reasonably well. However it has used-up all the available IP addresses so that IIS does not now work. I need IIS and FMS to reside together on the same server, as IIS provides document download and upload for our web-site on a different server. I have tried changing the FMS.ini file to limit the IP and Ports used, but to little use. My server is Win2k8 R2, and IIS V7.5 + V7.0 for FTP; all 64bit.

View 6 Replies

Media Server :: FMS 4/AS3: Publishing Works, Recording Doesn't?

Mar 24, 2011

I'm currently having an issue with FMS4 developer edition on both Linux (x64) and Windows XP (x86).When I stream a webcam using ns.publish("foobar", "live") I can watch the live stream on another client, however when i use ns.publish("foobar", "record"); neither broadcasting nor recording works.Using the "live" parameter the client appears in the log files and in the administration console as "publishing", using "record" the client appears as "idle".Is there anything I need to configure besides LIVE_DIR in fms.ini?

Is this a restriction in the developer edition? Here is the relevant part of the code (condensed):

--------------------------------------------------------------------
var camLive:Camera = Camera.getCamera();
var nc:NetConnection = new NetConnection();[code]............

View 1 Replies

Media Server :: Stream Works Fine On Local Subnet But Not Over Web?

Dec 30, 2009

I followed Tom Green's tutorials and at this point I can publish a live stream which I can view and interact with just fine on my local LAN.The FMS is NAT'ed to the outside world and I have ports 80 & 1935 open to the server.When I use a browser from the outside world and put in the servers public address I can see & interact with the FMS start page just fine. I can use the "interactive" tab and supply my live stream name and view the stream just fineHowever when I try to launch the Flashplayer that I built all I see is the controls with moving stipes, No video feed above. I can browse to the flashplayer HTML file on my local LAN and it works fine. Interestingly enough I cannot open the flashplayer HTML file directly on the server either (but I can open the start page application and interact with it).

View 1 Replies

Media Server :: Using Http Commands Only Works On Apps In DefaultVhost?

Apr 13, 2011

:1111/admin/getApps?auser=admin&apswd=mypasswordLists all the apps in defaultVhost but I need to list all apps under a certain vhost how can I do that?Also when trying to load and onload apps for that virual host doesn't work with the main admin user and pass.So when I try to use the user name and password for that vhost I get

<level>error</level><code>NetConnection.Connect.Rejected</code><descri ption>Admin user requires valid username and password.</description><timestamp>Wed 13 Apr 2011 05:09:26 PM EDT</timestamp></result>

[code].....

View 3 Replies

Actionscript :: Flash Media Server / Publishing Works Recording Doesn't

Mar 24, 2011

I'm currently having an issue with FMS4 developer edition on both Linux (x64) and Windows XP (x86). When I stream a webcam using ns. publish ("foobar", "live") I can watch the live stream on another client, however when i use ns.publish("foobar", "record"); neither broadcasting nor recording works. Using the "live" parameter the client appears in the log files and in the administration console as "publishing", using "record" the client appears as "idle". [code]

-Is there anything I need to configure besides LIVE_DIR in fms.ini?
-Is this a restriction in the developer edition?
-Is there something else I'm missing?

View 1 Replies

Media Server :: 'Connection Error' Sample RTMP Video Used To Work, Now No Longer Works?

Sep 12, 2010

I had FMS 3.5 developer package installed on my server installed about a month ago. I used to be able to go to the /webroot/ page to see the sample RTMP video play and it worked great. Today, I go to view that page and find that it no longer plays. I get "Connection Error. Please preee Play to try again."

Pressing the play button does nothing, so I click the RTMP thumbnail and it reloads ony to give me that same error again. I can click the HTTP thumbnail and see the video play just fine. But, I want RTMP and after over an hour on the phone with my managed hosting tech, we can't find anything wrong.

Here's the thing: I haven't done anything, I have not changed anything, I have not manipulated the server software whatsoever. It just stopped working and gives me "Connection Error."

[Code]...

View 6 Replies







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