Interface IStreamHandler


  • public interface IStreamHandler
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onBroadcastStreamStart​(org.red5.server.api.stream.IStream stream)
      Called when the broadcast starts
      void onBroadcastStreamSubscribe​(org.red5.server.api.stream.IBroadcastStream stream)
      Called when a client subscribes to a broadcast
      void onBroadcastStreamUnsubscribe​(org.red5.server.api.stream.IBroadcastStream stream)
      Called when a client unsubscribes from a broadcast
      void onOnDemandStreamConnect​(org.red5.server.api.stream.IOnDemandStream stream)
      Called when a client connects to an on demand stream
      void onOnDemandStreamDisconnect​(org.red5.server.api.stream.IOnDemandStream stream)
      Called when a client disconnects from an on demand stream
      void onRecordStreamStart​(org.red5.server.api.stream.IStream stream)
      Called when a recording starts
      void onRecordStreamStop​(org.red5.server.api.stream.IStream stream)
      Called when a recording stops
      void onStreamPublishStart​(org.red5.server.api.stream.IStream stream)
      Called when the client begins publishing
      void onStreamPublishStop​(org.red5.server.api.stream.IStream stream)
      Called when the client stops publishing
    • Method Detail

      • onStreamPublishStart

        void onStreamPublishStart​(org.red5.server.api.stream.IStream stream)
        Called when the client begins publishing
        Parameters:
        stream - the stream object
      • onStreamPublishStop

        void onStreamPublishStop​(org.red5.server.api.stream.IStream stream)
        Called when the client stops publishing
        Parameters:
        stream - the stream object
      • onBroadcastStreamStart

        void onBroadcastStreamStart​(org.red5.server.api.stream.IStream stream)
        Called when the broadcast starts
        Parameters:
        stream - the stream object
      • onRecordStreamStart

        void onRecordStreamStart​(org.red5.server.api.stream.IStream stream)
        Called when a recording starts
        Parameters:
        stream - the stream object
      • onRecordStreamStop

        void onRecordStreamStop​(org.red5.server.api.stream.IStream stream)
        Called when a recording stops
        Parameters:
        stream - the stream object
      • onBroadcastStreamSubscribe

        void onBroadcastStreamSubscribe​(org.red5.server.api.stream.IBroadcastStream stream)
        Called when a client subscribes to a broadcast
        Parameters:
        stream - the stream object
      • onBroadcastStreamUnsubscribe

        void onBroadcastStreamUnsubscribe​(org.red5.server.api.stream.IBroadcastStream stream)
        Called when a client unsubscribes from a broadcast
        Parameters:
        stream - the stream object
      • onOnDemandStreamConnect

        void onOnDemandStreamConnect​(org.red5.server.api.stream.IOnDemandStream stream)
        Called when a client connects to an on demand stream
        Parameters:
        stream - the stream object
      • onOnDemandStreamDisconnect

        void onOnDemandStreamDisconnect​(org.red5.server.api.stream.IOnDemandStream stream)
        Called when a client disconnects from an on demand stream
        Parameters:
        stream - the stream object