@Controller @RequestMapping(value="/spaces/mediastreamer") public class MediaStreamingTaskController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
log |
protected static String |
STREAMING_ENABLED_KEY |
| Constructor and Description |
|---|
MediaStreamingTaskController(ContentStoreManager contentStoreManager) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.servlet.ModelAndView |
enableHlsStreaming(String storeId,
String spaceId,
boolean enable) |
org.springframework.web.servlet.ModelAndView |
enableRtmpStreaming(String storeId,
String spaceId,
boolean enable) |
protected static final String STREAMING_ENABLED_KEY
protected final org.slf4j.Logger log
@Autowired public MediaStreamingTaskController(ContentStoreManager contentStoreManager)
@RequestMapping(value="rtmp",
method=POST)
public org.springframework.web.servlet.ModelAndView enableRtmpStreaming(@RequestParam(required=true)
String storeId,
@RequestParam(required=true)
String spaceId,
@RequestParam(required=true)
boolean enable)
throws Exception
Exception@RequestMapping(value="hls",
method=POST)
public org.springframework.web.servlet.ModelAndView enableHlsStreaming(@RequestParam(required=true)
String storeId,
@RequestParam(required=true)
String spaceId,
@RequestParam(required=true)
boolean enable)
throws Exception
ExceptionCopyright © 2009–2018 DuraSpace. All rights reserved.