Package com.wowza.wms.transcoder.model
Class LiveStreamTranscoderActionNotifyBase
- Object
-
- com.wowza.wms.transcoder.model.LiveStreamTranscoderActionNotifyBase
-
- All Implemented Interfaces:
ILiveStreamTranscoderActionNotify
public class LiveStreamTranscoderActionNotifyBase extends Object implements ILiveStreamTranscoderActionNotify
-
-
Constructor Summary
Constructors Constructor Description LiveStreamTranscoderActionNotifyBase()
-
Method Summary
All Methods Instance Methods Concrete 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
public void onInitStart(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, String streamName, String transcoderName, IApplicationInstance appInstance, com.wowza.wms.stream.livetranscoder.LiveStreamTranscoderItem liveStreamTranscoderItem)
Description copied from interface:ILiveStreamTranscoderActionNotify
Call when live stream transcoder is first created- Specified by:
onInitStart
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcoderstreamName
- stream nametranscoderName
- transcoder nameappInstance
- application instanceliveStreamTranscoderItem
- live stream transcoder definition
-
onInitBeforeLoadTemplate
public void onInitBeforeLoadTemplate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called just before transcoder template is loaded- Specified by:
onInitBeforeLoadTemplate
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcoder
-
onInitAfterLoadTemplate
public void onInitAfterLoadTemplate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called just after transcoder template is loaded. Good place to modify values loaded from template.- Specified by:
onInitAfterLoadTemplate
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcoder
-
onInitStop
public void onInitStop(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
Description copied from interface:ILiveStreamTranscoderActionNotify
At the end of the initialization process- Specified by:
onInitStop
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcoder
-
onCalculateSourceVideoBitrate
public void onCalculateSourceVideoBitrate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, long bitrate)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called when the bitrate of the source video stream is calculated- Specified by:
onCalculateSourceVideoBitrate
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcoderbitrate
- source bitrate (bytes per second)
-
onCalculateSourceAudioBitrate
public void onCalculateSourceAudioBitrate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, long bitrate)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called when the bitrate of the source audio stream is calculated- Specified by:
onCalculateSourceAudioBitrate
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcoderbitrate
- source bitrate (bytes per second)
-
onSessionDestinationCreate
public void onSessionDestinationCreate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionDestination sessionDestination)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called when transcoding destination is created- Specified by:
onSessionDestinationCreate
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcodersessionDestination
- destination
-
onSessionVideoEncodeCreate
public void onSessionVideoEncodeCreate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called when video encoder session is created.- Specified by:
onSessionVideoEncodeCreate
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcodersessionVideoEncode
- video session
-
onSessionAudioEncodeCreate
public void onSessionAudioEncodeCreate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called when audio encoder session is created.- Specified by:
onSessionAudioEncodeCreate
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcodersessionAudioEncode
- audio session
-
onSessionDataEncodeCreate
public void onSessionDataEncodeCreate(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionDataEncode sessionDataEncode)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called when data encoder session is created.- Specified by:
onSessionDataEncodeCreate
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcodersessionDataEncode
- data session
-
onSessionVideoEncodeInit
public void onSessionVideoEncodeInit(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called after video session is initialized.- Specified by:
onSessionVideoEncodeInit
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcodersessionVideoEncode
- video session
-
onSessionAudioEncodeInit
public void onSessionAudioEncodeInit(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called after audio session is initialized.- Specified by:
onSessionAudioEncodeInit
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcodersessionAudioEncode
- audio session
-
onSessionDataEncodeInit
public void onSessionDataEncodeInit(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionDataEncode sessionDataEncode)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called after data session is initialized.- Specified by:
onSessionDataEncodeInit
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcodersessionDataEncode
- data session
-
onSessionVideoEncodeSetup
public void onSessionVideoEncodeSetup(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called after native video encoder is created and initialized.- Specified by:
onSessionVideoEncodeSetup
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcodersessionVideoEncode
- video session
-
onSessionAudioEncodeSetup
public void onSessionAudioEncodeSetup(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called after native audio encoder is created and initialized.- Specified by:
onSessionAudioEncodeSetup
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcodersessionAudioEncode
- audio session
-
onSessionVideoEncodeCodecInfo
public void onSessionVideoEncodeCodecInfo(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionVideoEncode sessionVideoEncode, com.wowza.wms.media.model.MediaCodecInfoVideo codecInfoVideo)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called when video encoding information is available.- Specified by:
onSessionVideoEncodeCodecInfo
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcodersessionVideoEncode
- video sessioncodecInfoVideo
- encoding info
-
onSessionAudioEncodeCodecInfo
public void onSessionAudioEncodeCodecInfo(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderSessionAudioEncode sessionAudioEncode, com.wowza.wms.media.model.MediaCodecInfoAudio codecInfoAudio)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called when audio encoding information is available.- Specified by:
onSessionAudioEncodeCodecInfo
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcodersessionAudioEncode
- audio sessioncodecInfoAudio
- encoding info
-
onSessionVideoDecodeCodecInfo
public void onSessionVideoDecodeCodecInfo(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.media.model.MediaCodecInfoVideo codecInfoVideo)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called when video decoding information is available.- Specified by:
onSessionVideoDecodeCodecInfo
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcodercodecInfoVideo
- video info
-
onSessionAudioDecodeCodecInfo
public void onSessionAudioDecodeCodecInfo(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.media.model.MediaCodecInfoAudio codecInfoAudio)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called when audio decoding information is available.- Specified by:
onSessionAudioDecodeCodecInfo
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcodercodecInfoAudio
- audio info
-
onShutdownStart
public void onShutdownStart(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called when the live stream transcoder starts to shutdown.- Specified by:
onShutdownStart
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcoder
-
onShutdownStop
public void onShutdownStop(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called when the live stream transcoder is shutdown.- Specified by:
onShutdownStop
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcoder
-
onResetStream
public void onResetStream(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called when the stream feeding the live stream transcoder switches.- Specified by:
onResetStream
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcoder
-
onRegisterStreamNameGroup
public void onRegisterStreamNameGroup(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderStreamNameGroup streamNameGroup)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called after a stream name group is resolved and registered with MediaStreamMap- Specified by:
onRegisterStreamNameGroup
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcoderstreamNameGroup
- stream name group
-
onUnregisterStreamNameGroup
public void onUnregisterStreamNameGroup(com.wowza.wms.transcoder.model.LiveStreamTranscoder liveStreamTranscoder, com.wowza.wms.transcoder.model.TranscoderStreamNameGroup streamNameGroup)
Description copied from interface:ILiveStreamTranscoderActionNotify
Called after a stream name group is unregistered with MediaStreamMap- Specified by:
onUnregisterStreamNameGroup
in interfaceILiveStreamTranscoderActionNotify
- Parameters:
liveStreamTranscoder
- live stream transcoderstreamNameGroup
- stream name group
-
-