ActionScript 3.0 :: Talk Between Client And Server

Feb 5, 2009

I'm trying to be able to see all the connected users to my swf. I know how to trace it out server side but how do I send it back to my swf so I can see it? I get a success responder but my value is null.[code]

View 0 Replies


Similar Posts:


Java :: Flex - Flash Client To Talk To A Server Through A Full-duplex Connection?

Sep 16, 2010

My client is in Flash/Flex (game with chat) and it will be talking to a Java server. What is the best way (protocol / interface) for my Flash client to talk to my server? I heard about Flash Remoting MX, but it is a request / response mechanism. I could always request something and wait for asynchronous notifications from server. Then request again, implementing something like a Comet server.Anyways, what is the industry standard for this type of communication: Flash Client talking to Java server, supporting asynchronous "push" notifications from server.

View 4 Replies

Actionscript 3 :: Client + Grails Server - Processing Audio At The Client And Sending It Back To The Server

Mar 8, 2012

We're writing a flash application that can download a MP3 file, convert it to a Sound object, get the raw data and make some processing (like adding sounds, change octaves). After the processing, we want to send the data back to the server in chunks, so the server will be able to glue the data together and recover the new generated file. The problem is: if we send to the server "wav" pieces of sound, we are able to glue them together without any problem in the generated file. However, if we convert each wav piece to a mp3 file (so we can send a smaller file to the server) and join the mp3 files at the server, the result is a sound with some problems at the merge point.

This is how we load the mp3 file from the server:

sourceSnd.load(new URLRequest("sample url to mp3"));
sourceSnd.addEventListener(Event.COMPLETE, carregou);

This is how we convert each piece of mp3 to bytearray and wav:

[Code]....

View 1 Replies

Media Server :: Find Client Disconnected When Client Lost Net Connection?

Oct 27, 2010

how can I find on fms server that client disconnected if if client disconnected due to power cut off. I client manually close the application then onDisconnect on server is called but if due to power cut off it does not called.

View 1 Replies

ActionScript 3.0 :: NetStream Choppy - Make A Character Start To Talk When The Sound Starts And Stop Talk When The Sound Stops

Aug 5, 2010

Need to make a character start to talk when the sound starts and stop talk when the sound stops so I'm using this:

[Code]...

View 2 Replies

Media Server :: Client Returns Server Not Found:rtmp://192.168.10.1:/live When Accessed From Another Pc?

Jun 29, 2010

i have a small LAN of about 8 computers all of which are running windows 7. I have installed FMS and XAMPP webserver on one of the machines. I want to stream live from one PC to all the other PCs on the LAN. I have a webpage with jwplayer embedded in it on my XAMPP webserver that is able to see the live stream when i start it locally. I mean the live stream works fine on the machine with the servers on it. But when i want to view the live stream from another machine in the LAN by accessing the webpage that has the jwpalyer from another machine, The jwplayer returns "server not found:rtmp://192.168.10.1/live" error. I was thinking that maybe a firewall is blocking the 1935 port but i have turned off the firewall of every PC on the LAN. I have unistalled any antivirus program on all the PCs. But i still get the same error when i try to access the live stream from another PC on the LAN.When i run netstat -a -n|find ":1935" i get 192.168.10.2:49184 192.168.10.1:1935 SYN_SENT and i think the request for the stream is sent but the conection is rejected.

This is the code for the webpage with jwplayer embedded in it. maybe it:
<html>head> <title>JW FLV Media Player</title>    <script type="text/JavaScript" src="swfobject.js"></script>

[code].....

View 3 Replies

Media Server :: Use RTMP Over HTTP - Outside Client Gets The Internal IP Address Of The FMS Server?

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

Media Server :: Sending Information From Server-side Script To Client?

Apr 18, 2010

I have created a script for an Adobe FMS application to broadcast a playlist of video files as a live stream. (internet tv)
 
I am now working on a custom Flash-based video player to play my stream.

How do I send information from my server-side FMS application (main.asc) to the client-side video player? (e.g: title, duration of current video player)

View 2 Replies

Media Server :: Dynamic Stream Switching From Server (not Client) Side

Sep 6, 2010

I understand how clients use bandwidth detection etc to dynamically switch streams via client calls with ns.play2( ... ), but I was wondering if it's possible to only ever use 1 initial ns.play( ... ) call on the client side, but let FMS server side logic that I write dictate which client sees what content. For example, I have 3 clients connected to my FMS server, all watching a live stream. I then decide I want clientA to see 'recordedMovieA.flv', clientB to continue seeing the live stream, and clientC to watch 'recordedMovieB.flv'.

[Code]...

View 5 Replies

Media Server :: Check The Bandwidth Of A Client ( Server Sided ) And Redirecting Him To The Right Video Stream?

Apr 7, 2010

