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 longcreateNativeVideoEncoder()org.webrtc.VideoCodecStatusencode(org.webrtc.VideoFrame videoFrame, org.webrtc.VideoEncoder.EncodeInfo encodeInfo)org.webrtc.VideoEncoder.EncoderInfogetEncoderInfo()java.lang.StringgetImplementationName()org.webrtc.VideoEncoder.ResolutionBitrateLimits[]getResolutionBitrateLimits()org.webrtc.VideoEncoder.ScalingSettingsgetScalingSettings()org.webrtc.VideoCodecStatusinitEncode(org.webrtc.VideoEncoder.Settings settings, org.webrtc.VideoEncoder.Callback callback)booleanisHardwareEncoder()org.webrtc.VideoCodecStatusrelease()org.webrtc.VideoCodecStatussetRateAllocation(org.webrtc.VideoEncoder.BitrateAllocation bitrateAllocation, int i)org.webrtc.VideoCodecStatussetRates(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:
initEncodein interfaceorg.webrtc.VideoEncoder
-
release
public org.webrtc.VideoCodecStatus release()
- Specified by:
releasein interfaceorg.webrtc.VideoEncoder
-
encode
public org.webrtc.VideoCodecStatus encode(org.webrtc.VideoFrame videoFrame, org.webrtc.VideoEncoder.EncodeInfo encodeInfo)- Specified by:
encodein interfaceorg.webrtc.VideoEncoder
-
setRateAllocation
public org.webrtc.VideoCodecStatus setRateAllocation(org.webrtc.VideoEncoder.BitrateAllocation bitrateAllocation, int i)- Specified by:
setRateAllocationin interfaceorg.webrtc.VideoEncoder
-
getScalingSettings
public org.webrtc.VideoEncoder.ScalingSettings getScalingSettings()
- Specified by:
getScalingSettingsin interfaceorg.webrtc.VideoEncoder
-
getImplementationName
public java.lang.String getImplementationName()
- Specified by:
getImplementationNamein interfaceorg.webrtc.VideoEncoder
-
createNativeVideoEncoder
public long createNativeVideoEncoder()
- Specified by:
createNativeVideoEncoderin interfaceorg.webrtc.VideoEncoder
-
isHardwareEncoder
public boolean isHardwareEncoder()
- Specified by:
isHardwareEncoderin interfaceorg.webrtc.VideoEncoder
-
setRates
public org.webrtc.VideoCodecStatus setRates(org.webrtc.VideoEncoder.RateControlParameters rcParameters)
- Specified by:
setRatesin interfaceorg.webrtc.VideoEncoder
-
getResolutionBitrateLimits
public org.webrtc.VideoEncoder.ResolutionBitrateLimits[] getResolutionBitrateLimits()
- Specified by:
getResolutionBitrateLimitsin interfaceorg.webrtc.VideoEncoder
-
getEncoderInfo
public org.webrtc.VideoEncoder.EncoderInfo getEncoderInfo()
- Specified by:
getEncoderInfoin interfaceorg.webrtc.VideoEncoder
-
-