Package com.wowza.wms.mediacaster
Interface IMediaCasterNotify2
-
- All Superinterfaces:
IMediaCasterNotify
public interface IMediaCasterNotify2 extends IMediaCasterNotify
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onConnectFailure(IMediaCaster mediaCaster)
Invoked when a connection or reconnection attempt failsvoid
onConnectStart(IMediaCaster mediaCaster)
Invoked when a connection or reconnection attempt is invokedvoid
onConnectSuccess(IMediaCaster mediaCaster)
Invoked when a connection or reconnection attempt is successfulvoid
onStreamStart(IMediaCaster mediaCaster)
Invoked when the stream starts receiving media data from the media source.void
onStreamStop(IMediaCaster mediaCaster)
Invoked when the stream stops receiving media data from the media source after the streamTimeout value has passed.-
Methods inherited from interface com.wowza.wms.mediacaster.IMediaCasterNotify
onMediaCasterCreate, onMediaCasterDestroy, onRegisterPlayer, onSetSourceStream, onUnRegisterPlayer
-
-
-
-
Method Detail
-
onConnectStart
void onConnectStart(IMediaCaster mediaCaster)
Invoked when a connection or reconnection attempt is invoked- Parameters:
mediaCaster
-
-
onConnectSuccess
void onConnectSuccess(IMediaCaster mediaCaster)
Invoked when a connection or reconnection attempt is successful- Parameters:
mediaCaster
-
-
onConnectFailure
void onConnectFailure(IMediaCaster mediaCaster)
Invoked when a connection or reconnection attempt fails- Parameters:
mediaCaster
-
-
onStreamStart
void onStreamStart(IMediaCaster mediaCaster)
Invoked when the stream starts receiving media data from the media source. This event will only be thrown if the MediaCaster property streamTimeout is set to a non-zero value.- Parameters:
mediaCaster
-
-
onStreamStop
void onStreamStop(IMediaCaster mediaCaster)
Invoked when the stream stops receiving media data from the media source after the streamTimeout value has passed. This event will only be thrown if the MediaCaster property streamTimeout is set to a non-zero value.- Parameters:
mediaCaster
-
-
-