i am currently playing around with a flash media server trial in combination with the flowplayer.All in all i am testing the performance and general functionality for the company i work for.Anyways, i am trying to search a way to check the bandwidth of a client ( server sided ) and redirecting him to the right video stream.Sure this could be done by the backend flash application, but its out intention to perform this check server sided. 

View 4 Replies

As3 :: Media Server :: Limit Server Recorded Netstream Length To 10 Seconds At Client Side

Sep 19, 2010

I want to limit server recorded netstream length to 10 secs at client side using as3. How can I do that?

View 2 Replies

Media Server :: Call Methods Form Server To Client?

Apr 28, 2010

I m working in flex3.0 and i just want to know that how can i call a function from fms server to my AS3.0 (Client Side) code.i tried the syntax client.call(methodname,null,null); but my flex code throw exception unable to call the method.here can i use clientobject.call (methodname,null,null) and is there some special way to declare that method at client side.

View 3 Replies

Media Server :: Setup Of Client And Server For Live Webcam?

Oct 9, 2011

No I have installed fms4.5, but I can't find good docs how to set something like this up. In Learning section I saw a lesson, but this one isn't ready.So I want to publish using flash and the subscribers to the livestream can be iPhones or Browsers.

View 13 Replies

ActionScript 3.0 :: Client With VB.net Server?

Apr 28, 2011

where I can find a tutorial or source files of an AS3 chat client with VB.net server.I know there are AS3 Client and Java servers, but to put it bluntly, I have no experience with Java and am more familiar with VB. If no such thing exists then I would have to learn Java which would be nice but could take a while.

View 1 Replies

Media Server :: When Call A Client Side Mothed From Server Side?

Nov 10, 2010

Below is the code. When the swf is connected to FMS(the connection is successful) I use this application.user_so.send("enterContestGroup"); to call the client side mothed. You can see that in the client side I have defined the "enterContestGroup" mothed. However the fact is it doesn't call that mothed. Can anybody tell me what the error is
 
application.onAppStart = function(){  application.user_so = SharedObject.get("user_so", false);  application.nextId = 0;}application.onConnect = function(newClient)  application.acceptConnection(newClient); 

[code]....

View 8 Replies

Media Server :: How To Load A .swf Into All Client

Nov 30, 2009

I have to load a .swf file in all connected clients by pushing a button from another client

View 23 Replies

Media Server :: Call A Particular Client Through FMS?

May 5, 2010

How to call a particular client from fms.Actually i m making a private chat application in which text messg send from one client to another specific client through FMS.So i m confused how gms recognize a particular clients.I am avoiding application .client[] array that contains all the connected users references.becoz it changes at the time of connection and disconnection of client from fms.

View 2 Replies

Media Server :: How To Know Client Is Disconnected

Oct 27, 2010

There is a big problem in which i stuck .how to know that client has been disconnected if client pulls of cable or manuallu disconnect netconnection.

View 1 Replies

Media Server :: 2.0.5 Client Disconnection

Mar 24, 2009

1. The basic problem I would like to solve is detecting when a connection to the Flash Media Server fails.Our client-side application establishes a persistent NetConnection and publishes a number of video/audio streams to the FMS.After publishing some videos, some clients find that recording no longer works. I need to add code to let them know that there's a connection problem. I've studied the NetConnection class and can't find an built-in method that can help alert the user if the connection is broken.

2. Also, I'm having trouble tracking these events in the FMS logs. Are there any key statements I should look for that would tell me if the FMS has experienced a sudden loss of connectivity with a client?I was thinking of using the onAppShutdown (?) event to detect when an application closes normally, so I can then get an idea of when it's closed down in other circumstances.

View 1 Replies

ActionScript 2.0 :: Font - Come Off Server Not Client?

Sep 29, 2004

I have a program in which the user can type in whatever they want, hit Submit, and then they can change the font of it.

However, there are many unique fonts that many user's don't have, and I'm using a
.setStyle("fontFamily", theSelectedItemLabel);

To choose them. Is there a way I can pull the fonts off the actual SERVER the .swf is hosted on, instead of it coming from each individuals computer?

View 3 Replies

ActionScript 3.0 :: Server-Client Fast Networking?

Jan 15, 2010

I'm wondering if it's possible to have a server-client networking, based on a UDP or other fast protocol, suitable for fast paced multiplayer game?Server side code doesn't have to be written in actionscript, but it would be good that I don't go out of flash borders. The most important is that client must not install any plugins or other stuff, except flash player itself and client code must work in a browser, so no desktop apps like adobe AIR.

View 1 Replies

ActionScript 3.0 :: Connect To C# Server From Flash Client Using SSL/TLS?

Sep 15, 2010

