Package com.wowza.wms.transcoder.model
Interface ILiveStreamTranscoderActionNotify
-
- All Known Implementing Classes:
LiveStreamTranscoderActionNotifyBase
public interface ILiveStreamTranscoderActionNotify
ILiveStreamTranscoderActionNotify: listener interface for live stream transcoder events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onCalculateSourceAudioBitrate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, long bitrate)
Called when the bitrate of the source audio stream is calculatedvoid
onCalculateSourceVideoBitrate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, long bitrate)
Called when the bitrate of the source video stream is calculatedvoid
onInitAfterLoadTemplate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
Called just after transcoder template is loaded.void
onInitBeforeLoadTemplate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
Called just before transcoder template is loadedvoid
onInitStart(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, String streamName, String transcoderName, IApplicationInstance appInstance, com.wowza.wms.stream.livetranscoder.LiveStreamTranscoderItem liveStreamTranscoderItem)
Call when live stream transcoder is first createdvoid
onInitStop(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
At the end of the initialization processvoid
onRegisterStreamNameGroup(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderStreamNameGroup streamNameGroup)
Called after a stream name group is resolved and registered with MediaStreamMapvoid
onResetStream(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
Called when the stream feeding the live stream transcoder switches.void
onSessionAudioDecodeCodecInfo(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.media.model.MediaCodecInfoAudio codecInfoAudio)
Called when audio decoding information is available.void
onSessionAudioEncodeCodecInfo(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode, com.wowza.wms.media.model.MediaCodecInfoAudio codecInfoAudio)
Called when audio encoding information is available.void
onSessionAudioEncodeCreate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode)
Called when audio encoder session is created.void
onSessionAudioEncodeInit(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode)
Called after audio session is initialized.void
onSessionAudioEncodeSetup(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode)
Called after native audio encoder is created and initialized.void
onSessionDataEncodeCreate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionDataEncode sessionDataEncode)
Called when data encoder session is created.void
onSessionDataEncodeInit(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionDataEncode sessionDataEncode)
Called after data session is initialized.void
onSessionDestinationCreate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionDestination sessionDestination)
Called when transcoding destination is createdvoid
onSessionVideoDecodeCodecInfo(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.media.model.MediaCodecInfoVideo codecInfoVideo)
Called when video decoding information is available.void
onSessionVideoEncodeCodecInfo(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode, com.wowza.wms.media.model.MediaCodecInfoVideo codecInfoVideo)
Called when video encoding information is available.void
onSessionVideoEncodeCreate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode)
Called when video encoder session is created.void
onSessionVideoEncodeInit(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode)
Called after video session is initialized.void
onSessionVideoEncodeSetup(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode)
Called after native video encoder is created and initialized.void
onShutdownStart(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
Called when the live stream transcoder starts to shutdown.void
onShutdownStop(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
Called when the live stream transcoder is shutdown.void
onUnregisterStreamNameGroup(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderStreamNameGroup streamNameGroup)
Called after a stream name group is unregistered with MediaStreamMap
-
-
-
Method Detail
-
onInitStart
void onInitStart(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, String streamName, String transcoderName, IApplicationInstance appInstance, com.wowza.wms.stream.livetranscoder.LiveStreamTranscoderItem liveStreamTranscoderItem)
Call when live stream transcoder is first created- Parameters:
liveStreamTranscoder
- live stream transcoderstreamName
- stream nametranscoderName
- transcoder nameappInstance
- application instanceliveStreamTranscoderItem
- live stream transcoder definition
-
onInitBeforeLoadTemplate
void onInitBeforeLoadTemplate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
Called just before transcoder template is loaded- Parameters:
liveStreamTranscoder
- live stream transcoder
-
onInitAfterLoadTemplate
void onInitAfterLoadTemplate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
Called just after transcoder template is loaded. Good place to modify values loaded from template.- Parameters:
liveStreamTranscoder
- live stream transcoder
-
onInitStop
void onInitStop(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
At the end of the initialization process- Parameters:
liveStreamTranscoder
- live stream transcoder
-
onCalculateSourceVideoBitrate
void onCalculateSourceVideoBitrate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, long bitrate)
Called when the bitrate of the source video stream is calculated- Parameters:
liveStreamTranscoder
- live stream transcoderbitrate
- source bitrate (bytes per second)
-
onCalculateSourceAudioBitrate
void onCalculateSourceAudioBitrate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, long bitrate)
Called when the bitrate of the source audio stream is calculated- Parameters:
liveStreamTranscoder
- live stream transcoderbitrate
- source bitrate (bytes per second)
-
onSessionDestinationCreate
void onSessionDestinationCreate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionDestination sessionDestination)
Called when transcoding destination is created- Parameters:
liveStreamTranscoder
- live stream transcodersessionDestination
- destination
-
onSessionVideoEncodeCreate
void onSessionVideoEncodeCreate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode)
Called when video encoder session is created.- Parameters:
liveStreamTranscoder
- live stream transcodersessionVideoEncode
- video session
-
onSessionAudioEncodeCreate
void onSessionAudioEncodeCreate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode)
Called when audio encoder session is created.- Parameters:
liveStreamTranscoder
- live stream transcodersessionAudioEncode
- audio session
-
onSessionDataEncodeCreate
void onSessionDataEncodeCreate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionDataEncode sessionDataEncode)
Called when data encoder session is created.- Parameters:
liveStreamTranscoder
- live stream transcodersessionDataEncode
- data session
-
onSessionVideoEncodeInit
void onSessionVideoEncodeInit(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode)
Called after video session is initialized.- Parameters:
liveStreamTranscoder
- live stream transcodersessionVideoEncode
- video session
-
onSessionAudioEncodeInit
void onSessionAudioEncodeInit(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode)
Called after audio session is initialized.- Parameters:
liveStreamTranscoder
- live stream transcodersessionAudioEncode
- audio session
-
onSessionDataEncodeInit
void onSessionDataEncodeInit(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionDataEncode sessionDataEncode)
Called after data session is initialized.- Parameters:
liveStreamTranscoder
- live stream transcodersessionDataEncode
- data session
-
onSessionVideoEncodeSetup
void onSessionVideoEncodeSetup(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode)
Called after native video encoder is created and initialized.- Parameters:
liveStreamTranscoder
- live stream transcodersessionVideoEncode
- video session
-
onSessionAudioEncodeSetup
void onSessionAudioEncodeSetup(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode)
Called after native audio encoder is created and initialized.- Parameters:
liveStreamTranscoder
- live stream transcodersessionAudioEncode
- audio session
-
onSessionVideoEncodeCodecInfo
void onSessionVideoEncodeCodecInfo(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode, com.wowza.wms.media.model.MediaCodecInfoVideo codecInfoVideo)
Called when video encoding information is available.- Parameters:
liveStreamTranscoder
- live stream transcodersessionVideoEncode
- video sessioncodecInfoVideo
- encoding info
-
onSessionAudioEncodeCodecInfo
void onSessionAudioEncodeCodecInfo(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode, com.wowza.wms.media.model.MediaCodecInfoAudio codecInfoAudio)
Called when audio encoding information is available.- Parameters:
liveStreamTranscoder
- live stream transcodersessionAudioEncode
- audio sessioncodecInfoAudio
- encoding info
-
onSessionVideoDecodeCodecInfo
void onSessionVideoDecodeCodecInfo(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.media.model.MediaCodecInfoVideo codecInfoVideo)
Called when video decoding information is available.- Parameters:
liveStreamTranscoder
- live stream transcodercodecInfoVideo
- video info
-
onSessionAudioDecodeCodecInfo
void onSessionAudioDecodeCodecInfo(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.media.model.MediaCodecInfoAudio codecInfoAudio)
Called when audio decoding information is available.- Parameters:
liveStreamTranscoder
- live stream transcodercodecInfoAudio
- audio info
-
onRegisterStreamNameGroup
void onRegisterStreamNameGroup(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderStreamNameGroup streamNameGroup)
Called after a stream name group is resolved and registered with MediaStreamMap- Parameters:
liveStreamTranscoder
- live stream transcoderstreamNameGroup
- stream name group
-
onUnregisterStreamNameGroup
void onUnregisterStreamNameGroup(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderStreamNameGroup streamNameGroup)
Called after a stream name group is unregistered with MediaStreamMap- Parameters:
liveStreamTranscoder
- live stream transcoderstreamNameGroup
- stream name group
-
onShutdownStart
void onShutdownStart(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
Called when the live stream transcoder starts to shutdown.- Parameters:
liveStreamTranscoder
- live stream transcoder
-
onShutdownStop
void onShutdownStop(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
Called when the live stream transcoder is shutdown.- Parameters:
liveStreamTranscoder
- live stream transcoder
-
onResetStream
void onResetStream(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
Called when the stream feeding the live stream transcoder switches.- Parameters:
liveStreamTranscoder
- live stream transcoder
-
-