Package org.red5.server.api.stream
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 startsvoid
onBroadcastStreamSubscribe(org.red5.server.api.stream.IBroadcastStream stream)
Called when a client subscribes to a broadcastvoid
onBroadcastStreamUnsubscribe(org.red5.server.api.stream.IBroadcastStream stream)
Called when a client unsubscribes from a broadcastvoid
onOnDemandStreamConnect(org.red5.server.api.stream.IOnDemandStream stream)
Called when a client connects to an on demand streamvoid
onOnDemandStreamDisconnect(org.red5.server.api.stream.IOnDemandStream stream)
Called when a client disconnects from an on demand streamvoid
onRecordStreamStart(org.red5.server.api.stream.IStream stream)
Called when a recording startsvoid
onRecordStreamStop(org.red5.server.api.stream.IStream stream)
Called when a recording stopsvoid
onStreamPublishStart(org.red5.server.api.stream.IStream stream)
Called when the client begins publishingvoid
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
-
-