-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Description
Hello,
I am facing echo/noise issue in video call when 2 device is near. 2 device's distance is approx. 10-15 meter. And in that lots of noise is getting. Echo is getting even mic of one user is mute. So can you please provide solution for this? Is there any method available in SDK to prevent this? I tried below given code but not working.
room.e2eeOptions = getE2EEOptions()
room.connect(
url = url,
token = token,
)
room.audioProcessingController.setBypassForCapturePostProcessing(false)
private fun getRoomOptions(): RoomOptions {
return RoomOptions(
adaptiveStream = true,
dynacast = true,
audioTrackCaptureDefaults = LocalAudioTrackOptions(
echoCancellation = true,
noiseSuppression = true,
autoGainControl = true,
highPassFilter = true
),
audioTrackPublishDefaults = AudioTrackPublishDefaults(
dtx = true
),
e2eeOptions = getE2EEOptions(),
)
}
val room = LiveKit.create(
appContext = application,
options = getRoomOptions(),
overrides = LiveKitOverrides(
audioOptions = AudioOptions(
audioProcessorOptions = audioProcessorOptions
),
),
)
// Create and publish audio/video tracks
val localParticipant = room.localParticipant
// Audio always ON
localParticipant.setMicrophoneEnabled(true)
// Video ONLY for video call
localParticipant.setCameraEnabled(!isAudioCall)
I am using sample project for reference. (https://github.com/livekit/client-sdk-android/tree/main/sample-app).
Device Details:
Samsung A05 (Version 15)
Samsung F15 (Version 16)
Metadata
Metadata
Assignees
Labels
No labels