public interface S3TaskClient
| Modifier and Type | Method and Description |
|---|---|
DeleteStreamingTaskResult |
deleteStreaming(String spaceId)
Deletes a streaming distribution for a space.
|
DisableStreamingTaskResult |
disableStreaming(String spaceId)
Disables streaming on a space.
|
EnableStreamingTaskResult |
enableStreaming(String spaceId,
boolean secure)
Enables streaming on a space.
|
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 errorCopyright © 2009–2017 DuraSpace. All rights reserved.