WebService and Flash Media Server

Hi all

We have the following task to do... in our Organization, we have an application that generates xml messages. We want to send these messages to Flash clients connected to an FMS server. In order to do that we want to create a service Web (ASP.NET) on the FMS server and allows the application to send xml messages to this webservice. Once a message is received by the Web service we want to address an application FMS where it would be analyzed and based on the content of the message that we want to call methods (on rtmp) on the connected clients.

We have no information on FMS, but we thought that it would be not so hard to understand. By the looks of it, it seems almost trivial if you had to do it in Java or .net. Apparently not so in the world of the FMS. The big question we have is: how to feed the xml message received by the Web service to a FMS application... or (Alternatively) how notify us an application of FMS that a new message is received by the Web service. The Google or the manual contain no examples of this kind of scenario. Which makes ask us, "we are on the right track? What is the best way to do it? ».

Any suggestions, solutions and wisdom are welcome.

Thanks in advance.

Erik

Looks like you want to put the messages in XML via FMS customers Flash in your backend. The way to do that is to create an XMLSocket in your FMS server script and connect you to your main server (your server needs an earphone socket to accept the connection socket that you will use to send the XML messages). Once the socket connection, your server can send XML messages to your FMS XMLSocket and your FMS server script must implement the method onXML on the XMLSocket object to analyze the past in the XML document object. You can then send the message to the Flash client using Client.call. The methodName in Client.call parameter must be a function that is implemented on the customer Flash NetConnection object.
I don't know if your need is to send a message to a particular customer of Flash or the whole. If the latter you can iterate over the Bay of application.clients (script server-side) to send the message to all clients Flash. If your main server message is intended for a particular customer, you have a way to correlate the message to the right instance of FMS customer. However, it seems that messages will go to all Flash clients so I will not expand.

Tags: Adobe Media Server

