I'm testing HLS and HDS right now and i'm wondering how to limit users and bandwidth per virtualhost. I mean in rtmp mode there is the vhost.xml tag far max users and the Application.xml tag for Bandwidth limit, but for http connections (either live or on vod) where can i limit connections or bandwidth?
Is 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.
Can anybody tell me if it is possible to limit the bandwidth or screen refresh rate that a flash movie uses? I have a large number of virtual desktops which use RDP and flash performance is terrible.
If I look at a site in IE that use lots of flash, my RDP session can even hang sometimes or more likely become completely unusable.
I am trying to limit the amount of clicks that i will receive by, maximum, one click per second. How could I limit the interaction of the user to just one click per second?
I have pageA that loads sort of flash player, the url of rtmp that player listens to is hidden in other .aspx file that validates a session which generated on pageA. Is there another way or better way to limit users from stealing the rtmp link ?
Is 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?
We 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.
We are trying to setup FMS so that a section of videos for streaming are restricted to a specific network, while other videos would be available to all to stream. According to what I read, this is best restricted by means of a vhost. However, I've spent 3 days trying to get a vhost to work and am thoroughly stumped.Our current configuration for the _defaultVHost_ is: within vhost.xml, it points the apps dir to ${VHOST.APPSDIR} which points to the default install location. The VOD_DIR within fms.ini points to a separate location: d:contentflash.
Is there a way to enable a vhost without having to restart the entire fms server?It seems very horrible that you would have to kill everyone using the server to add new vhost?
tell me the difference between the Allow directive in Vhost.xml file and the one in Adapter.xml file? The PDF on FMS says about Allow in Vhost.xml:"This element is a comma-delimited list of domains that are allowed to connect to this virtual host. The default value isall. If the Allow element is left empty, the only connections allowed are those coming from the same domain."
While it says the following about Adapter.xml:"A comma-delimited list of host names, domain names, and/or full or partial IP addresses from which clients canconnect to the server."I can't see any difference?I'd guess one specifies domains that hosted SWFs can connect to server from, while the other specifies client-side hosts which can connect to the server.. However it is not clear to me which is which.
I have gotten the vhost to work with the owner of the applications folder set to root:rootI need to allow them access to their files by cpanel and for that to work their files have tobe owned by their user name user:user well they vhosts can't be accessed unless itsroot:roo
I have started the vhost setup. I have cpanel on the server and I added the domain and it resolves to the hosting account just fine pull up www.domain.com and goes to server.
I added the www.domain.com vhost. I pointed the application dir to /home/domain/public_html/applications/
I copied live over to applications dir. I setup user and pass for the virtual host login.
I just noticed a workaround something that's been annoying me for a long time. Occasionally my projects vertically line up funny if clip y-coords or heights are based on frame 1 stageHeight. I always thought it was a load-time duration or something like that, but it turns out to be bandwidth profiler (CS4 authoring). Try this on frame 1 of a new, empty project:
this.addEventListener(Event.ENTER_FRAME, this.entf); function entf(evt:Event):void{ trace(this.stage.stageHeight); }
When bandwidth profiler is on, the first frame reports -100 the real stageHeight. Now to avoid the problem I just turn off bandwidth profiler. Is it just a bug?
I was trying to find a bandwidth profiler in flex like there used to be one in Flash but couldn't really find one. Is there a way, that I can do bandwidth profiling of my local swf?I'm using Flex Bulider with a AS3 project.
I need a meter that shows the current bandwidth rate as a percentage. For example: The maximum bandwidth rate is 4mbps, the current bandwidth is 3mbps, so the bar would be 75% full. This bar would change dynamically as the bandwidth rate changes.
Is there anything out there that already exists like this?
I am developing a Flash application which should initially (before launching the main application) identify the internet bandwidth available on users system and display low or high bandwidth content accordingly.If the user has dialup concetion then I need to display only images else if it is broadband concetion then I need to display swf's along with the audio.
Does anyone know if there are any classes that expose information about bandwidth usage? For example, I would like to know when my Flash file is really pushing the bandwidth by loading a bunch of stuff (like images), versus when its basically sitting idle.
Now I know I can get stuff like progress events from an individual load but thats not what I mean here. I want to be able to get a current level of activity for my entire movie which is currently running....not information about a particular item which is being loaded.
My video player has a problem performing under bad bandwidth conditions.
When i disconnect from my network halfway through playback this triggers a netstatus event with an info of "NetStream.Buffer.Empty"..
If I reconnect my network, it doesn't start streaming again..If I call netStream.resume() that triggers a "NetStream.Unpause.Notify" but the buffer never fills up and the video never plays again.
Seems like once netstream runs out of internet juice and triggers a "NetStream.Buffer.Empty" there is nothing i can do to get playback to resume again.
I'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 ?
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)
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)
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.
I'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?
I'm trying to detect a user's bandwidth from my swf however, I have never used classes before so I'm all messed up. In the help file it says to do the following and when I do it gives an error of:
Quote:
1131: Classes must not be nested.
After reading the help file on Classes I don't understand why this below doesn't work when I put it in my fla. I have tried to put this in a separate file and save it as an .as and import it in but it didn't work.
ActionScript Code: class Client { public function onBWCheck(... rest):Number { return 0;