public class VideoStream extends MediaStream
Constructor and Description |
---|
VideoStream() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getBitrate()
Bitrate in bps
|
String |
getFps()
Frame rate of the video
|
Integer |
getHeight()
Height of the video (required)
|
Double |
getPar()
Pixel aspect ratio of the video.
|
Long |
getRate()
Bitrate in bps (the same as bitrate, but represented as an integer value)
|
Integer |
getRotation()
Rotation of the video for mobile devices.
|
Integer |
getWidth()
Width of the video (required)
|
int |
hashCode() |
void |
setBitrate(String bitrate)
Bitrate in bps
|
void |
setFps(String fps)
Frame rate of the video
|
void |
setHeight(Integer height)
Height of the video (required)
|
void |
setPar(Double par)
Pixel aspect ratio of the video.
|
void |
setRate(Long rate)
Bitrate in bps (the same as bitrate, but represented as an integer value)
|
void |
setRotation(Integer rotation)
Rotation of the video for mobile devices.
|
void |
setWidth(Integer width)
Width of the video (required)
|
String |
toString() |
getCodec, getDuration, getPosition, setCodec, setDuration, setPosition
getId
public String getFps()
public void setFps(String fps)
fps
- Frame rate of the videopublic String getBitrate()
public void setBitrate(String bitrate)
bitrate
- Bitrate in bpspublic Long getRate()
public void setRate(Long rate)
rate
- Bitrate in bps (the same as bitrate, but represented as an integer value)public Integer getWidth()
public void setWidth(Integer width)
width
- Width of the video (required)public Integer getHeight()
public void setHeight(Integer height)
height
- Height of the video (required)public Double getPar()
public void setPar(Double par)
par
- Pixel aspect ratio of the video. Default is 1.0public Integer getRotation()
public void setRotation(Integer rotation)
rotation
- Rotation of the video for mobile devices. Default is 0.public boolean equals(Object o)
equals
in class MediaStream
public int hashCode()
hashCode
in class MediaStream
public String toString()
toString
in class MediaStream
Copyright © 2024. All rights reserved.