Package com.wowza.wms.stream
Interface IMediaListReader
- 
 public interface IMediaListReader
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()close fileIHTTPStreamerSessiongetHTTPStreamerSession()Get the HTTPStreamerSession associated with this media list readerStringgetMediaExtension()Get media extensionMediaListgetMediaList()Get the MediaList objectStringgetPath()Get abstract path to the media itemvoidinit(IApplicationInstance appInstance, IMediaStream stream, String mediaReadType, String basePath, String mediaName, IHTTPStreamerSession httpStreamerSession)Initialize mediaReaderbooleanisOpen()is file openvoidopen(String basePath, String name)Open the file for readingvoidsetHTTPStreamerSession(IHTTPStreamerSession httpStreamerSession)Set the HTTPStreamerSession associated with this media list readervoidsetMediaReaderItem(com.wowza.wms.stream.MediaReaderItem mediaReaderItem)Set the mediaReader item definitionvoidsetProperties(WMSProperties properties)Set the properties for this media reader
 
- 
- 
- 
Method Detail- 
initvoid init(IApplicationInstance appInstance, IMediaStream stream, String mediaReadType, String basePath, String mediaName, IHTTPStreamerSession httpStreamerSession) Initialize mediaReader- Parameters:
- stream- parent stream
- mediaReadType- media reader type id. Example: flv
- basePath- Base path for application instance
- mediaName- name of the media item
 
 - 
setMediaReaderItemvoid setMediaReaderItem(com.wowza.wms.stream.MediaReaderItem mediaReaderItem) Set the mediaReader item definition- Parameters:
- mediaReaderItem-
 
 - 
openvoid open(String basePath, String name)Open the file for reading- Parameters:
- basePath- base path to file
- name- file name without extension
 
 - 
closevoid close() close file
 - 
isOpenboolean isOpen() is file open- Returns:
- is file open
 
 - 
setPropertiesvoid setProperties(WMSProperties properties) Set the properties for this media reader- Parameters:
- properties- properties
 
 - 
getPathString getPath() Get abstract path to the media item- Returns:
- abstract path to the media item
 
 - 
getMediaExtensionString getMediaExtension() Get media extension- Returns:
- media extension
 
 - 
getMediaListMediaList getMediaList() Get the MediaList object- Returns:
- MediaList object
 
 - 
getHTTPStreamerSessionIHTTPStreamerSession getHTTPStreamerSession() Get the HTTPStreamerSession associated with this media list reader- Returns:
- HTTPStreamerSession
 
 - 
setHTTPStreamerSessionvoid setHTTPStreamerSession(IHTTPStreamerSession httpStreamerSession) Set the HTTPStreamerSession associated with this media list reader- Parameters:
- httpStreamerSession- HTTPStreamerSession
 
 
- 
 
-