Package com.wowza.wms.stream
Interface IMediaStreamActionNotify
-
- All Known Subinterfaces:
IMediaStreamActionNotify2
,IMediaStreamActionNotify3
- All Known Implementing Classes:
MediaStreamActionNotify3Base
,MediaStreamActionNotifyBase
public interface IMediaStreamActionNotify
IMediaStreamActionNotify: listener interface used by IMediaStream addClientListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onPause(IMediaStream stream, boolean isPause, double location)
Triggered on mediaStream pausevoid
onPlay(IMediaStream stream, String streamName, double playStart, double playLen, int playReset)
Triggered on mediaStream playvoid
onPublish(IMediaStream stream, String streamName, boolean isRecord, boolean isAppend)
Triggered on mediaStream publishvoid
onSeek(IMediaStream stream, double location)
Triggered on mediaStream seekvoid
onStop(IMediaStream stream)
Triggered on mediaStream stopvoid
onUnPublish(IMediaStream stream, String streamName, boolean isRecord, boolean isAppend)
Triggered on mediaStream unpublish
-
-
-
Method Detail
-
onPlay
void onPlay(IMediaStream stream, String streamName, double playStart, double playLen, int playReset)
Triggered on mediaStream play- Parameters:
stream
- mediaStreamstreamName
- streamNameplayStart
- playStart offsetplayLen
- playLenplayReset
- reset playlist
-
onPublish
void onPublish(IMediaStream stream, String streamName, boolean isRecord, boolean isAppend)
Triggered on mediaStream publish- Parameters:
stream
- mediaStreamstreamName
- streamNameisRecord
- recording streamisAppend
- appending to file
-
onUnPublish
void onUnPublish(IMediaStream stream, String streamName, boolean isRecord, boolean isAppend)
Triggered on mediaStream unpublish- Parameters:
stream
- mediaStreamstreamName
- streamNameisRecord
- recording streamisAppend
- appending to file
-
onPause
void onPause(IMediaStream stream, boolean isPause, double location)
Triggered on mediaStream pause- Parameters:
stream
- mediaStreamisPause
- pause or unpauselocation
- location (milliseconds)
-
onSeek
void onSeek(IMediaStream stream, double location)
Triggered on mediaStream seek- Parameters:
stream
- mediaStreamlocation
- location (milliseconds)
-
onStop
void onStop(IMediaStream stream)
Triggered on mediaStream stop- Parameters:
stream
- mediaStream
-
-