com.wowza.wms.stream
Interface IMediaWriterActionNotify


public interface IMediaWriterActionNotify

IMediaWriterActionNotify: listener interface for file writing. See IApplicationInstance.addMediaWriterListener(IMediaWriterActionNotify listener)


Method Summary
 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

onFLVAddMetadata

void onFLVAddMetadata(IMediaStream stream,
                      java.util.Map<String,Object> extraMetadata)
Called just before metadata is written to the file (FLV only)

Parameters:
stream - stream
extraMetadata - additional metadata, add to this collection to add items to onMetadata event written to FLV file.

onWriteComplete

void onWriteComplete(IMediaStream stream,
                     java.io.File file)
Called when writing is complete

Parameters:
stream - stream
file - file handle