Similar Questions

  • Flash Media Server 3 - Can RTMP and HTTP tunneling be set up?

    I have read a few forums posted here and also searched the Web widely but can not find a clear answer or get HTTP tunneling to work with Flash Media Server 3.

    Q1: Flash Media Server 3 can be configured for the Protocol RTMP and HTTP tunneling to work? The reason why I need to know if this will work is due to more and more customers report that the videos do not play for them, and I have concluded that these customers are sitting behind a firewall that has blocked port 1935. So I would like to set up the FLV playback control to try to spread the file on RTMP and if this does not work, use the HTTP protocol.

    Can someone please! Is there a whitepaper that you can tell me or even provide an example for me.

    Here is my asctionscript I've tried to make it work, but it does not.

    A few other notes are, the. The online FLVs in this folder: D:\Adobe\Flash Media Server 3\applications\vod\media

    The videos are recorded and then converted. FLV files and loaded into this folder.

    I have all hard coded below to try to get to operate this way first and thought that would be easier for you to help me. The ultimate solution is I use FLVPlayback control and transmit the location and. Name of the FLV file on the query string "http://www.Microsoft.com/downloads/details.aspx??" " VIDEO = rtmp://216.203.12.15/vod/flv. I pasted the code object * to show this example below the asctionscript.

    package
    {
    import flash.display.Sprite;
    import flash.filters.BlurFilter;
    Import fl.video.FLVPlayback;
    import flash.display.LoaderInfo;

    import flash.net.NetConnection;
    import flash.events.NetStatusEvent;
    to import flash.net.NetStream;
    import flash.media.Video;


    public class stream extends Sprite
    {
    var nc:NetConnection;
    var stream: NetStream;
    var playStream:NetStream;
    var video: Video;
    Variable that goes into .flv to query string
    var videoPath:String = «»

    public void Streams()
    {
    NC = new NetConnection();
    nc.addEventListener (NetStatusEvent.NET_STATUS, netStatusHandler);

    This is where I am trying to connect via RTMP and if it does not try RTMPT on port 80 HTTP

    NC. Connect ("rtmp://216.203.12.15/vod");

    NC. Connect ("rtmpt://216.203.12.15:80/vod"); ")

    }

    private void netStatusHandler(event:NetStatusEvent):void
    {
    trace ("connected is:" + nc.connected);
    trace ("event.info.level:" + event.info.level);
    trace ("event.info.code:" + event.info.code);

    Switch (event.info.code)
    {
    case "NetConnection.Connect.Success":
    trace ("congratulations! you are connected");
    connectStream (nc);
    createPlayList (nc);
    Instead you can also call createPlayList() here
    break;
    case "NetConnection.Connect.Failed":
    case "NetConnection.Connect.Rejected":
    trace ("Oops! the connection was rejected");
    break;
    case "NetStream.Play.Stop":
    trace ("the stream has finished playing");
    break;
    case "NetStream.Play.StreamNotFound":
    trace ("the server cannot find the stream you specified");
    break;
    case "NetStream.Publish.BadName":
    trace ("the name of the stream is already used");
    break;
    }
    }

    read a stream stored on the server
    private void connectStream(nc:NetConnection):void {}
    Stream = new NetStream (nc);
    stream.addEventListener (NetStatusEvent.NET_STATUS, netStatusHandler);
    Stream.client = new CustomClient();

    video = new Video();
    video.attachNetStream (stream);

    Stream.Play ("Peter_Christie_widescreen_bloomberg_hr", 0);
    addChild (video);
    }
    }
    }

    * OBJECT EXAMPLE TO SHOW HOW. FLV IS PASSED in THE QUERY STRING for WHICH THE FLVplayback control reads:

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="480" height="440" id="MediaPlayer"> 
    <param name="movie" value="/Media/VideoPlayer_Large.swf?VIDEO=rtmp://216.203.12.15/vod/Peter_Christie_widescreen_bloomberg_hr&MM_ComponentVersion=1&autoPlay=false&autoRewind=true" />
    <param name="FlashVars" VALUE="rtmp://216.203.12.15/vod/Peter_Christie_widescreen_bloomberg_hr&MM_ComponentVersion=1&autoPlay=false&autoRewind=true" />
    <param name="allowScriptAccess" value="sameDomain" /> <param name="quality" value="high" />
    <param name="VIDEO" value="rtmp://216.203.12.15/vod/Peter_Christie_widescreen_bloomberg_hr&MM_ComponentVersion=1&autoPlay=false&autoRewind=true" />
    <embed src="/Media/VideoPlayer_Large.swf?VIDEO=rtmp://216.203.12.15/vod/Peter_Christie_widescreen_bloomberg_hr&MM_ComponentVersion=1&autoPlay=false&autoRewind=true" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" flashvars="&MM_ComponentVersion=1&autoPlay=false&autoRewind=true" type="application/x-shockwave-flash" width="480" height="440" name="MediaPlayer">
    </embed>
    </object>

    Assuming that your FMS is configured to bind to port 80, and there is nothing else on the binding of FMs machine to port 80 on the same IP address, your FMS should be ready to accept applications for tunnel using rtmpt on port 80 Protocol.

    Where you go wrong, this is how you make the connection in your client-side code. You don't want to connect several statements that you are... you want to do one, and then let the flashplayer running in its default login process, or set up a timer to manage failures of Protocol in your own code.

    When you call NetConnection.connect() without specifying a port (or an other rtmp Protocol) in the url, the flashplayer first attempts a connection rtmp on port 1935. If this fails, the flashplayer will automatically attempt a connection by tunnel via port 80. The status event will not be distributed until the Flashplayer Gets a successful login, or fails on all combinations of port/protocol. So, you just make a call to the connect() function.

    If you prefer to try combinations of port/protocol specific and define your own time-out, you can set the port/protocol in the url

    NC. Connect ("rtmp://myserver.com:1935/app/instance"); ")

    or

    NC. Connect ("rtmpt://myserver.com:80/app/instance"); ")

    When you set the port/protocol, the flashplayer will attempt to establish the connection on this port/protocol only and the status event based on this single attempt to shipping.

    So, if you don't want to rely on the flashplayer to treat this, you would first try rtmp/1935. In your State Manager, you inspect the event info.code property. If you don't get a successful connection, then try rtmpt/80

  • Need to buy a mini netbook which takes in charge of Linux or Android & can watch youtube vids and flash media.

    Original title: 7pouces arm mini netbook.

    http://CGI.eBay.com/7-mini-NetBook-N...item2eb4dc32b7

    http://shop.eBay.com/i.html?_FROM=R4...all-categories

    I want to get a mini netbook to carry on a trip just to watch videos youtube and check eamil, browse the web and stuff simple office.
    These have some ARM processors.
    comes with windows ce 6.0
    they are all good?
    I also try to reinstall another OS (bone of the arm) about it because I've heard bad things about windows that preference I'd like put android on it or some other linux operating systems. I want to assure you that I can watch videos youtube and flash media?
    can you guys recommend me something small and portable?
    BTW: normal netbooks are too expensive. just want to buy something cheap and portable works.

    Hello

    You can use your favorite search engine and searching for mini laptop computers including the system configuration will support Linux or Android and also serve the purpose.

    In addition, you can contact the manufacturer of the equipment you wish to purchase to ensure compatibility with all other software options you can pursue.

    Hope the helps of information.

  • Flash Media Server in Adobe Connect update

    We recently conducted an audit of security and one of the problems highlighted was that the version of Flash Media Server on our Acrobat Connect Pro (version 4.0.3) servers is no longer supported and the supported version is 4.5. We are currently running Adobe Connect 9.1.1 and I had to spend 9.3 soon. Will be 9.3 update also update the version of Flash Media Server 4.5 or higher? Alternatively he is allowed to apply just Flash Media 4.5 or higher?

    Thank you

    I do not think that 9.3 update will be updated to FMS 4.5 +. Connect is built on a version of FMS, and which usually does not change between versions of full version.

    The FMS instance that belongs to Connect is fully supported by Adobe as part of your Connect & maganga. If there is a security problem you have with it, apart from the version number, I would recommend that you raise these concerns with the Platinum support to see if they apply, or can be solved.

  • Live from Digital Rapids to Flash Media Server

    Hello

    I use a Digital Rapids StreamZ (version 3.8.0) encoder to stream YouTube, Dailymotion, Akamai. I want to install a Flash server on the same VLAN as my Digital Rapids to check coding in case there is a problem with YT/DM. So I downloaded Adobe Flash Media Server and now want to send my feeds to the AMS. What the URL of the server and the name of the workflow should I use to set my Digital Rapids? How can I configure the AMS to receive the stream of the Dominican Republic?

    Thank you very much in advance for your help and advice.

    mdicamp

    Solved: an another Flash Server was installed on the same server and have priority over configurations in port. I uninstalled it and streaming to AMS works very well. Hope this helps someone else.

  • Flash Media Server 3.0.1 Download Url

    Hello

    I need to download Flash Media Server 3, but I can't find any page on adobe.com to download.

    We use 3.0.1 and we need to migrate to a new server, but could not find the installation packages.

    Kind regards

    Calvin

    Calvin, please see the forum of Flash Media Server of the http://forums.adobe.com/community/flash/flash_media_encoding_servercoding.

  • The Adobe Flash Media Server 4 upgrade

    Hello

    I'm trying to improve 4 AFMS to 4.5.5, using the same serial number used to install the current version, but the installation Wizard indicates the serial number is not valid.  The same serial number can be used to upgrade the current installation?

    I'm unable to move your post to the appropriate forum, but I recommend that you delete your current survey and post on the forum of Flash Media Server of coding at http://forums.adobe.com/community/flash/flash_media_encoding_server.

  • Flash Media Server 4.5 fails often when I log onto the service as administrator on Windows 2008 R2 for x 64

    I recently installed the Flash Media Server 4.5 on my Windows 2008 x 64 R2

    Whenever I try to restart the service as an administrator he starts giving problems such as making connection authenticated with Flash Media Encoder Live (I installed the x 64 plugin for authentication which is with v3.2 FMEL)

    Please can someone guide me why FMS 4.5 becomes unstable and buggy once I restart the Apache Server and Flash Media Service as an administrator! I need to host files on network drives so I need administrator access... If adobe don't like the administrator name then whats the alternative workaround, for example create usernames?

    Please Guide

    One of the solutions I've found is it's to say try doing all the three Services of Windows FMS ( Flash Media Server (FMS) ,Flash Media Administration Serverand FMSHttpd) in the few controller domain or at least the same administrator account.

    After doing this first manually stop Flash Media Administration Server. After the Administration Server stops now run the Flash Media Server (FMS), which should automatically launch the FMSHttpd (Apache) Service. Once the two are started, then try to start the Flash media Administration Server.

    To make sure that Flash Media Administration Service always begins LAST you can either use the manual Batch file in the boot sequence or can set the "Delayed start" option in the settings of Services.

  • Flash Media Server config

    Hello

    I'm new with this, I have a problem

    I installed flash media server on a windows Server 2008 with IIS

    When I run the test page to... Adobe/Flash Media Server 4/webroot/index.html all works

    but so call it live media encode to broadcast from outside the server just doesn't work

    Here is the config lines

    -----------------------------------------------------------------------------

    SERVER. ADMIN_USERNAME = xxxxx

    SERVER. $admin_password = xxxxxxxx

    SERVER. ADMINSERVER_HOSTPORT =: 1111

    SERVER. PROCESS_UID =

    SERVER. PROCESS_GID =

    SERVER. LICENSEINFO = xxxxxxxxxxxxxxxxxx

    LIVE_DIR = C:\Program Files (x 86) \Adobe\Flash Media Server 4\applications\live

    VOD_COMMON_DIR = C:\Program Files (x 86) \Adobe\Flash Media Server 4\webroot\vod

    VOD_DIR = C:\Program Files (x 86) \Adobe\Flash Media Server 4\applications\vod\media

    SERVER. FLVCACHE_MAXSIZE = 500

    SERVER. HTTPD_ENABLED = true

    ADAPTER. HOSTPORT =: 1935,80

    HTTPPROXY. HOST = 209.239.120.100:80

    VHOST. APPSDIR = C:\Program Files (x 86) \Adobe\Flash Media Server 4\applications

    APP. JS_SCRIPTLIBPATH = C:\Program Files (x 86) \Adobe\Flash Media Server 4\scriptlib

    RECORDER. LOGDIR =

    USERS. HTTPCOMMAND_ALLOW = true

    ------------------------------------------------------------------------------------------ ----------------

    When I use the test page I see in the log of admin page this

    Mon 12 h 02: Connect: rtmp://localhost:1935 / vod
    Thursday 12:02:02 AM: Connect: rtmp://localhost:1935 / vod

    I don't have a single address ip 209.239.120.100

    and what should be my FMS URL

    to hekp thanks a lot

    "When you say that this" ""but so call it live media encode to broadcast since outside of the server just doesn't work " - say you you are trying to connect to FMS machine of GFFE that is installed on a different machine - I'm wrong? -If this is the case - please check if your firewall is open to 1935,80 ports.

  • Live from Flash Media Server in Captivate

    Hello

    We are fortunate to have a Flash Media Server (4) which allows us to distribute video on our LAN using Flash CS5 and didn't have any problems. However, when I try to use it for Captivate 5 files I've had no success (even with 4 incidentally). I tried just about every chain I can think of no position, with the post office, FLV, to f4v, /mp4:, different folders / no record (VOD) etc etc. There must be something fundamentally wrong with what I do, but for the life of me I can't think what. The media server is currently providing video on our Intranet and we also use it for Adobe Acrobat Connect Pro. Any help on this is appreciated.

    My string is rtmp://breezefms2/vod/ < nameofvideo > (no post)

    Hi Roy,

    Thanks for letting me know that the problem is solved for you. Can you move forward one step and comment in the blog post?

    Thank you

    Ashwin B remi

    Adobe Captivate team

  • 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.

  • 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

  • Flash Admin Console shows no application on my Flash Media Server?

    Hi all

    My employer has a Flash Media Server, I wrote a little app video streaming a few years ago.  Well, the videos have stopped working and I was asked to solve problems.  I pulled up to the fms_adminConsole.swf and connected to my server.  Now, it has been long since I messed up with the server, but if I remember correctly, there was a great list of apps on the list on the left side of the display 'Display the Applications' to the console.  When I log in, there is no described applications.  If I hit the button "New Instance" in the empty list, I am presented with a list of all applications that I think I should see in the list of Applications.  If I choose one of them, a new instance of the application appears in the list of applications, and I'm asked to give it a name, the default being '_definst_.  If I hit enter to create this instance, it remains on the list and the instance data is displayed on the right panel until the console refreshes and then everything disappears and I'm back for an empty list of applications again.

    Go to "Manage servers", I see a list of applications on the applications tab that I expect to see.  The app that streams the video that has problems is on the list.

    Is this normal behavior for the Flash Media Server Console?  I wouldn't have a list of applications in the "Access to applications" section of the console?  I created a dozen so far, and they are all listed under servers manage > Applications, but not under "access to applications.  Can anyone comment if I'm wrong here or missed something?  Or if someone can confirm that I SHOULD see something under 'Access to applications' and that there is indeed something weird happens with the server.

    Thanks for any help!

    What you see is a correct behavior. Until and unless the applications are loaded or some clients are connected to them, they will be not shown in the default view applications tab. Try to connect to one of the applications you have and you will see that it gets automatically listed here.

  • Flash Media Server Authentication component software plug-in installation question

    I downloaded the Add-in authentication for use with FME 2.5 and have been unable to install it. I'm trying to install it on my local computer that is running the development version of FMS. If anyone can shed some light it would be great. Thank you

    We have just released a new version of the Add-in to Flash Media Server Authentication for FME 2.5 that works with the release of Flash Media Server relies. You can find it at http://www.adobe.com/go/fme with version 2.5 of FME.

  • Very basic question: Flash Media Server vs embedding flash video

    I hope it's a quick easy question to answer:

    What is the difference between Flash Media Server or simply using a freeware Flash media player (like Flowplayer http://flowplayer.org/) that uses XML playlists to embed your Flash videos on a Web site?

    What are the benefits of Flash Media Server and how something like Flowplayer not issues that the FMS can?

    Thanks in advance!

    Erik

    In a word flowplayer offers the video through your web browser. It does so via the HTTP (port 80) and on any web server progressive download

    Progressive download concludes the video on the server and played through the player it is being downloaded. 2 important things to take this are 1, the video is downloaded to clients, at the end of reading's hard drive, they will have a copy of your video that they can do what they want and repost it somewhere else. 2, it plays as it downloads, which means that if I see a video of 10 minutes on your site and want to skip to the middle or the end I have to wait for the entire video to download before viewing these segments. Your host, incidentally you will love for progressive download because it will appear as if your transfer rates went through the roof. Once demand for the video made it has not returned back, the customer gets all if they watch it or not.

    Flash media server using rtmp Protocol. This Protocol is an open protocol socket through port 1935. Essentially, it's a two way street. When the user views a video using FMS get basically just enough video to keep the connection open and satisfy the buffer necessary to ensure a clean reading. Bytes of info that carry the video go only to the memory of the users, not the hard drive. This allows the user to come and go around the film without having to wait for all to download.

    Hope that helps.

Maybe you are looking for

  • Why can I not use Skype with Firefox

    Firefox, I cannot use Skype. He had problems with Add ons in 2010 and I know that Skype Skype blacklisted for a time, but I assumed that these issues have been resolved now?

  • I have updated to iOs 9.3.2 and now my phone has no sound

    I had been turned off of the update for a while and finally decided to do yesterday.  Once completed the update my phone now no sound then to make or receive calls and has no outside sound trying to watch some videos/listening to music, etc.  Is this

  • iPhone syncs but list of apps remains empty

    I currently have 133 apps installed on my iPhone 4S. The last 3 - 4 times I have synced my iPhone, when I click on 'Apps' in iTunes 'Home Screens' of the window part shows everything correctly, but the list of the 'Apps' to his left is completely emp

  • Speaker responds to all calls and investment

    My speaker is automatically first when a call comes in, when you place a call and when my bluetooth is connected to my car. I can't understand why - does anyone else have this problem? Should I have a defective phone?

  • [rs232.h] ComRd (-) slow performance

    Dear users, I am a student in electronic engineering of approach to obtaining his diploma with a thesis on the absolute error in gsm positioning. I create the server application to receive an sms (at THE controls of a Siemens TC35 gsm module connecte