Package live.hms.video.media.settings
Class HMSVideoTrackSettings.Builder
-
- All Implemented Interfaces:
public final class HMSVideoTrackSettings.Builder
-
-
Constructor Summary
Constructors Constructor Description HMSVideoTrackSettings.Builder()
-
Method Summary
-
-
Method Detail
-
resolution
final HMSVideoTrackSettings.Builder resolution(HMSVideoResolution resolution)
-
codec
final HMSVideoTrackSettings.Builder codec(HMSVideoCodec codec)
-
initialState
final HMSVideoTrackSettings.Builder initialState(HMSTrackSettings.InitState initialState)
-
maxFrameRate
final HMSVideoTrackSettings.Builder maxFrameRate(@IntRange(from = 1) Integer maxFrameRate)
-
maxBitrate
final HMSVideoTrackSettings.Builder maxBitrate(@IntRange(from = 1) Integer maxBitRate)
-
cameraFacing
final HMSVideoTrackSettings.Builder cameraFacing(HMSVideoTrackSettings.CameraFacing facing)
-
disableAutoResize
final HMSVideoTrackSettings.Builder disableAutoResize(Boolean disableAutoResize)
-
setDegradationPreference
final HMSVideoTrackSettings.Builder setDegradationPreference(DegradationPreference degradationPreference)
-
forceSoftwareDecoder
final HMSVideoTrackSettings.Builder forceSoftwareDecoder(Boolean forceSoftwareDecoder)
We are exposing this API because when we are in a room with large peers, with grid kind of room, HW decoder fails to decode videos and it crashes on HWdecoder enable devices This is giving an option to force software decoding https://100ms.atlassian.net/browse/AN-514
-
build
final HMSVideoTrackSettings build()
-
-
-
-