Package org.red5.server.api.stream
Interface IStreamAwareScopeHandler
- All Superinterfaces:
IEventHandler,IScopeHandler
- All Known Implementing Classes:
AdminApplication,AntMediaApplicationAdapter,ApplicationAdapter,MultiThreadedApplicationAdapter
A scope handler that is stream aware.
- Author:
- The Red5 Project, Steven Gong ([email protected])
-
Method Summary
Modifier and TypeMethodDescriptionvoidstreamBroadcastClose(IBroadcastStream stream) Notified when a broadcaster closes.voidstreamBroadcastStart(IBroadcastStream stream) Notified when a broadcaster starts.voidstreamPlayItemPause(ISubscriberStream stream, IPlayItem item, int position) Notified when a play item pauses.voidstreamPlayItemPlay(ISubscriberStream stream, IPlayItem item, boolean isLive) Notified when a play item plays.voidstreamPlayItemResume(ISubscriberStream stream, IPlayItem item, int position) Notified when a play item resumes.voidstreamPlayItemSeek(ISubscriberStream stream, IPlayItem item, int position) Notified when a play item seeks.voidstreamPlayItemStop(ISubscriberStream stream, IPlayItem item) Notified when a play item stops.voidstreamPublishStart(IBroadcastStream stream) A broadcast stream starts being published.voidstreamRecordStart(IBroadcastStream stream) A broadcast stream starts being recorded.voidstreamRecordStop(IBroadcastStream stream) A broadcast stream stops being recorded.voidNotified when a subscriber closes.voidNotified when a subscriber starts.Methods inherited from interface org.red5.server.api.event.IEventHandler
handleEventMethods inherited from interface org.red5.server.api.scope.IScopeHandler
addChildScope, connect, disconnect, join, leave, removeChildScope, serviceCall, start, stop
-
Method Details
-
streamPublishStart
A broadcast stream starts being published. This will be called when the first video packet has been received.- Parameters:
stream- stream
-
streamRecordStart
A broadcast stream starts being recorded. This will be called when the first video packet has been received.- Parameters:
stream- stream
-
streamRecordStop
A broadcast stream stops being recorded. This will be called when the record-stop notification is sent to the Flash client.- Parameters:
stream- stream
-
streamBroadcastStart
Notified when a broadcaster starts.- Parameters:
stream- stream
-
streamBroadcastClose
Notified when a broadcaster closes.- Parameters:
stream- stream
-
streamSubscriberStart
Notified when a subscriber starts.- Parameters:
stream- stream
-
streamSubscriberClose
Notified when a subscriber closes.- Parameters:
stream- stream
-
streamPlayItemPlay
Notified when a play item plays.- Parameters:
stream- streamitem- itemisLive- true if live
-
streamPlayItemStop
Notified when a play item stops.- Parameters:
stream- streamitem- item
-
streamPlayItemPause
Notified when a play item pauses.- Parameters:
stream- streamitem- itemposition- position
-
streamPlayItemResume
Notified when a play item resumes.- Parameters:
stream- streamitem- itemposition- position
-
streamPlayItemSeek
Notified when a play item seeks.- Parameters:
stream- streamitem- itemposition- position
-