Package com.wowza.wms.manifest.builder
Class ManifestService
- Object
-
- com.wowza.wms.manifest.builder.ManifestService
-
- All Implemented Interfaces:
Runnable
public class ManifestService extends Object implements Runnable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ManifestService.ManifestRequest
static class
ManifestService.MSG_TYPE
-
Field Summary
Fields Modifier and Type Field Description static String
MSG_PARAM_APP
static String
MSG_PARAM_APP_INSTANCE
static String
MSG_PARAM_HINT
static String
MSG_PARAM_SEGMENT
static String
MSG_PARAM_STREAM_NAME
static String
MSG_PARAM_TYPE
-
Constructor Summary
Constructors Constructor Description ManifestService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
addSegment(java.util.Map data)
static String
getKey(com.wowza.wms.httpstreamer.PlaylistKey playlistKey)
static String
getKey(java.util.Map<String,Object> data)
static String
getManifest(java.util.Map<String,Object> params, IHTTPStreamerSession httpStreamerSession, com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.HTTPStreamerAdapterCupertinoStreamer.RequestInfo requestInfo)
static SegmentPartId
getManifestLastSegmentPart(java.util.Map<String,Object> params)
static ManifestModel
getManifestModel(java.util.Map<String,Object> params, IHTTPStreamerSession httpStreamerSession, com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.HTTPStreamerAdapterCupertinoStreamer.RequestInfo requestInfo)
static void
registerManifestRequest(com.wowza.wms.httpstreamer.PlaylistKey playlistKey, java.util.function.Consumer<ManifestUpdate> manifestHandler)
void
run()
static Thread
shutdown()
static void
stopStream(java.util.Map data)
static void
unRegisterManifestRequest(com.wowza.wms.httpstreamer.PlaylistKey playlistKey, java.util.function.Consumer<ManifestUpdate> manifestHandler)
static void
updateSegmentHint(java.util.Map data)
-
-
-
Field Detail
-
MSG_PARAM_TYPE
public static final String MSG_PARAM_TYPE
- See Also:
- Constant Field Values
-
MSG_PARAM_APP
public static final String MSG_PARAM_APP
- See Also:
- Constant Field Values
-
MSG_PARAM_APP_INSTANCE
public static final String MSG_PARAM_APP_INSTANCE
- See Also:
- Constant Field Values
-
MSG_PARAM_STREAM_NAME
public static final String MSG_PARAM_STREAM_NAME
- See Also:
- Constant Field Values
-
MSG_PARAM_SEGMENT
public static final String MSG_PARAM_SEGMENT
- See Also:
- Constant Field Values
-
MSG_PARAM_HINT
public static final String MSG_PARAM_HINT
- See Also:
- Constant Field Values
-
-
Method Detail
-
registerManifestRequest
public static void registerManifestRequest(com.wowza.wms.httpstreamer.PlaylistKey playlistKey, java.util.function.Consumer<ManifestUpdate> manifestHandler)
-
unRegisterManifestRequest
public static void unRegisterManifestRequest(com.wowza.wms.httpstreamer.PlaylistKey playlistKey, java.util.function.Consumer<ManifestUpdate> manifestHandler)
-
stopStream
public static void stopStream(java.util.Map data)
-
updateSegmentHint
public static void updateSegmentHint(java.util.Map data)
-
addSegment
public static void addSegment(java.util.Map data)
-
shutdown
public static Thread shutdown()
-
run
public void run()
- Specified by:
run
in interfaceRunnable
-
getManifest
public static String getManifest(java.util.Map<String,Object> params, IHTTPStreamerSession httpStreamerSession, com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.HTTPStreamerAdapterCupertinoStreamer.RequestInfo requestInfo)
-
getManifestModel
public static ManifestModel getManifestModel(java.util.Map<String,Object> params, IHTTPStreamerSession httpStreamerSession, com.wowza.wms.httpstreamer.cupertinostreaming.httpstreamer.HTTPStreamerAdapterCupertinoStreamer.RequestInfo requestInfo)
-
getManifestLastSegmentPart
public static SegmentPartId getManifestLastSegmentPart(java.util.Map<String,Object> params)
-
getKey
public static String getKey(java.util.Map<String,Object> data)
-
getKey
public static String getKey(com.wowza.wms.httpstreamer.PlaylistKey playlistKey)
-
-