Package com.wowza.wms.stream
Interface IMediaStreamFileMapper
public interface IMediaStreamFileMapper
Interface for mapping a IMediaStream to the underlying file system. Implement this interface and set your class using IApplicationInstance.setStreamFileMapper(IMediaStreamFileMapper streamFileMapper). Your class will then be called each time a stream needs to be mapped to the underlying file system.
-
Method Summary
Modifier and TypeMethodDescriptionstreamToFileForRead
(IMediaStream stream) Get the File object to read from a stream (get stream name, ext and query from stream object)streamToFileForRead
(IMediaStream stream, String name, String ext, String query) Get the File object to read from a stream (specify name, ext and query)streamToFileForWrite
(IMediaStream stream) Get the File object to write to a stream (get stream name, ext and query from stream object)streamToFileForWrite
(IMediaStream stream, String name, String ext, String query) Get the File object to write to a stream (specify name, ext and query)
-
Method Details
-
streamToFileForRead
Get the File object to read from a stream (specify name, ext and query)- Parameters:
stream
- streamname
- stream nameext
- stream prefix (Ex. mp4:)query
- query part of stream name (Ex. mystream?param1=value1)- Returns:
- resultant File object
-
streamToFileForRead
Get the File object to read from a stream (get stream name, ext and query from stream object)- Parameters:
stream
- stream- Returns:
- resultant File object
-
streamToFileForWrite
Get the File object to write to a stream (specify name, ext and query)- Parameters:
stream
- streamname
- stream nameext
- stream prefix (Ex. mp4:)query
- query part of stream name (Ex. mystream?param1=value1)- Returns:
- resultant File object
-
streamToFileForWrite
Get the File object to write to a stream (get stream name, ext and query from stream object)- Parameters:
stream
- stream- Returns:
- resultant File object
-