Skip to main content
Participant
April 15, 2011
Question

RTMFP / RTMP Fail Over

  • April 15, 2011
  • 2 replies
  • 1736 views

Hello Everyone,

I'm working on a project which needs to switch from a RTMFP connection to RTMP in a conference in case one of the participants is not compatible with RTMFP.

My question is, can I perform RTMP streams using a RTMFP connection or I will have to create a new RTMP connection for that?

var RTMFPConn:NetConnection = new NetConnection();

RTMFPConn.connect("rtmfp://myaddress");

var netStream:NetStream = new NetStream(RTMFPConn:NetConnection);

I stumbled on a Adobe tutorial which explained this a bit but it was not 100% clear for me.

http://www.adobe.com/devnet/flashmediaserver/articles/real-time-collaboration.html

Please share your experience

Thanks !

    This topic has been closed for replies.

    2 replies

    Participating Frequently
    September 23, 2011

    But as far as I know you can always connect to your FMS4 with "rtmfp://...." (as long as rtmfp is enabled in your FMS) and stream either to the server or to the group. I haven't put it in practice before, but I believe you'd have to manage only your NetStream. Either use new NetStream(nc) to stream to the server or new NetStream(nc, groupSpec.groupSpecWithAuthorizations) to stream to group.

    .........right?

    For me, with 1.9 dollar currency I need to manage between Cirrus and Red5 NetConnections :/

    Participating Frequently
    September 23, 2011

    Are you asking if publisher can be RTMP(one which would publish to server or group) and all subscribing clients are using RTMFP? - if that is your question - then yes that's possible.

    Participating Frequently
    April 19, 2011

    Article seems to be fine - i am not sure where exactly you are getting confused.

    Coming to your question, are you asking can you stream to FMS using RTMFP - is that your question?

    Participant
    April 19, 2011

    I guess I've got the answer already.

    The question is, can I use a RTMP connection in a RTMFP streaming?

    --> I guess the answer for that is not.

    Please correct me if I'm wrong

    Participating Frequently
    April 19, 2011

    Yes you are right - you cannot do RTMFP type streaming using RTMP. Using RTMP you can only publish to server and not to peers.