public class MediaMetaData extends AbstractModel
| Constructor and Description | 
|---|
| MediaMetaData() | 
| MediaMetaData(MediaMetaData 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 | 
|---|---|
| Float | getAudioDuration()Get Audio duration in seconds. | 
| MediaAudioStreamItem[] | getAudioStreamSet()Get Audio stream information. | 
| Long | getBitrate()Get Sum of the average bitrate of a video stream and that of an audio stream in bps. | 
| String | getContainer()Get Container, such as m4a and mp4. | 
| Float | getDuration()Get Video duration in seconds. | 
| Long | getHeight()Get Maximum value of the height of a video stream in px. | 
| Long | getRotate()Get Selected angle during video recording in degrees. | 
| Long | getSize()Get Size of an uploaded media file in bytes (which is the sum of size of m3u8 and ts files if the video is in HLS format). | 
| Float | getVideoDuration()Get Video duration in seconds. | 
| MediaVideoStreamItem[] | getVideoStreamSet()Get Video stream information. | 
| Long | getWidth()Get Maximum value of the width of a video stream in px. | 
| void | setAudioDuration(Float AudioDuration)Set Audio duration in seconds. | 
| void | setAudioStreamSet(MediaAudioStreamItem[] AudioStreamSet)Set Audio stream information. | 
| void | setBitrate(Long Bitrate)Set Sum of the average bitrate of a video stream and that of an audio stream in bps. | 
| void | setContainer(String Container)Set Container, such as m4a and mp4. | 
| void | setDuration(Float Duration)Set Video duration in seconds. | 
| void | setHeight(Long Height)Set Maximum value of the height of a video stream in px. | 
| void | setRotate(Long Rotate)Set Selected angle during video recording in degrees. | 
| void | setSize(Long Size)Set Size of an uploaded media file in bytes (which is the sum of size of m3u8 and ts files if the video is in HLS format). | 
| void | setVideoDuration(Float VideoDuration)Set Video duration in seconds. | 
| void | setVideoStreamSet(MediaVideoStreamItem[] VideoStreamSet)Set Video stream information. | 
| void | setWidth(Long Width)Set Maximum value of the width of a video stream in px. | 
| 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, toJsonStringpublic MediaMetaData()
public MediaMetaData(MediaMetaData source)
public Long getSize()
public void setSize(Long Size)
Size - Size of an uploaded media file in bytes (which is the sum of size of m3u8 and ts files if the video is in HLS format).
Note: This field may return null, indicating that no valid values can be obtained.public String getContainer()
public void setContainer(String Container)
Container - Container, such as m4a and mp4.
Note: This field may return null, indicating that no valid values can be obtained.public Long getBitrate()
public void setBitrate(Long Bitrate)
Bitrate - Sum of the average bitrate of a video stream and that of an audio stream in bps.
Note: This field may return null, indicating that no valid values can be obtained.public Long getHeight()
public void setHeight(Long Height)
Height - Maximum value of the height of a video stream in px.
Note: This field may return null, indicating that no valid values can be obtained.public Long getWidth()
public void setWidth(Long Width)
Width - Maximum value of the width of a video stream in px.
Note: This field may return null, indicating that no valid values can be obtained.public Float getDuration()
public void setDuration(Float Duration)
Duration - Video duration in seconds.
Note: This field may return null, indicating that no valid values can be obtained.public Long getRotate()
public void setRotate(Long Rotate)
Rotate - Selected angle during video recording in degrees.
Note: This field may return null, indicating that no valid values can be obtained.public MediaVideoStreamItem[] getVideoStreamSet()
public void setVideoStreamSet(MediaVideoStreamItem[] VideoStreamSet)
VideoStreamSet - Video stream information.
Note: This field may return null, indicating that no valid values can be obtained.public MediaAudioStreamItem[] getAudioStreamSet()
public void setAudioStreamSet(MediaAudioStreamItem[] AudioStreamSet)
AudioStreamSet - Audio stream information.
Note: This field may return null, indicating that no valid values can be obtained.public Float getVideoDuration()
public void setVideoDuration(Float VideoDuration)
VideoDuration - Video duration in seconds.
Note: This field may return null, indicating that no valid values can be obtained.public Float getAudioDuration()
public void setAudioDuration(Float AudioDuration)
AudioDuration - Audio duration in seconds.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2022. All rights reserved.