Multipoint Publishing with FME and 2 FMS servers

Ask a Question related to Macromedia Flash Flashcom, Design and Development.

  1. #1

    Default Multipoint Publishing with FME and 2 FMS servers

    Hello,

    I am trying to setup Multipoint Publishing using FME and a couple of FMS
    servers. Can you take a look at the below code and let me know if I should be
    doing something different.

    - FME streams to FMS 1 (on SERVER_1)
    - FMS1 publishes to FMS2 (on SERVER_2) using the below actionscript in
    main.asc file on FMS1

    I have put the code under FCPublish because the comments in main.asc state
    that FME calls FCPublish when it publishes a new stream.

    Client.prototype.FCPublish = function( streamname )
    {
    if ( true) // do some validation here
    {
    this.call("onFCPublish", null, {code:"NetStream.Publish.Start",
    description:streamname});
    nc = new NetConnection();
    nc.connect("rtmp://SERVER_2/test_HighBW/");
    ns = new NetStream(nc);
    ns.publish(streamname);
    }
    else
    {
    this.call("onFCPublish", null, {code:"NetStream.Publish.BadName",
    description:streamname});
    }
    }


    Thanks in advance,
    Sai



    spaoind Guest

  2. Similar Questions and Discussions

    1. web publishing wizard...how to REMOVE web servers?
      I've created a number of web server choices in the wizard that I no longer need and would like to remove, yet the program provides no obvious...
    2. Is Contribute Publishing Server REQUIRED for draftreview & publishingContribute Publishing Server
      I want to set up a very basic workflow with one or more writers and a publisher who does final review and then publishes the pages. Is Contribute...
    3. Is Contribute Publishing Server REQUIRED for draftreview & publishing
      Please have look on the below mentioned link to have an idea of CPS and few advantages of it...
    4. Frontend Web Servers connect to Coldfusion Servers
      I need some help getting a front end web server cluster (iis) talking with the backend colfusion app cluster (j2ee install). Do I have to install...
    5. Different web servers
      We have two web servers, Netscape (Perl) and IIS5 (ASP.Net), users must login thru Netscape server first, and then they have the option to go to...
  3. #2

    Default Re: Multipoint Publishing with FME and 2 FMS servers

    Need to add:

    ns.attach(streamname);

    That sends the incoming stream out the new NetStream. The name passed in the
    ns.publish method is the stream name on the OTHER server. It can be the same,
    if you want. But it has nothing to do with the streamname parameter of the
    FCPublish function.

    dmazan Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139