Media Server :: Calculate Bandwidth Usage For Each And Every User?
Feb 24, 2011i m developing live video broadcasting app in fms.. hw to calculate bandwidth usage for each and every user
View 1 Repliesi m developing live video broadcasting app in fms.. hw to calculate bandwidth usage for each and every user
View 1 RepliesWe need to record and display daily/weekly/monthly statistics on vod application usage, we are working with multiple application and need statistics for each one of them individually parameters required are bandwidth, number of connection, view time ...
View 5 RepliesNeed to know how to calculate bandwidth for fms shared object used in a text chat application..
View 1 RepliesWe are having a little problem implementing bandwidth detection with FMS, for some reason when enable it, bandwidth consumption spikes significantly I am wondering why? and if there a white paper somewhere that would talk about how properly implement this feature.
View 4 RepliesQuick question - I have the following setup:
(1) An ec2 instance with an SWF on it - this SWF plays streaming video - i.e. is a video player like JWPlayer
(2) A streaming video distribution set up via Cloudfront
If I stream the the video via RTMP from Cloudfront to the SWF (which is on ec2) - would I incur charges for data transfer into the server (i.e. for data being read by the SWF) and out of the server (i.e. for data being displayed by the SWF to the user) on account of streaming the video to users (assuming that data transfer into and out for the server is being charged for)?
Is there anyway to utilise the bandwidth of the flash media server from the server side in such a way so that the streaming will happen from the flash media server to the user based on the user internet connection speed. So users with low bandwidth will receive less streaming data in their buffer and users with high bandwidth will receive more streaming data into their buffer from the server.
View 1 RepliesAs stated in the title, I want to know how to determine if my server/host has native bandwidth detection. I have FMIS 3.5 installed on my Linux server. Is this a setting in FMIS or is this something I have to call my host to find out?
View 5 Repliesi 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 RepliesIs there a way for flash to detect a user's bandwidth, and depending the size of bandwidth, stop loading, or continue with the load? Now that I'm thinking about it, this would probably be a javascript detection script and if the bandwidth is high, load .swf, if not load a .jpg?
View 3 RepliesI'm trying to stream a webcam from 1 server to many client, what I really need to know is :1. How to adjust a bitrate video for bandwidth streaming, is it enough just using a Camera.setQuality() ?2. If u set Camera.setMode() at large resolution, for example at 1024x768 is it could make the bandwidth for client access increase too ?I mean is it affect the bandwidth for set the resolution at small (ex: 160x120) or set at large (ex: 1024x768) resolution.3. Same as number 2. just it was for video=new Video(w, h) . Is setting a video size affecting the bandwidth ?
View 1 RepliesIs it possible to limit globally the bandwidth usage of FMS 3.5 ? I don't want FMS to use all the bandwidth available via our ISP.I want my coworkers and other servers to be able to continue using Internet while sending/receiving data from/to FMS. I know it is possible to limit various bandwidths per Applications, but it seems there is no easy way - using the xml config files - to globally limit the server bandwidth.
View 2 RepliesHow to retrieve fms bandwidth into flex?
View 2 RepliesI 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 RepliesI am trying to get the "bwcheck" application to work on FMS 4 on Amazon EC2, in order to detect my upload speed to the server and provide the best quality stream for my upload speed.
The tutorial I follow is this:
[URL]
Both are almost identical. However when I compile the .fla to .swf (having changed the URL for my server and application), and after I load the server-side code, I get the following error in my server-side log:
Method not found (recData)
I understand that apparently it is not finding the method, but I tried getting it off the function in the global scope, tried attaching it to the client, etc. but nothing worked. The original code of the server-side script is:
for ( i = 0; i < 1000; i++ ) {
data += "S->C";
}
Client.prototype.recData = function(data)
[Code].....
rtmfp downloaded from the node, and the upload bandwidth to another node, but the FMS bandwidth limitations Client.getBandwidthLimit () seems to only limit the bandwidth of the server to the client such as RTMP, ask how to limit the bandwidth between nodes, such as RTMFP.
View 2 RepliesI'm in the process of developing a realtime video chat application where multiple users can send video streams simultanuously. The number of users receiving the streams can be very big, e.g. 10 broadcasters and 500 receivers, each receiver should get all streams.
I use RTMFP connections to an FMS and streams are published in P2P multicast groups by passing the groupspec to the NetStream constructor. Currently I'm having problems with audio/video synchronization and video stream 'jumps' (not continuous). From what I read on other threads, this is related to the fact that there is not enough upstream bandwidth for sending the streams. So my questions are:
How to calculate the required upstream bandwidth on every peer for the given example of 10 broadcasters and 500 receivers (is it 10*bandwidth of one stream)?What settings (on NetStream, Camera, Microphone etc.) should be used for best results and how to adapt them based on the number of broadcasters?
How to retrieve fms bandwidth into flex?
View 1 RepliesI have confirmed this behavior in FMS 3.0.2 on Windows 2003, Vista, and Linux.
In prior versions of FMS if I had a publisher sending a live video feed to the server, then I could have subscribers connect to the server and set a bandwidth limit for them and the server would ensure that the subscribers only got as much bandwidth as I set for them. As of version 3, the server now ignores this limiting for live streams.
You can set a limit on the publisher which of course then limits the live stream that subscribers view, but that is not what I want. I want to have the publisher push a live stream at the quality I specify and then I need a way to give some subscribers a lower bandwidth version of that stream. This all worked fine in prior versions of FMS and I can't imagine this is intended behavior in version 3, but it seems like a major oversight.
The bug can be replicated by creating a simple flash app to stream live video to the server and then in a separate NetConnection, subscribe to that live stream and display it. Then on the server side, setup an application.onConnect to do a setBandwidthLimit on the subscriber and you can see that it is totally ignored. You get the full bandwidth stream even though the limit should be reduced for the subscriber.
we are using RTMP with Flowplayer with dynamic bitrate switching and I'm a bit confused on the bitrate (kbps) that is called out in the code in order to configure the bandwidth check. I presume that this is the target bitrate if encoding using ABR or constant. How about for the rest of us that are using CRF? My understanding is that CRF is the way to go now for H264 (don't want to hijack the thread to a CRF vs ABR discussion). If we are using CRF, can we guess on the target bitrate that is called out in the bwcheck plugin?
View 1 RepliesWe noticed that when we are streaming our own VOD file that we had copied to the server, which is an .MP4 file encoded at 1200 kbps using either HDS or RTMP (, which I suppose the server recodes on the fly ) we are getting the incoming stream at the average bitrate of 14 Mbit/s, and it looks like bursts of 25 Mbit every couple of seconds.
However if we try a sample file, such us sampl1_1500kbps.f4v we are getting an average of 1.2 Mbit/s with peaks of 1.5-2 Mbit. The tests are conducted in our company LAN. So what is the reason for this? And is there a way to control/restrict the output bandwidth for our own file without re-encoding? I'm not talking about several streams with different bitrate for the same source aka adaptive bitrate but rather about the single stream bw)
I am trying to get the "bwcheck" application to work on FMS 4 on Amazon EC2, in order to detect my upload speed to the server and provide the best quality stream for my upload speed.The tutorial I follow is this:{URL}Both are almost identical. However when I compile the .fla to .swf (having changed the URL for my server and application), and after I load the server-side code, I get the following error in my server-side log:Method not found (recData) understand that apparently it is not finding the method, but I tried getting it off the function in the global scope, tried attaching it to the client, etc. but nothing worked. The original code of the server-side script is:
for ( i = 0; i < 1000; i++ ) {
data += "S->C";
}
[code].....
Does anyone know if Flash Media Server can be configured to reduce the image quality of a publish stream if available bandwidth goes down or there are delays in the connection?
When I (locally) play back videos recorded on poorer/intermittent connections, video frames are dropped, so the image freezes up.
I'm trying to determine an initial value for NetStream.bufferTime based on the client's calculated bandwidth and the video's bitrate.As far as I can tell you can't do this, because you must have an initial buffer set BEFORE you call NetStream.play() (or use the default 2 seconds) and FMS does not call NetStream.onMetaData, where one would normally find the videodatarate, until after NetStream.play() is called.Even if you modify NetStream.bufferTime during the onMetaData call back it doesn't effect when the video starts playing or when the NetStatus event registers "NetStatus.Buffer.Full".
How do I find the Video Data Rate BEFORE I call NetStream.play?How do how do I reset the initial bufferTime before acctual play back begins and the NetStatus event fires with "NetStatus.Buffer.Full"
I have made a sample application for publishing video through FMS using as3.In that I had used the same code as given in the sample provided by the adobe,
m_nc = new NetConnection("rtmpt://localhost:1935/Test");
private function onNetStatus(event:NetStatusEvent):void {
switch (event.info.code) case "NetConnection.Connect.
[code].....
I'm trying to debbug my code on Client side (Action Script 3) that works with Flash Media Server 4 on localhost. Everything seems fine up to that point.However, when I'm trying to test my player with other remote streaming servers, I notice bugs because of lower bandwith transmission between the server and the player.Is there a simple way to simulate lower bandwith with FMS4 on localhost (by config, application.xml, programmation...) ?
View 2 RepliesIs anyone familiar with the function of the Flash Media Server where it can detect a user's connection speed and deliver the appropriate quality version of the video on the user bandwidth detection?
View 1 RepliesHas anyone been able to get bandwidth detection to work using the flvplayback control (client side - using AS3)? I have successfully got it to work using the video component with bwcheck and bwdone but I need to figure out how to do this with the FLV playback control. I am using FMS 3 and do not want to use the native bandwidth detection that comes with FMS. I need to detect the clients bandwidth and set the buffer time and what bitrate of a video (high, medium, low) I provide to a user based on their bandwidth.
In other words, is there an equivialant of bwcheck and bwdone that the flv playback can hook into to detect the client's bandwith?
I'm trying to debbug my actionscript (AS3) code on Client side that works with Flash Media Server 4 on localhost. Everything seems fine up to that point.
However, when I'm trying to test my player with other remote streaming servers, I notice bugs because of lower bandwith transmission between the server and the player.
Is there a simple way to simulate lower bandwith with FMS4 on localhost ?
by config, application.xml, etc.?
by programmation (main.asc) ?
both ?
what is SharedObject.getRemote() and its usage?if it work just like a SharedObject.getLocal() , saved data will be in the path called 'C:Documents and SettingsusernameApplication DataMacromediaFlash Player#SharedObjects'if i using 'SharedObject.getRemote() ' means, where the data will stored? can any one explain or tell me the stored path.
View 1 RepliesI've just been asked to create a video player which automatically chooses the correct bitrate video to stream by detecting the bandwidth.I have no experience creating a video player so I'm looking for links/resources to do some research on the topic.Has anyone here created a video player in Flash? Would it be better to create in Flash or Flex?Once again, I have no prior knowledge in this type of creation and could use an experienced developer's opinion on what the first step is towards progress.
View 3 Replies