public class ProcessLiveStreamRequest extends AbstractModel
Constructor and Description |
---|
ProcessLiveStreamRequest() |
ProcessLiveStreamRequest(ProcessLiveStreamRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
AiContentReviewTaskInput |
getAiContentReviewTask()
Get Type parameter of a video content audit task.
|
AiRecognitionTaskInput |
getAiRecognitionTask()
Get Type parameter of video content recognition task.
|
String |
getOutputDir()
Get Target directory of a live stream processing output file, such as `/movie/201909/`.
|
TaskOutputStorage |
getOutputStorage()
Get Target bucket of a live stream processing output file.
|
String |
getSessionContext()
Get The source context which is used to pass through the user request information.
|
String |
getSessionId()
Get The ID used for deduplication.
|
LiveStreamTaskNotifyConfig |
getTaskNotifyConfig()
Get Event notification information of a task, which is used to specify the live stream processing result.
|
String |
getUrl()
Get Live stream URL, which must be a live stream file address.
|
void |
setAiContentReviewTask(AiContentReviewTaskInput AiContentReviewTask)
Set Type parameter of a video content audit task.
|
void |
setAiRecognitionTask(AiRecognitionTaskInput AiRecognitionTask)
Set Type parameter of video content recognition task.
|
void |
setOutputDir(String OutputDir)
Set Target directory of a live stream processing output file, such as `/movie/201909/`.
|
void |
setOutputStorage(TaskOutputStorage OutputStorage)
Set Target bucket of a live stream processing output file.
|
void |
setSessionContext(String SessionContext)
Set The source context which is used to pass through the user request information.
|
void |
setSessionId(String SessionId)
Set The ID used for deduplication.
|
void |
setTaskNotifyConfig(LiveStreamTaskNotifyConfig TaskNotifyConfig)
Set Event notification information of a task, which is used to specify the live stream processing result.
|
void |
setUrl(String Url)
Set Live stream URL, which must be a live stream file address.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ProcessLiveStreamRequest()
public ProcessLiveStreamRequest(ProcessLiveStreamRequest source)
public String getUrl()
public void setUrl(String Url)
Url
- Live stream URL, which must be a live stream file address. RTMP, HLS, and FLV are supported.public LiveStreamTaskNotifyConfig getTaskNotifyConfig()
public void setTaskNotifyConfig(LiveStreamTaskNotifyConfig TaskNotifyConfig)
TaskNotifyConfig
- Event notification information of a task, which is used to specify the live stream processing result.public TaskOutputStorage getOutputStorage()
public void setOutputStorage(TaskOutputStorage OutputStorage)
OutputStorage
- Target bucket of a live stream processing output file. This parameter is required if a file will be output.public String getOutputDir()
public void setOutputDir(String OutputDir)
OutputDir
- Target directory of a live stream processing output file, such as `/movie/201909/`. If this parameter is left empty, the `/` directory will be used.public AiContentReviewTaskInput getAiContentReviewTask()
public void setAiContentReviewTask(AiContentReviewTaskInput AiContentReviewTask)
AiContentReviewTask
- Type parameter of a video content audit task.public AiRecognitionTaskInput getAiRecognitionTask()
public void setAiRecognitionTask(AiRecognitionTaskInput AiRecognitionTask)
AiRecognitionTask
- Type parameter of video content recognition task.public String getSessionId()
public void setSessionId(String SessionId)
SessionId
- The ID used for deduplication. If there was a request with the same ID in the last seven days, the current request will return an error. The ID can contain up to 50 characters. If this parameter is left empty or an empty string is entered, no deduplication will be performed.public String getSessionContext()
public void setSessionContext(String SessionContext)
SessionContext
- The source context which is used to pass through the user request information. The task flow status change callback will return the value of this field. It can contain up to 1,000 characters.Copyright © 2023. All rights reserved.