We are currently in the process of trying to connect a c# server from a flash app. This hasnt been a problem so far - we have simply used the Socket class.We now have a requirement to encrypt the stream using SSL/TLS. This is no problem in c#, but much more problematic on the flash side. So far we have found two options: As3crypto lib, and AIR 2.0 SecureSocket. However, neither option has proved to be successful.

As3Crypto - TLSSocket

Using this method when we execute the code, the server throws an exception - this appears to be due to As3Crpyto's PARTIAL support of TLS.

AIR 2.0 - SecureSocket

We are currently using the latest Flex 4 SDK. We have imported AirGlobal.swc to alllow us to create a SecureSocket in a similar manner to the TLSSocket. The code builds but does not run - some File Not found error or something - probably because SecureSocket is not found in the runtime. I assume this is because AIR is intended for desktop applications rather than apps embedded in a browser.

So, now we're stuck. We have the option of encrypting the data instead using some PGP algorithm available in the As3Crypto lib. However, we would much prefer to encrypt the stream using something like TLSSocket or SecureSocket.

View 1 Replies

Media Server :: FMS - How To Authenticate Client Using LDAP

Mar 6, 2009

How can do I authenticate the client using an LDAP server?

View 6 Replies

Media Server :: Playback Logs From FMS From A Client?

Jun 11, 2009

I found some stuff in an old FMS book (great book on FMS but very old) on how to subscribing to the Log streams. The does a netConnect & NetStream and used a nc,onLog to get play back but onLog does not seem to be supported anymore. how I can playback logs from FMS 3.x into CS3 client?

View 1 Replies

Media Server :: Calling Client Methods From (FMS 3.5)?

Jul 10, 2009

- Flash Media Server 3.5 (using ActionScript 3 for server-side code)

- Flex application (built in Flex Builder 3, using ActionScript 3)
 
Now, I'm trying to get the server-side ASC code to call something from a connected client.  It doesn't seem to work (thought everything else works beautifully).  I've tried stuff like the following in the server side:
 
- In the application.onConnect function, I've tried this:
 
...
currentClient.requestChat = function (reqID, destID){  trace("Requesting chat...");  currentClient.call("requestWaiting", new reqHandler(), reqID, destID);};
...
 
(Where reqHandler is just some handler that I know gets called).
 
- I've also tried the following code outside the onConnect function:
 
Client.prototype.requestChat = function (reqID, destID){  trace("Requesting chat...");  this.call("requestWaiting", new reqHandler(), reqID, destID);}

Both seem to fire appropriately (when triggered from another client).  However, the "requestWaiting" method call to the clients doesn't seem to work at all.  I've tried some AS 2 examples on the client side, like:
 
nc = new NetConnection();  nc.client = new Object();
// function for handling queueing of requests for this station  nc.client.requestWaiting = function (reqID:String, destID:String):void {        trace("HELLO");    // check to make sure this is the right location, and if so, queue it    if (destID == "WhateverTheIDIs") {    chatQueue.push(reqID);    btnChatWaiting.visible = true;    } // if        }
 
...but that doesn't seem to fire at all.  I know the Flex has "sealed" the NetConnection class itself, so I can't just "extend" it as I do the "client" property.I've als tried some more AS 3-oriented stuff, like trying to make the "client" property reference a separate class that handles callbacks, but that doesn't work easily for me as I need access to properties in the class that contains the NetConnection.

View 2 Replies

Media Server :: Record Client Pc's Sound?

Sep 11, 2009

i know the way to capture the mic's sound,My idea is to make an application to record songs palyed by other app,like Windows Media Player,Yes, Just capture from the soundcard,

View 3 Replies

Media Server :: Lower Latency Via The Client?

Sep 29, 2009

Is a latency of 94 - 109 high or low....if its high how do I lower it via the client I don't have control over the server at this point in time.

View 2 Replies

Media Server :: How Does A Client Receive Streams

Jan 15, 2010

Do i need a wireless connection from the server. I am thinking of installing an access point to test the server.. The only challenge is i dont know how to get the client to receive streams.

View 7 Replies

ActionScript 3.0 :: Classes For Client-server Connections?

Jun 20, 2011

I am willing to make an online game client-server. That is, many clients are connected on the same server, and thus interact. The application used by clients is a swf (done in flash) and runs in a browser. My questions are: 1 - I can create the server in AIR? If yes, which of the classes are recommended to do this efficiently? 2 - What classes are recommended for clients (swfs) to communicate with the server efficiently? 3 - The transfer of data between the client and the server can only be accomplished through the TCP protocol?

View 2 Replies

Media Server :: 4.5.1 - How To Implement Client Authentication

Mar 20, 2012

Is there any way to perform client authentication in FMS 4.5.1 (username/password/session id) for live/livepgkr application? As without it anyone will be able to discover RTMP/HLS URL and access to live streams without any limitation.

View 6 Replies







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