public interface IMediaListReader
| Modifier and Type | Method and Description |
|---|---|
void |
close()
close file
|
IHTTPStreamerSession |
getHTTPStreamerSession()
Get the HTTPStreamerSession associated with this media list reader
|
String |
getMediaExtension()
Get media extension
|
MediaList |
getMediaList()
Get the MediaList object
|
String |
getPath()
Get abstract path to the media item
|
void |
init(IApplicationInstance appInstance,
IMediaStream stream,
String mediaReadType,
String basePath,
String mediaName,
IHTTPStreamerSession httpStreamerSession)
Initialize mediaReader
|
boolean |
isOpen()
is file open
|
void |
open(String basePath,
String name)
Open the file for reading
|
void |
setHTTPStreamerSession(IHTTPStreamerSession httpStreamerSession)
Set the HTTPStreamerSession associated with this media list reader
|
void |
setMediaReaderItem(com.wowza.wms.stream.MediaReaderItem mediaReaderItem)
Set the mediaReader item definition
|
void |
setProperties(WMSProperties properties)
Set the properties for this media reader
|
void close()
IHTTPStreamerSession getHTTPStreamerSession()
String getMediaExtension()
MediaList getMediaList()
String getPath()
void init(IApplicationInstance appInstance, IMediaStream stream, String mediaReadType, String basePath, String mediaName, IHTTPStreamerSession httpStreamerSession)
stream - parent streammediaReadType - media reader type id. Example: flvbasePath - Base path for application instancemediaName - name of the media itemboolean isOpen()
void open(String basePath,
String name)
basePath - base path to filename - file name without extensionvoid setHTTPStreamerSession(IHTTPStreamerSession httpStreamerSession)
httpStreamerSession - HTTPStreamerSessionvoid setMediaReaderItem(com.wowza.wms.stream.MediaReaderItem mediaReaderItem)
mediaReaderItem - void setProperties(WMSProperties properties)
properties - properties