Skip to main content
Participant
August 3, 2011
Question

Required version for RedBox?

  • August 3, 2011
  • 1 reply
  • 502 views

I am trying to adapt the Red5/RedBox application (http://docs2x.smartfoxserver.com/GettingStarted/redbox) to work with FMS.

The entirety of the Red5 application is:

package com.smartfoxserver.redbox;

import org.red5.server.adapter.ApplicationAdapter;
import org.red5.server.api.IConnection;

public class Application extends ApplicationAdapter
{
     public boolean appStart()
     {
         //log.info("[RedBox] Application started");
         return true;
     }

     public void appStop()
     {
         //log.info("[RedBox] Application stopped");
     }
     
     public boolean appConnect(IConnection conn, Object[] params)
     {
          //log.info("[RedBox] Client connected, id " + conn.getClient().getId());
          return true;
     }

     public void appDisconnect(IConnection conn, Object[] params)
     {
          //log.info("[RedBox] Client disconnected, id " + conn.getClient().getId());
     }
}

... so my question is- 1) How would this be adapted to FMS, and 2) Can this be done with Streaming version or is Interactive version required?

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    August 3, 2011

    To achive what you have stated you will have to write SSAS code which is in AS1 - it should be pretty simple.

    Your second question: since its custom code of yours - you will need Interactive Edition.

    But it would be better to know your use case before you decide to buy interactive edition - i mean if your use case fits using our preinstalled services of "live" & "vod" - you migth as well just go for Streaming Edition

    Participant
    August 7, 2011

    After some more homework, I think we're going to shy away from custom applications really...

    Except for requiring custom logins, which will need to use some custom encryption/hashing, it will only need live streaming capability.

    Basically- a hub which just allows lots of 4-way video chats.

    For just that- do we still really need interactive edition, and why?

    Participating Frequently
    August 11, 2011

    If its purely streaming 4 videos to FMS and then streaming them back by your client - then you dont need Interactive Edition. But i am not sure how you say keep track of which user is publishing which video - with just Streaming Server Edition. Streaming Edition is basically meant for live broadcast or pure VOD delivery kind of scenarios.  Interactive Edition will give you lot of offerings and will make may things easier to implement and integrate. However final call is yours. If you have more questions - do ask us - if we can help you decide best edition for you nothing like it. I would suggest if you have doubt ask specific question whether its possible or not possible in a particular edition of FMS - that way we can give you definite answer and based on answers you can decide on your own.