|
Agora Java API Reference for Android
|
setAudioProfile as AUDIO_PROFILE_MUSIC_HIGH_QUALITY_STEREO. CONNECTION_CHANGED_INVALID_TOKEN(8) in the onConnectionStateChanged callback instead. LOCAL_VIDEO_STREAM_ERROR_CAPTURE_FAILURE(4) in the onLocalVideoStateChanged callback instead. CONNECTION_CHANGED_TOKEN_EXPIRED(9) in the onConnectionStateChanged callback instead. AUDIO_MIXING_REASON instead. AUDIO_MIXING_REASON instead. AUDIO_MIXING_REASON instead. RENDER_MODE_HIDDEN mode applies; if they use different screen orientations, such as one vertical and one horizontal, the RENDER_MODE_FIT mode applies. CONNECTION_CHANGED_REJECTED_BY_SERVER(10) in the onConnectionStateChanged callback instead. 105: The server rejects the request to look up the channel. The server cannot process this request or the request is illegal. reason reported in onClientRoleChangeFailed instead. playEffect[3/3] instead. playEffect[3/3] method to play the local audio effect. CONNECTION_CHANGED_INVALID_TOKEN(8) in the onConnectionStateChanged callback instead. LOCAL_VIDEO_STREAM_ERROR_CAPTURE_FAILURE(4) in the onLocalVideoStateChanged callback instead. CONNECTION_CHANGED_TOKEN_EXPIRED(9) in the onConnectionStateChanged callback instead. onRemoteAudioStats instead. LOCAL_VIDEO_STREAM_STATE_CAPTURING(1) in the onLocalVideoStateChanged callback instead. If the camera fails to turn on, fix the error reported in the onError callback. onConnectionStateChanged instead. onConnectionStateChanged instead. IRtcEngineEventHandler#onFirstLocalAudioFramePublished() instead. onRemoteAudioStateChanged instead. onRemoteAudioStateChanged instead. onLocalVideoStats to get the local video statistics. onLocalAudioStateChanged callback instead. onRemoteAudioStats instead. onRemoteVideoStats to get the remote video statistics. onRemoteVideoStats instead. onRtmpStreamingStateChanged instead. onRtmpStreamingStateChanged instead. LOCAL_VIDEO_STREAM_STATE_STOPPED(0) in the onLocalVideoStateChanged callback instead. The application can use this callback to change the configuration of the view (for example, displaying other pictures in the view) after the video stops playing. networkTransportDelay and jitterBufferDelay in RemoteAudioStats to know the delay statistics of the remote video. CONNECTION_CHANGED_REJECTED_BY_SERVER(10) in the onConnectionStateChanged callback instead. setBackgroundColor method to set the background color. addBackgroundImage instead. getUserCount method. addWatermark instead. createDataStream[2/2] method instead. enableRemoteSuperResolution[2/2] instead. muteLocalAudioStream(false) or muteLocalVideoStream(false) instead. enableEncryption instead. enableEncryption instead. muteLocalAudioStream(true) or muteLocalVideoStream(true) instead. addVideoWatermark2 method instead. createDataStream[2/2] method instead. enableRemoteSuperResolution[2/2] instead. getAudioFileInfo instead. enableAudio method instead. pushExternalAudioFrame [2/2] instead. disableAudio method instead. enableEncryption instead. enableEncryption instead. setAudioProfile method. Call this method and set all parameters before joining a channel. Do not call this method again after joining a channel. setLocalRenderMode2 instead. setupLocalVideo or setLocalRenderMode instead. setAudioEffectPreset: Audio effects.setVoiceBeautifierPreset: Voice beautifier effects.setVoiceConversionPreset: Voice conversion effects. setAudioEffectPreset or setVoiceBeautifierPreset instead. mLogConfig parameter in create[2/2] to set the log file path instead. mLogConfig parameter in the create[2/2] method instead. mLogConfig parameter in the create[2/2] method instead. setRemoteRenderMode2 instead. setVideoEncoderConfiguration method to set the video profile. setVideoEncoderConfiguration method to set the video profile. degradationPrefer parameter in the VideoEncoderConfiguration Class to set the video preference. startAudioMixing[2/2] instead. startAudioRecording[3/3] instead. startAudioRecording[3/3] instead. startEchoTest to start an audio call test.