Flash :: RST Packet Sent By The Server?

Nov 4, 2009

I am developing a client in Flash and using http req/resp to communicate with the server. For a while the session works fine and then the connection is terminated by the server. I did a wireshark sniff at the server and the last message which it sends is a RST packet. Also it happens only when I'm using IE and the server and client are in different domains. This does not happen in FireFox. I have been struggling to find a sol, till I found this thread. It's a bit old but I am not sure if this bit of info is important but I am connecting to the server via a gateway.

View 1 Replies


Similar Posts:


Media Server :: Detect Packet Loss Or Other Quality Metrics For Inbound Streams?

Aug 5, 2011

So we're trying to come up with a way to automatically assess the "quality" of streams published to an FMS. So far, I've come down to 3 different statistics:

* Round-trip ping time to client (using the Client.ping() method and Client.getStats().ping_rtt.

* A home-grown jitter calculation that compares the deviation between wallclock and media time for an inbound stream, e.g., I get N+/-M seconds of media over a period of N seconds of wallclock time. How big is M on average? (uses Stream.time and Date.getTime()).

* How much packet loss are we getting?

For this third metric, I have the client sending up period reports containing tuples of <media_time, cum_bytes_sent>, where media_time is provided by NetStream.time and cum_bytes_sent is provided by NetStreamInfo.byteCount. I'm then comparing these samples to a similar set of samples obtained on the server via Stream.time and Client.getStats().bytes_in. Unfortunately, these two data sources do not seem to be measuring exactly the same thing. While they are close to each other, the received bandwidth (e.g., measured by the server) always seems to exceed the sent bandwidth (measured by the client) by a small amount (e.g., 0.5% to 2%) on a clean network.
 
The goal of this whole exercise is to enable to server to automatically detect when a client is having problems (either network or local CPU). Among other things, this will trigger us to tell the client to try sending a lower-bitrate stream.

So, my questions:
 
* Is there a method for me to reliably calculate (or obtain) a packet loss factor?  With something like RTP, I could simply look for holes in sequence numbers, but I don't see any APIs that would give me that sort of information via FMS (our inbound streams are usually RTMFP).

* If there isn't a way for me to get a clean packet loss factor, is there another quality metric I should be looking at?

View 12 Replies

C++ :: Recombine Split TCP Packet With Flash Sockets?

May 20, 2011

I have a program in c++ that sends a socket of 23723 bytes to a flash player in one "shot".The flash player sometimes receives two packets of size 17520 and 6203, and other times it receives a single packet of 23723.

EDIT: There does not seem to be a way to obtain the total number of bytes associated with the send data from flash. This would make it very difficult to build a loop to reconstruct the "broken" packet.I thought TCP was supposed to correctly recombine the packets and I am having difficulty recombining them myself.This is my receiving handler in flash:

var socket:Socket = new Socket();
socket.addEventListener(Event.CONNECT, socketConnectHandler);
socket.addEventListener(ProgressEvent.SOCKET_DATA, socketDataReceivedHandler);[code]...

will at times print 23723, and at other times, will print 17520 quickly followed by 6203. The total size are just examples and are subject to change for each send sockets. Also many sockets can be sent or received at the same time, so the split packets can be inter-mixed. In c++ I could determine what the total size of the sent data was, even if I did not receive the whole sent data yet.

View 2 Replies

Flash :: Packet Loss Calculate In Flex

Feb 21, 2012

How I can calculate packet loss from Flex.

View 1 Replies

Flash :: Packet Loss Calculate In Flex?

Feb 21, 2012

How I can calculate packet loss from Flex.

View 1 Replies

Actionscript 3 :: Set The TTL Of A UDP Packet?

Jul 6, 2011

I want to make traceroute in the browser via flash. I asked about ICMP packets, but another alternative would be UDP packets if I could set the TTL. However, I don't see that option in flash.net.DatagramSocket.

View 1 Replies

Flash :: Packet Loss Test Like In Ping Test From Flash Technologies?

Feb 22, 2012

Does any one have a idea about how to do a packet loss test like in ping test from flash technologies (Flash or Flex)?

View 1 Replies

ActionScript 3.0 :: External SWF Loading Insanities When Packet Arrived

Jun 1, 2009

My script is loading an external SWF. Everything runs smoothly during the load. But when the packet arrives, I noticed that something else is inside: insanity.

How to reproduce:
- Create two flas
- In the first one, write the following in the first (and unique) frame: //
- In the second one, write the code to load the first:

Code:
trace("1")
var loader:Loader = new Loader()
loader.load(new URLRequest("Untitled-1.swf"))
stop()

Run the first to produce the swf, then the second. The output will be an endless stream of "1"s, clearly showing that it's looping. But the loader wasn't even added to stage yet and it has no action to play the main movie! And now, for the craziness coup de grace: remove the "//" from the first fla and export it again. Bingo, no more endless loops.

View 6 Replies

ActionScript 2.0 :: Stream Video - Where To Start Flash Media Server And Flash Comm Server

Jan 24, 2007

i'm wanting to stream video or even just load it into my flash sites and not lag them....anyway i have had a few people tell me to look at flash media server and flash comm server. i have but i am really confused with it all...WHERE DO I START?? WHAT TO KNOW?? HOW TO DO IT??? etc

View 2 Replies

Media Server :: Broadcast Multiple Video Chats Using Adobe Flash Player And "RED5 Flash Server"?

Jun 23, 2011

I had a question about RED5 & Adobe... Does anyone know if it is possible to broadcast multiple video  chats using Adobe flash player from "RED5 flash server"?

View 2 Replies

ActionScript 3.0 :: Writing And Modifying XML Files Using Server-Side / Flash Media Server?

Jul 8, 2009

can you write and modify XML files using server-side Actionscript? I've been going through Adobe's Server-side Actionscript reference, reading up on the File class that lets you modify files on the server, and the server-side XML class that lets you read and 'understand' XML data, but can you put them together and essentially edit XML files on the server?

View 2 Replies

Flash :: Media Server - Connect To Own Server To Watch Streaming Video From Another Computer?

May 19, 2010

How can i connect to my own server to watch my streaming video from another computer?

View 10 Replies

Media Server :: Server Settings In Httpd.conf For Flash Access With HDS?

Mar 14, 2012

If I set EncryptionScope to "server" in httpd.conf (<fms>/Apache2.2/conf/httpd.conf) how or where do I specify the certificates for flash access if I want to use "ProtectionScheme FlashAccessV2".

<Location /custom-hds-vod>
HttpStreamingJITPEnabled true
HttpStreamingContentPath "../webroot/custom/vod"

[code].....

View 1 Replies

Actionscript 3 :: OAuth Twitter Without Use Of A Proxy Server Or Server-side Script In A Flash Web Application?

Apr 19, 2011

I can't use a proxy server. Can't use google app engine etc. I can't use server side code. No php or python. I need to be able to do logins to twitter and post status updates to twitter through an Actionscript 3 web application. The biggest thing is obviously getting around twitter's crossdomain. Is there a clean ajax version of this or something?

View 1 Replies

Flash :: Connecting To A Secure Server From Media Server Via Xml.sendAndLoad?

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

Media Server :: Upload My Pre Recorded Flash Clips To The Server?

Mar 11, 2010

I now have a Windows PC and I purchase Adobe Flash Media Server 3.5 software and install.I but server space on a managed server arrangement.I upload my pre recorded Flash clips to the server and my website and playlist to my host. Basically the website is channelled via http and the clips via RTMP. The key question that no one inside Adobe seems to be able to grasp (or answer) is ~ will it work if I stream my own clips?! or is it inferior to say that of a professional streaming company.The streaming companies charge anything from $125 to $250 a month, a big cost for someone like me, streaming around 1000mb a month. So does anyone out there have direct knowledge of this software and can you stream via rented server space without using a streaming company?

View 1 Replies

Media Server :: Flash Communication Server For Linux Download?

Jun 8, 2010

I can't find free version FCS distrib for Linux

View 3 Replies

Java :: Smarfox Server For Flash Or Build Mini Server?

Jul 29, 2010

is it possible for me to build a server in java so that i can let my different flash clients communicate with each other?

View 3 Replies

Actionscript 3 :: Server Library API To Send Request To Server From Flash

Jul 22, 2011

I want to write application for facebook and vkontakte, which will consist of such main blocks as: SocialNetworkAPI (which include all work dedicated to social networks: posting to wall, get all user's info) and ServerAPI (which will send HTTP POST requests to my Java based server and receive data from there in JSON).

I am looking now to Adobe flash URLLoader

is there any good ServerAPI libraries, which I can use or rework to prevent rewriting standart code lines.

View 2 Replies

Media Server :: Setting Up Flash - If I Setup Another Channel Pointing To The Other Edge Server Ip Adresss It Doesnt Work?

Sep 24, 2011

i have a orgin server and 2 edge servers and a load balancer

first off im confused in each edge server i set them to be remote, rtmp and changed the routeentry to  <RouteEntry>*:*;96.44.***.***:1935</RouteEntry> on both servers
 
orgin server is just local
 
what my question is im streaming to orgin and its getting sent to 1 edge and other edge is doing nothing no traffic the stream i set it this way url:

'rtmp://173.254.***.***/live/live_test',

which is the 1 edge thats working if i setup another channel pointing to the other edge server ip adresss it doesnt work.. what am i doing wrong isnt all this supposed to be load balanced or am i missing steps...or did i do it wrong on the flash player config.

View 10 Replies

Media Server :: Flash Media Streaming Server And Interactive Server?

Jul 17, 2010

I'm building a video conferencing applicaition for a portal. But now when considering which version of flash media server to buy, I run into some problem. So can anyone helps me about comparing this two versions: Flash Media Streaming Server and Flash Media Interactive server, like if I use Flash Media Streaming Server, some function like NetStream.pause() may not work or something like that? I'm not sure if this is a foolish question but please let me know.

View 3 Replies

Media Server :: Any Flash Server For Instant Messages Only?

Jun 2, 2009

I am looking for a instant messages server only, no media....is there any server..

View 1 Replies

Media Server :: Old Flash Comm Server 1.5 On Windows7?

Feb 4, 2010

Is it likely Flash Communication Server 1.5 could successfully install and operate on Windows 7? (No, I can't upgrade)

View 1 Replies

Media Server :: Flash Interactive Server Hosting

Apr 27, 2010

I looking for a hosting of FMS for a video conferencing application. Each flex application will be able to connect a camera and microphone and broadcast it to Flash Media Interactive Server. Listner will play the published live stream. First I thougt I will be able to do so over Amazon Web Services Content Delivery Network Cloud Front, but it looks that this is for playing stored files only. May you please give me some names of hosting providers that have presence in US, Europe and if possible other places?

View 3 Replies

Flash :: Media Server VS Sip Server: Difference For Voip?

Mar 21, 2010

When using Flash Media Server and when using Sip Server ?

What is the difference ?

What would you recommend ?

View 1 Replies

Media Server :: Setup Stream Encoder>>Flash Media Server>>Flash Player Client?

Jan 2, 2011

I am trying to create a flash player to stream an on online Internet radio station using FMS. I chose FMS after being told that I need RTMP server to extract the metadata. Our radio audio is being encoded using a DJ interface called SAM Broadcaster. But for some reason, it does not have an option to send over the stream directly to a Flash Media Server. Only options are either IceCAST or ShoutCAST. How should i setup the stream? Should it be Stream encoder>> IceCAST/SHOUTCast Server>>Flash Media Server>>Flash Player Client. Or should I setup Stream Encoder>>Flash Media Server>>Flash Player Client? Shouldn't Flash Media Server be an alternative to IceCast or Shoutcast?  If that is the case, how do I send over the stream from SAM Broadcaster directly to Flash Media Server without restreaming through another streaming server?

View 2 Replies

Media Server :: Streaming Server Returned A 500 Internal Server Error

Nov 13, 2009

The company I work for installed FMS on a server running Centos for a customer who needed streaming media capabilities. It worked fine for 3 months until today the customer called us and informed us that their client program can no longer connect to the streaming media server. No one has done anything to the server to cause this to happen. When attempting to access the admin console to diagnose the program, the streaming server returned a 500 Internal Server Error. So I tried another page. Same result. Reboots of both the hardware server and the FMS have changed nothing.

View 5 Replies

Media Server :: Swf Hosted On One Server Connect To Live Stream From Another Server?

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

Media Server :: Can Adobe Flash Media Streaming Server 3.5 Run On AMD Athlon Dual Sock Quad Core?

Nov 10, 2009

Can Adobe Flash Media Streaming Server 3.5 run on AMD Athlon Dual Sock Quad Core?I just requested a Dell server to be added to our farm to run as a Media Server and to my surprise, while reading the requirements for FMS it states the following: 3.2GHz Intel® Pentium® 4 processor (dual Intel Xeon® or faster recommended)

View 2 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







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