Package tvi.webrtc
Class EncodedImage.Builder
- java.lang.Object
-
- tvi.webrtc.EncodedImage.Builder
-
- Enclosing class:
- EncodedImage
public static class EncodedImage.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description EncodedImage
createEncodedImage()
EncodedImage.Builder
setBuffer(java.nio.ByteBuffer buffer, java.lang.Runnable releaseCallback)
EncodedImage.Builder
setCaptureTimeMs(long captureTimeMs)
Deprecated.EncodedImage.Builder
setCaptureTimeNs(long captureTimeNs)
EncodedImage.Builder
setEncodedHeight(int encodedHeight)
EncodedImage.Builder
setEncodedWidth(int encodedWidth)
EncodedImage.Builder
setFrameType(EncodedImage.FrameType frameType)
EncodedImage.Builder
setQp(java.lang.Integer qp)
EncodedImage.Builder
setRotation(int rotation)
-
-
-
Method Detail
-
setBuffer
public EncodedImage.Builder setBuffer(java.nio.ByteBuffer buffer, @Nullable java.lang.Runnable releaseCallback)
-
setEncodedWidth
public EncodedImage.Builder setEncodedWidth(int encodedWidth)
-
setEncodedHeight
public EncodedImage.Builder setEncodedHeight(int encodedHeight)
-
setCaptureTimeMs
@Deprecated public EncodedImage.Builder setCaptureTimeMs(long captureTimeMs)
Deprecated.
-
setCaptureTimeNs
public EncodedImage.Builder setCaptureTimeNs(long captureTimeNs)
-
setFrameType
public EncodedImage.Builder setFrameType(EncodedImage.FrameType frameType)
-
setRotation
public EncodedImage.Builder setRotation(int rotation)
-
setQp
public EncodedImage.Builder setQp(@Nullable java.lang.Integer qp)
-
createEncodedImage
public EncodedImage createEncodedImage()
-
-