-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionv4.6.0.v4.6.0.Use the new
Constantsclass with the same constants valueUse the newConstantsclass with the same constants valueUse the newConstantsclass with the same constants valueUse the newConstantsclass with the same constants valueIf you want to configure the push-stream, Agora recommends using the
setLiveTranscodingmethod.
-
Deprecated Enum ClassesEnum ClassDescriptionv4.6.0.v4.6.0.
-
Deprecated FieldsFieldDescriptionThis parameter is deprecated. We recommend using the
setBackgroundColormethod to set the background color.Deprecated as of v2.8.0. Agora does not recommend using this parameter.This parameter is deprecated.This parameter is deprecated. We recommend using thegetUserCountmethod.Content inspect type moderation
-
Deprecated MethodsMethodDescription4.6.04.6.04.6.04.6.04.6.04.6.04.6.04.6.0Use
onAudioMixingStateChangedinstead.UseonLocalVideoStateChangedinstead.This callback is deprecated. Use `REMOTE_VIDEO_STATE_STARTING(1)` or `REMOTE_VIDEO_STATE_DECODING(2)` in theonRemoteVideoStateChangedcallback instead.The statistics of the uploading local video streams once every two seconds.UseonRemoteAudioStatsinstead.The statistics of receiving remote video streams once every two seconds.UseonRemoteVideoStatsinstead.This callback is deprecated and replaced by theonRemoteVideoStateChangedcallback with the following parameters: - `REMOTE_VIDEO_STATE_STOPPED(0)` and `REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED(5)`. - `REMOTE_VIDEO_STATE_DECODING(2)` and `REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED(6)`.UseonLocalVideoStateChangedinstead.Gets the background color's blue component.Gets the background color's green component.Gets the background color's red component.Sets the background color's blue component.Sets the background color's green component.Sets the background color's red component.From v2.9.1. We recommend using theaddVideoWatermark2 method instead.From v4.6.0. We recommend using theaddVideoWatermark2 method instead.v4.2.0. This method is deprecated. Use setDualStreamMode instead.v4.2.0. This method is deprecated. Use setDualStreamMode instead.This method is deprecated.This method is deprecated.This method is deprecated. Use pushExternalAudioFrame(byte[] data, long timestamp, int sampleRate, int channels, Constants.BytesPerSample bytesPerSample, int trackId) instead.This method is deprecated. Use pushExternalAudioFrame(ByteBuffer[] data, long timestamp, int sampleRate, int channels, Constants.BytesPerSample bytesPerSample, int trackId) instead.This method is deprecated.This method is deprecated.v4.6.0.v4.6.0.This method is deprecated. Use createCustomAudioTrack(Constants.AudioTrackType trackType, AudioTrackConfig config) instead.This method is deprecated. Use createCustomAudioTrack(Constants.AudioTrackType trackType, AudioTrackConfig config) instead.This method is deprecated.v4.6.0.v4.6.0.v4.6.0.From v4.6.0. We recommend using theaddVideoWatermark2 method instead.v4.2.0. This method is deprecated. Use setDualStreamModeEx instead.This method is deprecated from v4.2.0. Use `startOrUpdateChannelMediaRelayEx` instead.