Results 1 to 6 of 6

Thread: Remote SharedObject clustering

  1. #1

    Question Remote SharedObject clustering

    Does wowza support clustering (failover, repeating) of rtmp sharedobjects?
    Last edited by danielkozimor; 03-25-2012 at 08:46 AM. Reason: Spelling mistake

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Daniel,

    No, sorry, this is not supported. There are two approaches. You might have a dedicated sharedObject server that your Flash RTMP client uses a 2nd netconnection to connect to. Or you can replace sharedObect with cuepoint, using NetStream.send in the client, and/or IMediaStream.sendDirect server-side

    Richard

    Richard

  3. #3

    Default

    Quote Originally Posted by rrlanham View Post
    Daniel,

    No, sorry, this is not supported. There are two approaches. You might have a dedicated sharedObject server that your Flash RTMP client uses a 2nd netconnection to connect to. Or you can replace sharedObect with cuepoint, using NetStream.send in the client, and/or IMediaStream.sendDirect server-side

    Richard

    Richard
    Hey Richard,

    Thanks for your reply.

    Can you explain how cuepoint can be used to replace a sharedObject and allow clustering?

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    You can inject a cuepoint into a live stream on the origin using IMediaStream.sendDirect, then you can listen for those in your Flash RTMP client that is connected to the edge.

    Origin server-side:
    IMediaStream stream = client.getAppInstance().getStreams().getStream("yourStream");
    AMFDataMixedArray data = new AMFDataMixedArray();
    data.put("message", new AMFDataItem("hello Wowza"));
    stream.sendDirect("clientsideCallbackFunction", data);
    Flash RTMP client-side:
    var clientObj:Object = new Object();
    clientObj.clientsideCallBackFunction(data:Object):void
    {
    trace(data.message);
    });
    
    netstream.client = clientObj;
    netstream.play("origin.stream"); // where origin.stream is something like: rtmp://[wowza-address]:1935/liveorigin/yourStream
    Richard

  5. #5

    Default

    Thanks Richard. So the idea here is that streaming connections are used (and wowza provides clustering/failover options for live streams). Persistence, and conflict resolution, on the other hand (features of RemoteSharedObjects provide) would be something we'd have to build up?

    We were looking to mainly leverage SharedObjects because we don't really have a need to stream video/audio. Given that, does Wowza even make sense?

    One last question, do live streams support rtmpt?

  6. #6
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    If no audio or video was involved, you could handle very large number of clients using just sharedObjects. I think a significant factor is how many clients there are per application instance, as they each is synced. But data only application is much lower bandwith usage than audio and video.

    Yes, you can at least playback a live stream over RTMPT in a Flash client.

    Richard

Similar Threads

  1. FlowPlayer Flash with clustering plugin + Dynamic Load Balancing Addon
    By carlosjpr in forum Media Players and Devices Discussion
    Replies: 3
    Last Post: 04-30-2013, 07:36 AM

Posting Permissions

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