public class MediaMetaData extends AbstractModel
header, skipSign
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.
|
String |
getMd5()
Get The MD5 hash of the file.
|
Long |
getRotate()
Get Selected angle during video recording in degrees.
|
Long |
getSize()
Get Size of 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 |
setMd5(String Md5)
Set The MD5 hash of the file.
|
void |
setRotate(Long Rotate)
Set Selected angle during video recording in degrees.
|
void |
setSize(Long Size)
Set Size of 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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public MediaMetaData()
public MediaMetaData(MediaMetaData source)
public Long getSize()
public void setSize(Long Size)
Size
- Size of 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.public String getMd5()
public void setMd5(String Md5)
Md5
- The MD5 hash of the file.
Copyright © 2024. All rights reserved.