public class MediaSourceData extends AbstractModel
Constructor and Description |
---|
MediaSourceData() |
MediaSourceData(MediaSourceData 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 |
---|---|
String |
getSourceContext()
Get Field passed through when a file is created.
|
String |
getSourceType()
Get Source of a media file:
`Record`: recording, such as live or time-shift recording
`Upload`: upload, such as pull for upload, upload from server, and UGC upload from client
`VideoProcessing`: video processing, such as video splicing and video clipping
`WebPageRecord`: panoramic recording
`Unknown`: unknown source
|
TrtcRecordInfo |
getTrtcRecordInfo()
Get The TRTC recording information.
|
void |
setSourceContext(String SourceContext)
Set Field passed through when a file is created.
|
void |
setSourceType(String SourceType)
Set Source of a media file:
`Record`: recording, such as live or time-shift recording
`Upload`: upload, such as pull for upload, upload from server, and UGC upload from client
`VideoProcessing`: video processing, such as video splicing and video clipping
`WebPageRecord`: panoramic recording
`Unknown`: unknown source
|
void |
setTrtcRecordInfo(TrtcRecordInfo TrtcRecordInfo)
Set The TRTC recording information.
|
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 MediaSourceData()
public MediaSourceData(MediaSourceData source)
public String getSourceType()
public void setSourceType(String SourceType)
SourceType
- Source of a media file:
public String getSourceContext()
public void setSourceContext(String SourceContext)
SourceContext
- Field passed through when a file is created.
Note: this field may return null, indicating that no valid values can be obtained.public TrtcRecordInfo getTrtcRecordInfo()
public void setTrtcRecordInfo(TrtcRecordInfo TrtcRecordInfo)
TrtcRecordInfo
- The TRTC recording information.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.