Skip to main content
Participant
June 24, 2011
Answered

Is it possible to use Video Phone (Cirrus Sample Application) with FMS4?

  • June 24, 2011
  • 1 reply
  • 2643 views

Hello

could anyone explain please, is it possible to use Video Phone (Cirrus Sample Application) with FMS4?

It seems to be possible because in Video Phone source can be found these text:

// rtmfp server address (Adobe Cirrus or FMS)
[Bindable] private var connectUrl:String = "rtmfp://p2p.rtmfp.net";

If it’s possible, where can be found a server-side script for FMS /opt/adobe/fms/applications/videophone/ folder?

sorry for poor English
Many thanks!

    This topic has been closed for replies.
    Correct answer Michael Thornburgh

    the latest VideoPhoneLabs uses a new short message relay function on Codename Cirrus.  the semantics are super simple and there's no reason you couldn't implement the function on FMS4.

    the relay function works like this: when peerID a01234... wants to send a short message to peerID b12345... (both connected to Cirrus), peerID a01234... does

       // nc is the NetConnection

       nc.call("relay", null, "b12345...", ...args...);

    the message will come out on b12345 as a call to the NetConnection's client's onRelay function:

      nc.client.onRelay("a01234...", ...args...)

    VideoPhoneLabs uses this function for call signaling.  you should be able to whip up a similar server-side function for FMS4.

    otherwise, other than the URI that you use to connect to FMS, the P2P introduction function on FMS should be identical to Cirrus.

    1 reply

    Nikhil_Kalyan
    Participating Frequently
    June 24, 2011

    Hi,

    Thanks for your interest.

    It is not exactly possible to use the same sample application thats hosted for Cirrus. But the same functionality (the multicast and other rtmfp features) can all be made use of from FMS4 using the sample application that comes along with it. In the fms 4 installation folder and under applicaitons, you should be able to find an application called multicast which should give the multicast functionality.

    Hope it helps.

    Thank you !

    Participant
    June 27, 2011

    Hi Nikhil

    Thank you for your reply!

    Could you please give me another advice:

    This old VideoPhoneLabs version works with FMS4 well.

    But the latest VideoPhoneLabs version (with great echo cancellation feature) doesn't work - there is no call between 2 clients.

    In other words, when trying to call only this text appears in "status" tab of the call-recieving client:

    NetConnection event: NetStream.Connect.Success

    Connection from: 8f63487171497700144d210eaf87e90e4f72855631b63b1cd643d0866144df6d

    Though in case of successful call the text in "status" bar should look like this:

    Request: invite from: 8f0e9d002d7b47b05276173c229cddba031decdd75fb4682d2db4bdb2b28e479 (35325)

    Incoming stream event: NetStream.Play.Reset

    NetConnection event: NetStream.Connect.Success

    Connection from: 8f0e9d002d7b47b05276173c229cddba031decdd75fb4682d2db4bdb2b28e479

    Incoming stream event: NetStream.Play.Start

    That is the problem...

    Great thanks in advance...

    Michael ThornburghCorrect answer
    Adobe Employee
    June 28, 2011

    the latest VideoPhoneLabs uses a new short message relay function on Codename Cirrus.  the semantics are super simple and there's no reason you couldn't implement the function on FMS4.

    the relay function works like this: when peerID a01234... wants to send a short message to peerID b12345... (both connected to Cirrus), peerID a01234... does

       // nc is the NetConnection

       nc.call("relay", null, "b12345...", ...args...);

    the message will come out on b12345 as a call to the NetConnection's client's onRelay function:

      nc.client.onRelay("a01234...", ...args...)

    VideoPhoneLabs uses this function for call signaling.  you should be able to whip up a similar server-side function for FMS4.

    otherwise, other than the URI that you use to connect to FMS, the P2P introduction function on FMS should be identical to Cirrus.