Class RescalingEncoder
- java.lang.Object
-
- com.mux.sdk.webrtc.spaces.internal.impl.simulcast.RescalingEncoder
-
- All Implemented Interfaces:
org.webrtc.VideoEncoder
public class RescalingEncoder extends java.lang.Object implements org.webrtc.VideoEncoder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.webrtc.VideoEncoder
org.webrtc.VideoEncoder.BitrateAllocation, org.webrtc.VideoEncoder.Callback, org.webrtc.VideoEncoder.Capabilities, org.webrtc.VideoEncoder.CodecSpecificInfo, org.webrtc.VideoEncoder.CodecSpecificInfoAV1, org.webrtc.VideoEncoder.CodecSpecificInfoH264, org.webrtc.VideoEncoder.CodecSpecificInfoVP8, org.webrtc.VideoEncoder.CodecSpecificInfoVP9, org.webrtc.VideoEncoder.EncodeInfo, org.webrtc.VideoEncoder.EncoderInfo, org.webrtc.VideoEncoder.RateControlParameters, org.webrtc.VideoEncoder.ResolutionBitrateLimits, org.webrtc.VideoEncoder.ScalingSettings, org.webrtc.VideoEncoder.Settings
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
createNativeVideoEncoder()
org.webrtc.VideoCodecStatus
encode(org.webrtc.VideoFrame videoFrame, org.webrtc.VideoEncoder.EncodeInfo encodeInfo)
org.webrtc.VideoEncoder.EncoderInfo
getEncoderInfo()
java.lang.String
getImplementationName()
org.webrtc.VideoEncoder.ResolutionBitrateLimits[]
getResolutionBitrateLimits()
org.webrtc.VideoEncoder.ScalingSettings
getScalingSettings()
org.webrtc.VideoCodecStatus
initEncode(org.webrtc.VideoEncoder.Settings settings, org.webrtc.VideoEncoder.Callback callback)
boolean
isHardwareEncoder()
org.webrtc.VideoCodecStatus
release()
org.webrtc.VideoCodecStatus
setRateAllocation(org.webrtc.VideoEncoder.BitrateAllocation bitrateAllocation, int i)
org.webrtc.VideoCodecStatus
setRates(org.webrtc.VideoEncoder.RateControlParameters rcParameters)
-
-
-
Method Detail
-
initEncode
public org.webrtc.VideoCodecStatus initEncode(org.webrtc.VideoEncoder.Settings settings, org.webrtc.VideoEncoder.Callback callback)
- Specified by:
initEncode
in interfaceorg.webrtc.VideoEncoder
-
release
public org.webrtc.VideoCodecStatus release()
- Specified by:
release
in interfaceorg.webrtc.VideoEncoder
-
encode
public org.webrtc.VideoCodecStatus encode(org.webrtc.VideoFrame videoFrame, org.webrtc.VideoEncoder.EncodeInfo encodeInfo)
- Specified by:
encode
in interfaceorg.webrtc.VideoEncoder
-
setRateAllocation
public org.webrtc.VideoCodecStatus setRateAllocation(org.webrtc.VideoEncoder.BitrateAllocation bitrateAllocation, int i)
- Specified by:
setRateAllocation
in interfaceorg.webrtc.VideoEncoder
-
getScalingSettings
public org.webrtc.VideoEncoder.ScalingSettings getScalingSettings()
- Specified by:
getScalingSettings
in interfaceorg.webrtc.VideoEncoder
-
getImplementationName
public java.lang.String getImplementationName()
- Specified by:
getImplementationName
in interfaceorg.webrtc.VideoEncoder
-
createNativeVideoEncoder
public long createNativeVideoEncoder()
- Specified by:
createNativeVideoEncoder
in interfaceorg.webrtc.VideoEncoder
-
isHardwareEncoder
public boolean isHardwareEncoder()
- Specified by:
isHardwareEncoder
in interfaceorg.webrtc.VideoEncoder
-
setRates
public org.webrtc.VideoCodecStatus setRates(org.webrtc.VideoEncoder.RateControlParameters rcParameters)
- Specified by:
setRates
in interfaceorg.webrtc.VideoEncoder
-
getResolutionBitrateLimits
public org.webrtc.VideoEncoder.ResolutionBitrateLimits[] getResolutionBitrateLimits()
- Specified by:
getResolutionBitrateLimits
in interfaceorg.webrtc.VideoEncoder
-
getEncoderInfo
public org.webrtc.VideoEncoder.EncoderInfo getEncoderInfo()
- Specified by:
getEncoderInfo
in interfaceorg.webrtc.VideoEncoder
-
-