Flash :: Measure Ping Latency In Red5 Mediaserver?
May 24, 2010
Only thing I found is QoS statistic in NetConnection.info, but it does not contain any kind of latency values.
In red5 API "IConnection.getLastPingTime()" exists, is it accessible over standard Flex API or I need to poll it by RMI calls?
View 1 Replies
Similar Posts:
May 6, 2011
I have created a network trouble shooting tool in flash. The design will have all the componenets on the screen. I have to ping to every component once in minute. I have finished the design part. how do i ping a webaddress or IP in flash.
View 2 Replies
Dec 12, 2005
Im busy makin an External aplication build in flash for a game community. Its gonna read a rss feed showing number of players online and such.
My question is, is it possible to let flash ping an ip/website. For example by downloading that rssfeed, and calculating how low it takes? And show that latency in the aplication
View 1 Replies
Jun 17, 2010
I have page in my asp.net mvc website with a flash app on it, and the user can stay on that page for hours, but his auth cookie/session is going to expire, so I'm thinking to create a PingController and to call it using jquery $.post each 20 minutes.
View 2 Replies
Apr 7, 2012
When synthesising sound using the SAMPLE_DATA event of the Sound class, the Flash documentation recommends writing out as many samples as possoible up to 8192. On my system the sound cuts out unless I write at least 4192 samples each event. That's a full tenth of a second, which is going to be user-noticeable.
I may have the option of buffering things up ahead of time, but this is a major annoyance for my application.Is there any way of getting lower latency audio output?
View 1 Replies
Jan 25, 2012
As I understand, getTimer() is very inaccurate - on my own machine it always returns a value which is a product of ~16. (16, 33, 50, etc.) Is there a simple and efficient way to more accurately measure the time difference (delta) between two separate calls in my program?
View 1 Replies
Mar 6, 2012
Suppose there is a live WAV stream that can be reached at a certain URL, and we need to stream it with as little latency as possible. Using HTML5 <audio> for this task is a no-go, because browsers attempt to pre-buffer several seconds of the stream, and the latency goes up accordingly. That's the reason behind using Flash for this task. However, due to my inexperience with this technology, I only managed to get occasional clicks and white noise. What's wrong in the code below?
var soundBuffer: ByteArray = new ByteArray();
var soundStream: URLStream = new URLStream();
soundStream.addEventListener(ProgressEvent.PROGRESS, readSound);[code]....
View 1 Replies
Oct 4, 2010
If I want to measure the amount of time that has passed in as3 between method calls. Is the highest resolution from:
var now:Number = new Date().getTime();
View 1 Replies
Sep 22, 2010
We have one functionality in which one user can communicate with the other user at the same time through flash media server3.5. In this fucnitonality we are catching stream from both end through camera and pass it to flash media server. On FMS side this streams gets stored also we are displaying those recorded flv files side by side to the corresponding user so that they can communicate with each other. In this situation we are facing a video and audio latency upto 1.5 to 2 sec.
View 2 Replies
Nov 2, 2009
I have a textarea where I measure the textWidth and textHeight to make sure the user cannot enter more text than can fit in the text area. I also extended the textArea with a textHeightNow and textWidthNow that measure the textField's dimensions since they update w/out requiring validation. Now this works great for 90% of the embedded fonts I'm using but any fonts that have giant serifs are not measured properly, for instance look at the 'f's in this text area:You can see they get cut off on both sides because textWidth and textWidthNow both return an incorrect size not taking into account the massive serifs.
View 1 Replies
May 22, 2010
I have a simple silverlight page for for finding available domain names. This problem is equaly valid for a flash control as well.
I use Google Analytics for monitoring the traffic. I would like to find out how long it take for users to download and render the Silverlight control.
Once the java script on a page is loaded there should be a way to start a timer and then stop the timer once the Silverlight/flash control is loaded. Key points I would like to measure are:
Time it takes to download the silverlight/flash control Time it takes to initialize the control
View 1 Replies
Nov 5, 2008
I would like to use a flash interface to display a list of 10. IP Address's and have a constant Ping on them, thenbe able to print out a report. The interface I can handel, is there a way to have Flash (Via PHP or XML) ping an IP address?
View 7 Replies
Aug 23, 2007
im trying to think of a good way to get the ping from the user viewing a .swf to a pre specified server ( i.p.)
View 7 Replies
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
Jun 6, 2011
I just saw the McDonald's commercial which I have linked to below and I would like to try developing something similar for a festival. We have been talking about making a game in which the user has to use their iPhone and something like what McDonald's has done would be great.My question is if anyone have an idea how I can send the data and what technology they might have used? I imagine making two websites. One on which the game itself is shown and one which is the controller but how would I make sure that the data is sent and handled fast enough?I am familiar with JavaScript and PHP. I have been working a bit with flash and ActionScript and I am wondering if that might be best for the game (obviously not the controller)You can see the McDonald's commercial on the link below. Basically, the user visits a webpage which is the controller and then they are able to play the ping-pong game on the big screen.
View 4 Replies
Apr 19, 2010
I have installed RED5 flash server and 12 hours after installing it, I still cannot serve a simple MP3 file. So far, If I have understood correctly, you need to create and compile a Java application to simply serve a file!?.... Which seems a little over-complicated to be honest. Never touched Java.I have used the oflademo however cannot change the directory.I basically need RED5 to serve MP3 files from a directory (which i will specify), I will be calling the files as normal in a JW player playlist.
View 1 Replies
Sep 1, 2011
Anybody know how to install Red5 IDE Plugin for Adobe Flash Builder 4, Adobe Flash builder 4 comes with an integrated installation of Eclipse, If I follow the instructions on Red5 site I get Cannot complete the install because one or more required items could not be found. Software being installed: Red5 Feature 0.2.0 (org.red5.feature.feature.group 0.2.0)Missing requirement: Red5 Feature 0.2.0 (org.red5.feature.feature.group 0.2.0) requires 'org.eclipse.jst.server.core 0.0.0' but it could not be found
View 2 Replies
Oct 28, 2011
I wish to build an application using which I can record video (along with audio) and also audio (only audio preferably in mp3 format). From some research I did, I found I need a client app in flash or flex, a RTMP Server (RED5 preferable as its free) This is the code which I used to get cam working flash.
var camera:Camera = Camera.getCamera();
var video:Video = new Video();
video.attachCamera(camera);
addChild(video);
The problem is, I don't know how to send the stream to RED5. Also, what do I need to do so that I can store the video according to the user. The website I am creating is in PHP/MySQL and need to have their own videos and audios recorded. I love the way facebook has integrated Video Recording.
View 1 Replies
Dec 27, 2011
I am recording video using Flash and Red5 server and am doing it well,But when Red5 server is installed in another machine am not able to access it from my machine through LAN.am using another machine IPAddress to connect. Example:"rtmp://xxx.xxx.xxx.xxx/echo" When i access in my local machine using "rtmp://localhost/echo" it works fine.
View 1 Replies
Jun 9, 2010
Is it possible to capture/encode a video file on a slow machine, then upload it live to a Red5 or Adobe Streaming server, and have that server stream to file live to flash clients? If so, what protocol is used to stream the data from the encoding machine to the Red5 / Adobe server? I see a lot of things about RTMP, but am I correct that this protocol is used between Streaming Server and Flash client, but not from encoding machine to Streaming Server?
View 1 Replies
Apr 18, 2010
I´m having problems with h.264 in Flash. My idea is streaming a h.264 video from Red5 to a Flash client with ActionScript 3 or 4. The original code supports streaming video in .flv format with Sorensen and I would like to support .flv format with h.264 encoding.This is my original code:
play_btn.play_symbol_txt.background = false;
stop();
isPaused = true;[code]............
View 2 Replies
Feb 15, 2010
I am planning to create a video conferencing application finally in flash using RED5. But i don't know flash. Is there any readymade free video conference program available that i can directly integrate in my website? If not, then can anybody point me to from where should i start? Because gaining microphone and webcam access programmatically seems very daunting to me.
View 1 Replies
Apr 17, 2010
I've been thinking for a long time about working on a multiplayer game in Flash. I need updates frequently enough that ajax requests won't work so I need to use a socket server. The system will eventually have enough objects/players that I would consider it an MMO. I would like to set up a scalable system on Amazon's EC2. (Which probably effects my choice of server) This architecture would hopefully allow the game to grow without many changes over time. (Using a domain decomposition technique or something similar)
Heres my internal debate:Should I
a. Code my own socket server in C++ or Java?
b. Use the free and open source Red5 socket server for Flash?
or c. Pay the licensing fees and go for Electroserver?
I consider myself a decent developer, but am at an impasse as to what road to go down. I'm not sure if I, could develop/would need, the features of one of the prepackaged socket servers.
I'm also not sure if the prepackaged servers would work well in an Amazon EC2 environment and take full advantage of its features.
View 2 Replies
Jul 2, 2010
I'm trying to send a video stream to a Red5 server using Flex.
My Red5 setup seems to work for remote method invocations and shared objects, but I've yet to succeed in getting video working.
This is the AS3 code that connects to Red5:
# connect to RTMP server
netConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
netConnection.connect("rtmp://localhost/context_name");
# omitted code for waiting for connection success, and setting up shared
[Code].....
As said, note that the Red5 setup works flawlessly for remote method invocations and shared objects, but not for video which is strange.
View 2 Replies
Aug 3, 2010
I've just finished putting together a basic flash video chat client that publishes the camera to a stream and receives a similar stream from another client.The streams are being pub/sub'd to the "oflaDemo" that ships with Red5.This seems to work fine for my prototype, but I'm concerned about having to use something with "demo" in the name if I were to roll this chat application into production. It seems that the alternative is to essentially re-write that demo, perhaps with a few more features, which doesn't seem right in order to take advantage of one of Red5's core functionalities.
So, my question is: what is standard/best practice for production live streams in Red5? Is the oflaDemo used? Do custom stream brokers have to be written? If I don't host it myself, do most hosts have their own (production-quality) version of oflaDemo?
View 1 Replies
Nov 11, 2010
I use Red5 server 0.9.1 for live streaming from Adobe Flash player to my RTMP protocol transport.I test it with audio data captured from my microphone using flash application and for now transport recieves and recognizes audio packets. For further audio data listening I need to know what audio codec Flash player uses to send data to the Red5 server.Transport doesn't recieve any metadata packets with detailed information about media codec. All I know for now from "connect" message is that publishing side supports the set of audio and video codecs.
View 3 Replies
Nov 22, 2011
We have a Red5 Server that we use to host a video chat. We are looking for a way to overlay SWF files over the top of a live stream video.For example, we could overlay an SWF animation of snow falling in front of a live stream from a webcam.
View 1 Replies
Nov 19, 2009
I wonder how I can stream FLV videos live with Red5 open source flash server.
I've tried most of the methods I know of, but can not get it to.
script that can stream live FLV videos.
View 2 Replies
Nov 22, 2010
I just met a piece of error log when I was trying to resume the paused mp4 streaming. Here is the log from the server:
[INFO] [NioProcessor-1]
org.red5.io.mp4.impl.MP4Reader - Frame
position was not found for timestamp:
92000
I'm using Red5 newest 0.9.1 final for mac os x to stream the H.264/AAC encoded MP4 file to my flash app.
And there's no problem when I'm resuming the .flv file.
View 1 Replies
Apr 21, 2011
I need to calculate the latency means time difference between the two user machines the scenario is: 1. App 1 publishes stream 2. App 2 play the stream published by App 1 Now in App 2 I need to show the time difference between the App 2 and App 1 time. Say if current time on App 1 is 10:46:30 and on App 2 it is 10:50:20 then need to display the difference. How to send the time value to App 2 from App 1 as time zones for the two users may be different.
View 1 Replies