Package com.wowza.wms.stream
Class MediaWriterActionNotifyBase
- Object
-
- com.wowza.wms.stream.MediaWriterActionNotifyBase
-
- All Implemented Interfaces:
IMediaWriterActionNotify
public abstract class MediaWriterActionNotifyBase extends Object implements IMediaWriterActionNotify
Abstract base class for IMediaWriterActionNotify interface- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description MediaWriterActionNotifyBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onFLVAddMetadata(IMediaStream stream, java.util.Map<String,Object> extraMetadata)
Called just before metadata is written to the file (FLV only)void
onWriteComplete(IMediaStream stream, java.io.File file)
Called when writing is complete
-
-
-
Method Detail
-
onWriteComplete
public void onWriteComplete(IMediaStream stream, java.io.File file)
Description copied from interface:IMediaWriterActionNotify
Called when writing is complete- Specified by:
onWriteComplete
in interfaceIMediaWriterActionNotify
- Parameters:
stream
- streamfile
- file handle
-
onFLVAddMetadata
public void onFLVAddMetadata(IMediaStream stream, java.util.Map<String,Object> extraMetadata)
Description copied from interface:IMediaWriterActionNotify
Called just before metadata is written to the file (FLV only)- Specified by:
onFLVAddMetadata
in interfaceIMediaWriterActionNotify
- Parameters:
stream
- streamextraMetadata
- additional metadata, add to this collection to add items to onMetadata event written to FLV file.
-
-