protected void checkThatStreamingServiceIsEnabled ( String spaceId , String taskName ) { // Verify that streaming is enabled Map < String , String > spaceProperties = s3Provider . getSpaceProperties ( spaceId ) ; if ( ! spaceProperties . containsKey ( HLS_STREAMING_HOST_PROP ) ) { throw new UnsupportedTaskException ( taskName , "The " + taskName + " task can only be used after a space " + "has been configured to enable HLS streaming. Use " + StorageTaskConstants . ENABLE_HLS_TASK_NAME + " to enable HLS streaming on this space." ) ; } }
Determines if a streaming distribution exists for a given space