Class and Description |
---|
io.agora.rtc2.IRtcEngineEventHandler.ClientRole
Use the new
Constants class
with the same constants value |
io.agora.rtc2.IRtcEngineEventHandler.Quality
Use the new
Constants class
with the same constants value |
io.agora.rtc2.IRtcEngineEventHandler.UserOfflineReason
Use the new
Constants class
with the same constants value |
io.agora.rtc2.IRtcEngineEventHandler.VideoProfile
Use the new
Constants class
with the same constants value |
io.agora.rtc2.PublisherConfiguration.Builder
If you want to configure the push-stream, Agora recommends using the |
io.agora.rtc2.PublisherParameters |
io.agora.rtc2.video.VideoCompositingLayout |
Method and Description |
---|
io.agora.rtc2.RtcEngine.addVideoWatermark(AgoraImage)
From v2.9.1. We recommend using the
addVideoWatermark 2 method instead.
This method adds a PNG watermark image to the local video stream for the sampling device,
channel audience, or CDN live audience to see and capture. To add the PNG file to a CDN live
publishing stream, see the setLiveTranscoding method. |
io.agora.rtc2.RtcEngine.enableDualStreamMode(boolean)
v4.2.0. This method is deprecated. Use setDualStreamMode instead.
If dual-stream mode is enabled, the subscriber can choose to receive the high-stream
(high-resolution high-bitrate video stream) or low-stream (low-resolution low-bitrate video
stream) video using
setRemoteVideoStreamType . |
io.agora.rtc2.RtcEngine.enableDualStreamMode(boolean, SimulcastStreamConfig)
v4.2.0. This method is deprecated. Use setDualStreamMode instead.
If dual-stream mode is enabled, the subscriber can choose to receive the high-stream
(high-resolution high-bitrate video stream) or low-stream (low-resolution low-bitrate video
stream) video using
setRemoteVideoStreamType . |
io.agora.rtc2.RtcEngineEx.enableDualStreamModeEx(boolean, SimulcastStreamConfig, RtcConnection)
v4.2.0. This method is deprecated. Use setDualStreamModeEx instead.
If dual-stream mode is enabled, the subscriber can choose to receive the high-stream
(high-resolution high-bitrate video stream) or low-stream (low-resolution low-bitrate video
stream) video using
setRemoteVideoStreamType . |
io.agora.rtc2.RtcEngine.enableHighPerfWifiMode(boolean)
This method is deprecated.
|
io.agora.rtc2.live.LiveTranscoding.getBlue()
Gets the background color's blue component.
|
io.agora.rtc2.live.LiveTranscoding.getGreen()
Gets the background color's green component.
|
io.agora.rtc2.RtcEngine.getMediaEngineVersion() |
io.agora.rtc2.RtcEngine.getRecommendedEncoderType()
This method is deprecated.
|
io.agora.rtc2.live.LiveTranscoding.getRed()
Gets the background color's red component.
|
io.agora.rtc2.RtcEngine.monitorBluetoothHeadsetEvent(boolean) |
io.agora.rtc2.RtcEngine.monitorHeadsetEvent(boolean) |
io.agora.rtc2.IRtcEngineEventHandler.onFirstRemoteVideoDecoded(int, int, int, int)
This callback is deprecated. Use `REMOTE_VIDEO_STATE_STARTING(1)` or
`REMOTE_VIDEO_STATE_DECODING(2)` in the
onRemoteVideoStateChanged callback instead.
This callback is triggered in either of the following scenarios:
|
io.agora.rtc2.IRtcEngineEventHandler.onLocalVideoStat(int, int)
The statistics of the uploading local video streams once every two seconds.
|
io.agora.rtc2.IRtcEngineEventHandler.onRemoteVideoStat(int, int, int, int)
The statistics of receiving remote video streams once every two seconds.
|
io.agora.rtc2.IRtcEngineEventHandler.onUserEnableLocalVideo(int, boolean)
This callback is deprecated and replaced by the
onRemoteVideoStateChanged callback 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)`.
The SDK triggers this callback when the remote user resumes or stops capturing the video stream
by calling the enableLocalVideo method.
This callback is only applicable to the scenario when the remote user only wants to watch the
remote video without sending any video stream to the other user. |
io.agora.rtc2.RtcEngineEx.pauseAllChannelMediaRelayEx(RtcConnection)
This method is deprecated from v4.2.0. Use `startOrUpdateChannelMediaRelayEx`
instead.
|
io.agora.rtc2.RtcEngine.pushExternalAudioFrame(byte[], long)
This method is deprecated. Use pushExternalAudioFrame(byte[] data, long timestamp,
int sampleRate, int channels, Constants.BytesPerSample bytesPerSample, int trackId)
instead.
|
io.agora.rtc2.RtcEngine.pushExternalAudioFrame(ByteBuffer, long, int)
This method is deprecated. Use pushExternalAudioFrame(ByteBuffer[] data, long
timestamp, int sampleRate, int channels, Constants.BytesPerSample bytesPerSample, int
trackId) instead.
|
io.agora.rtc2.RtcEngine.pushExternalEncodedVideoFrame(ByteBuffer, EncodedVideoFrameInfo)
This method is deprecated.
|
io.agora.rtc2.RtcEngine.pushExternalVideoFrame(AgoraVideoFrame) |
io.agora.rtc2.RtcEngine.pushExternalVideoFrame(VideoFrame)
This method is deprecated.
Call the
setExternalVideoSource method and
set `pushMode` as `true` before calling this method. Otherwise, a failure returns after calling
this method. |
io.agora.rtc2.live.LiveTranscoding.setBlue(int)
Sets the background color's blue component.
|
io.agora.rtc2.RtcEngine.setExternalAudioSource(boolean, int, int)
This method is deprecated. Use createCustomAudioTrack(Constants.AudioTrackType
trackType, AudioTrackConfig config) instead.
|
io.agora.rtc2.RtcEngine.setExternalAudioSource(boolean, int, int, boolean, boolean)
This method is deprecated. Use createCustomAudioTrack(Constants.AudioTrackType
trackType, AudioTrackConfig config) instead.
|
io.agora.rtc2.live.LiveTranscoding.setGreen(int)
Sets the background color's green component.
|
io.agora.rtc2.RtcEngine.setLocalPublishFallbackOption(int) |
io.agora.rtc2.RtcEngine.setLocalRenderMode(int) |
io.agora.rtc2.RtcEngine.setLocalVideoMirrorMode(int) |
io.agora.rtc2.RtcEngine.setPreferHeadset(boolean)
This method is deprecated.
|
io.agora.rtc2.live.LiveTranscoding.setRed(int)
Sets the background color's red component.
|
io.agora.rtc2.RtcEngine.setRemoteDefaultVideoStreamType(int) |
io.agora.rtc2.RtcEngine.setRemoteRenderMode(int, int) |
io.agora.rtc2.RtcEngine.setRemoteSubscribeFallbackOption(int) |
io.agora.rtc2.RtcEngine.setRemoteVideoStreamType(int, int) |
io.agora.rtc2.RtcEngineEx.setRemoteVideoStreamTypeEx(int, int, RtcConnection) |