Package com.qiniu.rtc.model
Class MediaConfig
- java.lang.Object
-
- com.qiniu.rtc.model.MediaConfig
-
- All Implemented Interfaces:
java.io.Serializable
public class MediaConfig extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MediaConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFps()intgetHeight()intgetKbps()StretchModeEnumgetStretchMode()intgetWidth()booleanisAudioOnly()booleanisHoldLastFrame()voidsetAudioOnly(boolean audioOnly)voidsetFps(int fps)voidsetHeight(int height)voidsetHoldLastFrame(boolean holdLastFrame)voidsetKbps(int kbps)voidsetStretchMode(StretchModeEnum stretchMode)voidsetWidth(int width)java.lang.StringtoString()
-
-
-
Method Detail
-
getFps
public int getFps()
-
setFps
public void setFps(int fps)
-
getKbps
public int getKbps()
-
setKbps
public void setKbps(int kbps)
-
getWidth
public int getWidth()
-
setWidth
public void setWidth(int width)
-
getHeight
public int getHeight()
-
setHeight
public void setHeight(int height)
-
isHoldLastFrame
public boolean isHoldLastFrame()
-
setHoldLastFrame
public void setHoldLastFrame(boolean holdLastFrame)
-
isAudioOnly
public boolean isAudioOnly()
-
setAudioOnly
public void setAudioOnly(boolean audioOnly)
-
getStretchMode
public StretchModeEnum getStretchMode()
-
setStretchMode
public void setStretchMode(StretchModeEnum stretchMode)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-