public interface S3TaskClient
| Modifier and Type | Method and Description |
|---|---|
DeleteStreamingTaskResult |
deleteHlsStreaming(String spaceId)
Deletes a streaming distribution for a space.
|
DeleteStreamingTaskResult |
deleteStreaming(String spaceId)
Deletes a streaming distribution for a space.
|
DisableStreamingTaskResult |
disableHlsStreaming(String spaceId)
Disables HLS streaming on a space.
|
DisableStreamingTaskResult |
disableStreaming(String spaceId)
Disables streaming on a space.
|
EnableStreamingTaskResult |
enableHlsStreaming(String spaceId,
boolean secure)
Enables HLS streaming on a space.
|
EnableStreamingTaskResult |
enableStreaming(String spaceId,
boolean secure)
Enables streaming on a space.
|
GetUrlTaskResult |
getHlsUrl(String spaceId,
String contentId)
Returns a URL representing an HLS streamable resource.
|
GetSignedCookiesUrlTaskResult |
getSignedCookiesUrl(String spaceId,
String ipAddress,
int minutesToExpire,
String redirectUrl)
Generates signed cookies and provides a URL at which those cookies can be
set on the user's browser
|
GetSignedUrlTaskResult |
getSignedUrl(String spaceId,
String contentId,
String resourcePrefix)
Retrieves a signed URL for a media file that is streamed through a secure
distribution; uses default minutes to expire (480) and allows streaming to
any IP address
|
GetSignedUrlTaskResult |
getSignedUrl(String spaceId,
String contentId,
String resourcePrefix,
int minutesToExpire,
String ipAddress)
Retrieves a signed URL for a media file that is streamed through a secure
distribution
|
GetUrlTaskResult |
getUrl(String spaceId,
String contentId,
String resourcePrefix)
Retrieves a URL for a media file that is streamed via an open distribution
|
EnableStreamingTaskResult enableStreaming(String spaceId, boolean secure) throws ContentStoreException
spaceId - the ID of the space where streaming will be enabledsecure - true if signed URLs should be required to stream space contentContentStoreException - on errorDisableStreamingTaskResult disableStreaming(String spaceId) throws ContentStoreException
spaceId - the ID of the space where streaming will be disabledContentStoreException - on erroDeleteStreamingTaskResult deleteStreaming(String spaceId) throws ContentStoreException
spaceId - the ID of the space where streaming will be disabledContentStoreException - on errorGetUrlTaskResult getUrl(String spaceId, String contentId, String resourcePrefix) throws ContentStoreException
spaceId - name of the space where the content to be streamed is storedcontentId - name of the content item to be streamedresourcePrefix - a prefix on the content item which may be required by
the streaming viewer/player (may be null)ContentStoreException - on errorGetSignedUrlTaskResult getSignedUrl(String spaceId, String contentId, String resourcePrefix) throws ContentStoreException
spaceId - name of the space where the content to be streamed is storedcontentId - name of the content item to be streamedresourcePrefix - a prefix on the content item which may be required by
the streaming viewer/player (may be null)ContentStoreException - on errorGetSignedUrlTaskResult getSignedUrl(String spaceId, String contentId, String resourcePrefix, int minutesToExpire, String ipAddress) throws ContentStoreException
spaceId - name of the space where the content to be streamed is storedcontentId - name of the content item to be streamedresourcePrefix - a prefix on the content item which may be required by
the streaming viewer/playerminutesToExpire - number of minutes that the stream should be available
for viewing through the retrieved URLipAddress - ip address range where requests to stream must originate, in
CIDR notation (e.g. 1.2.3.4/32)ContentStoreException - on errorEnableStreamingTaskResult enableHlsStreaming(String spaceId, boolean secure) throws ContentStoreException
spaceId - the ID of the space where streaming will be enabledsecure - true if signed URLs should be required to stream space contentContentStoreException - on errorDisableStreamingTaskResult disableHlsStreaming(String spaceId) throws ContentStoreException
spaceId - the ID of the space where streaming will be disabledContentStoreException - on erroDeleteStreamingTaskResult deleteHlsStreaming(String spaceId) throws ContentStoreException
spaceId - the ID of the space where streaming will be disabledContentStoreException - on errorGetUrlTaskResult getHlsUrl(String spaceId, String contentId) throws ContentStoreException
spaceId - the space ID that contains the content to be streamedcontentId - the content ID to be converted to a streaming URLContentStoreExceptionGetSignedCookiesUrlTaskResult getSignedCookiesUrl(String spaceId, String ipAddress, int minutesToExpire, String redirectUrl) throws ContentStoreException
spaceId - ipAddress - minutesToExpire - ContentStoreExceptionCopyright © 2009–2018 DuraSpace. All rights reserved.