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


Similar Posts:


Media Server :: Multiple Content Locations For A Single Application?

May 8, 2009

Is it possible to allocate multiple media locations to a single VOD application?  I'm about to exceed the 2TB volume limitation of my SAN, yet the quantity of content that needs to be available for a given clients FMS application exceeds that.

View 1 Replies

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 :: Multiple FMS Connected SWF On Single HTML Page

Oct 14, 2009

I have 3 seperate .swf on a single html page which are all communicating with FMS on separate connections. Do you think there will be any stability issues? or connection issues. All the .swf use the same main.asc. There are no apparant problems so far just need an expert opnion.....a side note is I've also noticed an error in the error logs that says its detected a backwards time stamp when recodring. Whats that all about? The application seems fine. Using FMS 3.0

View 2 Replies

Media Server :: Single RTMP Link For Multiple Servers?

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

Media Server :: Setup Multiple Videos Within A Single Swf Using RTMP/FMIS?

Oct 21, 2010

I have a case where I'm displaying 3 videos simultaneously using FMIS 3.5. When one is selected it will play the other two will switch and show a videoloop.
 
What is the proper way to accomlishing this. I actually have 6 videos (3 loops and 3 videos). Do I need a netconnection/netstream/video object for all of them or can they share something. What is the best practice?

View 2 Replies

Media Server :: Merge Multiple Live Audio Streams Into A Single Stream In FMS?

Nov 17, 2009

I need to merge multiple live audio streams into a single stream so that i can pass this stream as input to VOIP through a softphone.For this i tried the following approach:Created a new stream (str1) on FMS onAppStart and recorded the live streams (sent throgh microphone) in that new stream.

Below is the code :
application.onAppStart = function()
{

[code].....

View 1 Replies

Media Server :: FMS4.5 Live Stream With Multiple Video Files As Single Source?

Jan 27, 2012

I am using Flash Media server 4.5 and i read the tutorial if i want to stream the live feed, i may need to use the media live encoder.
but what i found in media encoder is i have to manually setup everything and it only support camera devices. But in my case i have multiple video files keep received from another program and place it on file system (server),my goal is use the Flash Media server to perform a live boardcasting with these video file one by one. That means when client watching a live streaming, they will not notice the server is playing mov1, then mov2, then mov3, then mov4... and so on.
 
You can imagine i am trying to boardcast a live footage say for 60sec, but the video file will not recorded entirely after 60sec, instead for every 10sec i will save a new video file, so that when client watching the live by HLS [URL]when the time reach to 10sec, a mov1 video file available and FMS should boardcast this video on live123.when the time reach to 20sec, a mov2 video file available and FMS should Immediately follow the mov1 boardcast on live123.and so on...Also can FMS dynamically create a new streaming session (invoke by code), so that when client A uploading some video files to the server, the FMS open a new streaming session only stream cilent A video files?the configuration to boardcasting like screen size, bit rate, etc should be pre-defined on the server.  [URL]

View 5 Replies

Media Server :: Make A Application For Multiple Videoconferencing?

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

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

Flex :: Multiple Netconnection At One Mxml Application?

Jun 13, 2011

Since I have to get data from other red5 application. is it possible using multiple netconnection in one mxml application?

View 1 Replies

Media Server :: Make Text Chat Application Using Shared Object?

Jan 21, 2010

I'm trying to make text chat application using shared object. I'm using api Shared.getRemote("so",m_nc,true); to make the data persistent. It makes the file with extension fso. I want to save the chat history in notepad for further reference, and also load that data as per requirement.

View 1 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.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

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 :: Main.asc TypeError Trying To Set A Shared Object Property In Application.onConnect?

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

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 :: 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

Flash :: IDE - Media Server - Get Multiple Users To Control One Shared Object

Nov 19, 2009

i am trying to develop a multiplayer game using the flash media server. Currently i can get multiple users to control one shared object but i need to have 2 users controlling seperate shared objects on the same stage.

[Code]...

View 1 Replies







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