How to test bandwidth continuously on localhost with Flash Media Server?

Hello

I'm trying debbug my code (ActionScript 3) client that works with Flash Media Server 4 on localhost. Everything seems fine until this day.

However, when I'm testing my player with other remote streaming servers, I notice the bugs because of the transmission of lower bandwidth between the server and the player.

Is there a simple way to simulate lower bandwidth with FMS4 on localhost (with config, application.xml, programming...)?

Thank you

SEB Ethier

Have you tried using Client.setBandwidthLimit () API available in SSAS? He can probably help you with what you want to do.

Beside that, you can use NetLimiter or shunra utlitiy to choke BW like client-side.

Hope that will help you.

Tags: Adobe Media Server

Similar Questions

  • live streaming with Flash media server

    Hello

    I'll work on a live project streaming with Flash Media Server. The idea is to see the video of a user to several Viewer.

    I have a few questions.

    Which protocol should I use (PLMN, rmtfp, etc.).

    Is there a tutorial for that. Help, please.

    Amit

    You can use rtmfp to do all this.

    Start here: http://labs.adobe.com/technologies/cirrus/

  • planning a deployment on a large scale with flash media server 3

    Hi all

    I am looking to get hold of the white paper entitled "planning a deployment on a large scale with flash media server 3.

    Anyone have the link? I know something similar?

    Andy

    Hi Andy,.

    This document is not yet publicly released. It will be published shortly.

    Thank you
    Swathi.

  • RTMFP with Flash Media Server

    Hello

    I try to get the Cirrus (http://labs.adobe.com/technologies/cirrus/samples/) sample application to work with the FMS. For my understanding of the RTMFP technology is available for the FMS, it should have no problem to make the example running with a FMS. As I don't have much experience with FMS, I don't know what I have to do to make it work.

    I already managed to get an ID of the FMS for each peer, but it seems that they are not able to connect to each other. Using the server of version beta/developer of Cirrus hosted by Adobe, it works without any problem.

    the method of "relay" is a specific function for Codename Cirrus.  It can be implemented easily on FMS in the script server-side. Jozsef Vass (author of the Cirrus VideoPhoneLabs sample) reported a simple relay for FMS on the forums of Cirrus function:

    http://forums.Adobe.com/message/3910752#3910752

    I don't know if that has been posted elsewhere, or if article VideoPhoneLabs has been updated.

  • How windows Defender to continue to run with security essentials

    How windows Defender to continue to run with most of the security. When I installed the essentials Defender stopped running. I tried everything I know. missing in admin tools and all programs and it starts and stops. Oh, I'm on Dell Inspiron 545 Vista 64-bit Service Pak 2

    Hello

    Defender is NOT supposed to work with MSE, and there is no worlaround.

    If you use Norton, AVG, Avira, Microsoft Security Essentials, McAfee, etc. the default action is for Windows Defender must be disabled, that these AntiVirus programs have their own Antispyware Applications.

    There is nothing to worry.

    Using both programs at the same time can cause system conflicts, etc.

    .

    If you want to have additional protection against malware using the version FREE of Malwarebytes AntiMalware:

    http://www.Malwarebytes.org/products/malwarebytes_free

    And for now, change startup Vista programs without using Defender, use one of these methods:

    "How to use MSCONFIG in Windows Vista"

    http://netsquirrel.com/Msconfig/msconfig_vista.html

    Or the program Autoruns for FREE:

    "V11.21 Autoruns for Windows"

    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902

    See you soon.

  • How can I really associate .as ActionScript with Flash Builder file in Windows 8?

    How can I really associate .as ActionScript with Flash Builder file in Windows 8?

    In Windows 7, you have to go to preferences - Flash Builder - File Associations, etc. There is no file Associations in the Windows 8 version: (see image)

    Adobe made a web page that indicates that you must use Windows Explorer to associate FlashBuilder.exe .as files, but it does not work: http://helpx.Adobe.com/Flash-Builder/KB/unable-set-default-file-associations.html

    FlashBuilder.exe does not support opening a file .as like that. Flash Builder attempts to launch a new process and requires a different workspace to be able to open a Windows file. So either Adobe should add support for binding to the Windows 8 file in Flash Builder, or it must be a setting that prevents the Flash Builder to open a second instance of process.

    Flash Builder Settings.jpg

    I found a solution. I used a Windows 7 machine that is the file association appropriate and observed the key of Windows registry using regedit.exe. I exported the key and made a .reg file and copied on my machine Windows 8. After installing registry keys, the associated file did not immediately because Windows 8 has this key to the user choice that always associates the file .as with Flash Professional. So after installing the underside of the keys, then I used Windows Explorer to associate files with Flash Builder .as and my file associations work as expected. It is an Adobe specific integration problem that must be fixed on the end of Adobe to support file associations in Windows 8.

    Success as follows:

    (1) install the registry keys below

    (2) use the Windows Explorer to always associate FlashBuilder.exe .as files

    ========================================================================================

    copy the below into a file with the .reg extension. Then use the "Merge" command to Windows Explorer to install in the registry

    ========================================================================================

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\.as]

    @= "FlashBuilder.ActionScript".

    [HKEY_CLASSES_ROOT\.as\ShellNew]

    "NullFile"=""

    [HKEY_CLASSES_ROOT\FlashBuilder.ActionScript]

    [HKEY_CLASSES_ROOT\FlashBuilder.ActionScript\DefaultIcon]

    @= "C:\\Program Files\\Adobe\\Adobe Flash Builder 4.7 (64 Bit)\\eclipse\\plugins\\com.adobe.flexbuilder.ui_4.7.0.349722\\icons\\fb_as.ico.

    [HKEY_CLASSES_ROOT\FlashBuilder.ActionScript\Shell]

    [HKEY_CLASSES_ROOT\FlashBuilder.ActionScript\Shell\Open]

    [HKEY_CLASSES_ROOT\FlashBuilder.ActionScript\Shell\Open\Command]

    @= hex (2): 22, 43, 00, 00, 3 a, 00 5 c 00, 50, 00, 72, 00, 6f, 00, 67, 00, 72, 00, 61, 00, 6 d, 00, 20,.

    00,46,00,69,00 6 c 00, 65, 00, 73, 00, 5 c, 00, 41, 00, 64, 00, 6f, 00, 62, 00, 65, 00, 5 c, 00,------.

    41,00,64,00, 6f, 00, 62, 00, 65, 00, 20, 00, 46, 00, 6 c, 00, 61, 00, 73, 00, 68, 00, 20, 00, 42,------.

    00,75,00,69,00 6 c 00, 64, 00, 65, 00, 72, 00, 00, 20, 34, 00, 2nd, 00, 37, 00, 20, 00, 28, 00,------.

    36,00,34,00,20,00,42,00,69,00,74,00,29,00 5 C 00, 46, 00, 6 C, 00, 61, 00, 73, 00, 68,.

    00,42,00,75,00,69,00, 6 c, 00, 64, 00, 65, 00, 72, 00, 2nd, 00, 65, 00, 78, 00, 65, 00, 22, 00,------.

    20.00, 2d, 00, 6F, 00, 61, 00, 6 d, 00, 65, 00, 20, 00, 22, 00, 46, 00, 6 c, 00, 61, 00, 73, 00, 68,.

    00,20,00,42,00,75,00,69,00 6 c 00, 64, 00, 65, 00, 72, 00, 22, 00, 20, 00, 2d, 00, 2d, 00,------.

    6 c, 00, 61, 00, 75, 00, 6F, 00, 63, 00, 68, 00, 65, 00, 72, 00, 2nd, 00, 6f, 00, 00, 65, 70, 00, 6e,------.

    00,46,00,69,00 6 C 00, 65, 00, 20, 00, 22, 00, 25, 00, 31, 00, 22, 00, 00, 00

    [HKEY_LOCAL_MACHINE\SOFTWARE\.as]

    @= "FlashBuilder.ActionScript".

    [HKEY_LOCAL_MACHINE\SOFTWARE\.as\ShellNew]

    "NullFile"=""

    [HKEY_LOCAL_MACHINE\SOFTWARE\FlashBuilder.ActionScript]

    [HKEY_LOCAL_MACHINE\SOFTWARE\FlashBuilder.ActionScript\DefaultIcon]

    @= "C:\\Program Files\\Adobe\\Adobe Flash Builder 4.7 (64 Bit)\\eclipse\\plugins\\com.adobe.flexbuilder.ui_4.7.0.349722\\icons\\fb_as.ico.

    [HKEY_LOCAL_MACHINE\SOFTWARE\FlashBuilder.ActionScript\Shell]

    [HKEY_LOCAL_MACHINE\SOFTWARE\FlashBuilder.ActionScript\Shell\Open]

    [HKEY_LOCAL_MACHINE\SOFTWARE\FlashBuilder.ActionScript\Shell\Open\Command]

    @= hex (2): 22, 43, 00, 00, 3 a, 00 5 c 00, 50, 00, 72, 00, 6f, 00, 67, 00, 72, 00, 61, 00, 6 d, 00, 20,.

    00,46,00,69,00 6 c 00, 65, 00, 73, 00, 5 c, 00, 41, 00, 64, 00, 6f, 00, 62, 00, 65, 00, 5 c, 00,------.

    41,00,64,00, 6f, 00, 62, 00, 65, 00, 20, 00, 46, 00, 6 c, 00, 61, 00, 73, 00, 68, 00, 20, 00, 42,------.

    00,75,00,69,00 6 c 00, 64, 00, 65, 00, 72, 00, 00, 20, 34, 00, 2nd, 00, 37, 00, 20, 00, 28, 00,------.

    36,00,34,00,20,00,42,00,69,00,74,00,29,00 5 C 00, 46, 00, 6 C, 00, 61, 00, 73, 00, 68,.

    00,42,00,75,00,69,00, 6 c, 00, 64, 00, 65, 00, 72, 00, 2nd, 00, 65, 00, 78, 00, 65, 00, 22, 00,------.

    20.00, 2d, 00, 6F, 00, 61, 00, 6 d, 00, 65, 00, 20, 00, 22, 00, 46, 00, 6 c, 00, 61, 00, 73, 00, 68,.

    00,20,00,42,00,75,00,69,00 6 c 00, 64, 00, 65, 00, 72, 00, 22, 00, 20, 00, 2d, 00, 2d, 00,------.

    6 c, 00, 61, 00, 75, 00, 6F, 00, 63, 00, 68, 00, 65, 00, 72, 00, 2nd, 00, 6f, 00, 00, 65, 70, 00, 6e,------.

    00,46,00,69,00 6 C 00, 65, 00, 20, 00, 22, 00, 25, 00, 31, 00, 22, 00, 00, 00

  • How can I play mpeg-4 files with Windows Media Player 11 on my PC - XP SP3

    I downloaded a file from YouTube and I would like to play the video with Windows Media Player.  My PC is running XP service pack 3.  I downloaded and installed Windows Media Player Version 11.  The file is Shawn Woodman.mp4

    Long answer... good luck...

    The following decoder could be your problem but it's not freeware.

    3ivx decoder
    http://store.3ivx.com/3ivxStore/product_details.php?ID=11

    Anyway... This article is maybe worth a visit:

    Multimedia Windows Media Player (316992)
    file formats
    http://support.Microsoft.com/kb/316992/en-us
    > scroll waaay to MPEG-4 (.mp4)

    Media players free alternative that should play MP4 files:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    VLC Media Player
    http://www.videolan.org/

    Media Player Classic
    http://www.filehippo.com/download_media_player_classic/

    Media Player Classic Home Cinema
    http://MajorGeeks.com/Media_Player_Classic_Home_Cinema_d6213.html
    (works on XP/Vista/7)

    Apple Quicktime
    http://www.Apple.com/QuickTime/Download/
    (there is a free version and a paid version)

    QuickTime Alternative
    http://www.filehippo.com/download_quicktime_alternative/

    And it might be worth a try to download
    and install 'one' of the following free codec packs:

    * Proceed at your own risk *.

    K - Lite Codec Pack (full)
    http://www.filehippo.com/download_klite_codec_pack/

    CCCP (combined Community Codec Pack)
    http://www.CCCP-project.NET/wiki/index.php?title=Main_Page

    Windows Vista-
    System Restore:
    Frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows-Vista/system-restore-frequently-asked-questions

    Personally I would remove the compatibility
    questions and convert the files to the WMV MP4
    format. One of the reasons being... If the files are shared
    with anyone... they will encounter the same problems.

  • How to connect with Adobe Media Server random remote Shared Object

    Hello, I have my application on the web developed in Flash Professional CC and exported to Flash Player 13.

    In my web app, I have 2 classes: connection (which creates the connection with my Adobe Media Server) and GlobalObject (that creates the remote shared object).

    This is the code I have:

    Connection class

    import flash.events.AsyncErrorEvent;

    import flash.events.Event;

    import flash.events.IOErrorEvent;

    import flash.events.SecurityErrorEvent;

    import flash.events.SyncEvent;

    import flash.events.NetStatusEvent;

    import flash.net.NetConnection;

    import flash.net.ObjectEncoding;

    import flash.net.SharedObject;

    var nc:NetConnection = new NetConnection();

    nc.objectEncoding = ObjectEncoding.AMF3;

    NC.client = this;

    nc.proxyType = "best";

    nc.addEventListener (NetStatusEvent.NET_STATUS, netSAServerRTMPStatus);

    nc.addEventListener (IOErrorEvent.IO_ERROR, onIOError);

    nc.addEventListener (AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);

    nc.addEventListener (SecurityErrorEvent.SECURITY_ERROR, onSecurityError);

    NC. Connect ("rtmp://myAMS_URL:1935 / myApp", "myRandomChannel");

    var _ro:GlobalObject;

    function onIOError(e:IOErrorEvent):void

    {

    trace ("onIOError");

    }

    function asyncErrorHandler(e:AsyncErrorEvent):void

    {

    trace ("asyncErrorHandler =" + e.error);

    }

    function onSecurityError(e:SecurityError):void

    {

    trace ("onSecurityError =" + e.error);

    }

    function netSAServerRTMPStatus(event:NetStatusEvent):void

    {

    Switch (info.code)

    {

    case "NetConnection.Connect.Success":

    trace ("Connected");

    ConnectToSharedObject();

    by default:

    trace (e.info.code);

    break;

    }

    }

    function ConnectToSharedObject (): void

    {

    _ro = new GlobalObject();

    var randomRO:Number = Math.Random ();

    _ro. Connect (randomRO, nc, false);

    trace (_ro. Connected);

    If (_ro. Connected is true)

    {

    _ro.addEventListener ("onNewMsg", onNewMsg);

    _ro.sendNewMsg ("hello");

    }

    }

    function onNewMsg(e:Event):void

    {

    trace (e.Target.chatMsg);

    }

    GlobalObject class

    import flash.events.AsyncErrorEvent;

    import flash.events.Event;

    import flash.events.EventDispatcher;

    import flash.events.SyncEvent;

    import flash.net.NetConnection;

    import flash.net.ObjectEncoding;

    import flash.net.SharedObject;

    var so: SharedObject;

    var connected: Boolean;

    var _msg:String;

    function GlobalObject()

    {

    Super();

    }

    function connect(p_soName:String,_p_nc:NetConnection,_p_persistant:Boolean):void

    {

    create StoredObject

    So = SharedObject.getRemote (p_soName, p_nc.uri, p_persistant);

    so.client = this;

    Configure the onSync events

    so.addEventListener (SyncEvent.SYNC, onSync);

    connect to the SO

    so. Connect (p_nc);

    connected = true

    }

    function logout (): void

    {

    so. Close();

    }

    function onSync(evt:SyncEvent):void

    {

    trace ("onSync");

    }

    public void sendNewMsg(msg:String):void

    {

    so. Send ("mewMsg", msg);

    }

    function mewMsg(msg:String):void

    {

    _msg = msg;

    dispatchEvent (new Event ("onNewMsg", _msg));

    }

    The problem is that I have ever received the 'onSync' event, then, so I never got the messages. What I am doing wrong? I have to add or change?

    I have no code (C:\ProgramFiles\Adobe\AdobeMediaServer5\applications\myApp) server-side. All this code is compiled and exported as a SWF file, and this is the file that the user charge when go to my Web page.

    Hope someon could help me.

    Best regards

    Manel

    Hello

    The problem is solved! The point is that the AMS folder that I created were defined as 'direct' default app. Once I changed that, it work corretly.

    Best regards

  • How live streaming using Flash Media Server?

    Hello evrybody,

    I m a beginner with FMS. I have a licensed version of the FMS and I want to stream video live from the local host or another machine with camera. And then I should then it broadcast to several customers. I do not know how to start

    Please help me

    salma_salma wrote:

    Thank you, Janaki, but how do I add a new app? I tried to do it using Flash Media Administration Console, but it does not work

    Hi Salma,

    To add an application to FMS follow the steps below

    1 create a folder "nohup" under directory "$InstallRoot\applications".

    2. the simple server-side code... Add file "main.asc" inside the directory "$InstallRoot\applications\my_app" which contained similar

    application.onConnect = function(clientObj){
         trace('onConnect function");
         return true;
    }
    

    3. to add the feed to the request, creates "stream" folder inside the directory ' $InstallRoot\applications\my_app ', in which create "_definst_" folder and then place your FMS stream supported in the directory. If your application flow "nohup" will take place at "$InstallRoot\applications\my_app\streams\_definst_\mystream.flv".

    You can connect to this application using the url "rtmp://your_server_name/my_app". To play the mystream.flv of flow using video player, use the url "rtmp://your_server_name/my_app/mystream.flv".

    Kind regards

    Janaki L

  • How to save songs on Flash Media Server streams?

    I want to record a stream that is published with Flash Live Encoder FMS 3.5, but divide the recording into files with predefined length. For example, if a 'webcam' feed is published I want to save it in 10-minute segments: "webcam1.flv", "webcam2.flv"... From what I can tell there is no possibility of working with timers. The only solution I could think about was via stream.record () with a delay setting, but which seems to be a hack because it triggers the NetStream.Record.DiskQuotaExceeded on the stream when the recordin should stop and start recording another piece. If someone has done something similar?

    I would like to approach it by saving in a new stream side server instead of directly the customer record to publish feeds. A rough example would be something like this (I'm testing the code... it's just an example):

    application.onPublish = {function (client, stream)

    client.publishingStreamName = stream.name;

    application.chunkRecording (customer);

    }

    application.onDisconnect = {function (customer)}

    clearInterval (client.chunkInterval);

    {if (client.recordingStream)}

    client.recordingStream.play (false);

    client.recordingStream.record (false);

    }

    }

    application.chunkRecording = {function (customer)}

    clearInterval (client.chunkInterval);

    Stop the recording of any old

    {if (client.recordingStream)}

    client.recordingStream.play (false);

    client.recordingStream.record (false);

    }

    Start the new record. Create a new name for the stream based on the time.

    var recordStreamName = client.publishingStreamName + '-' + new Date () .getTime ();

    client.recordingStream = Stream.get (recordStreamName);

    client.recordingStream.record ();

    Me throw again in an hour.

    client.chunkInterval - setInterval (application, "chunkRecording", 3600000, client);

    }

  • How to generate a continuous ttl signal with a USB-6501

    Hello everyone,

    I am a beginner with LabView, so maybe my problem, it's very easy to fix.

    I need to generate a digital output using a USB-6501. This TTL signal will then switch to a device. Basically, I need the digital output to be permanently to TTL high level until a user active departure is given. Then the digital output must stay to the TTL low level until another stop active user is given.

    Does anyone have any suggestions on how to do? I have failed so far to get something different high TTL to my USB 6501.

    Thank you very much.

    Hi there, take a look at the VI I enclose. You can find more information about the device in textbooks and on this forum. I hope this helps

  • How can I use on my M40X with WinAmp media buttons?

    Hello
    Today, I received my M40X and I have a question.
    There are 5 media as left button on the keybord (CD/DVD, play/pause, Stop, <->)
    Is it possible to use them with WinAmp?
    With the help of Toshiba, I had the CD/DVD button used to start WinAmp (by allows him to launch a .exe) but the work of Play/pause...don´t. The field of media Apps the only player that I can choose is Win MP10 (I hate this piece of sh * t).
    How can I use these buttons with WinAmp?

    Hello

    As far as I know Toshiba controls have been tested and designed only for Microsoft Media Player and WinDVD. How this topic says:

    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=3621&MessageID=11461#11461

    I n t have any experience with WinAmp but I found useful info in this forum on this topic:

    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=6673&MessageID=24448#24448

    Select this check box.

    Good bye

  • How can I play the audio stream with Windows Media Player 11 AAC?

    Hello

    I want to listen to a live stream of a Shoutcast radio station which is in AAC format. I want to play with my Windows Media Player 11 on Windows XP SP3. I still don't play. It seems that it is not supported by WMP 11, but if missing a codec, it should be automatically downloaded from Microsoft, since the option "Download codecs automatically" is checked in the options of WMP, and my security level in Internet Options is set by default.

    Y at - there a way or a codec plugin, so I can play the stream AAC on WMP 11?

    Thank you.

    Assem

    Orban AAC/aacPlus Plugin will allow WMP 11 to play AAC streams. Note that you have to replace the http stream with icyx URL part, so to read your example AAC stream, you must enter icyx://109.234.157.154:2012 in WMP, via file - Open URL... (press Ctrl + M, if you don't see the file menu). Tim Baets
    http://www.BM-productions.TK

  • How to get the Manager to update with VMware vCenter Server 5.0 device

    Hello

    We have VMware vSphere Essentials 5 and already, I downloaded the vCenter device but how get the Update Manager?

    Thank you.

    Hello

    If you want to use the Update Manager you will have to be installed on a separate windows server, the device has UM built as of yet.

  • How to check what version of flash media server is installed on

    Hi all.

    Is it possible to check which version of flash media server is installed on my computer?

    'Open flash Media Administration Console' from start-> all programs-> Adobe-> Flash Media Server... and then sign in using your credentials that gave you when installing. After login, click on "Manage servers" and then click on 'License', you will be able to see which version and which edition of FMS is installed.

    In addition, Flash Media Streaming server, Flash Media Interactive server and Flash Media Development server are no versions and editions.

    Kind regards

    Amit

Maybe you are looking for