microsoft / MixedReality-WebRTC

MixedReality-WebRTC is a collection of components to help mixed reality app developers integrate audio and video real-time communication into their application and improve their collaborative experience
https://microsoft.github.io/MixedReality-WebRTC/
MIT License
913 stars 283 forks source link

Echo while creating audio track #847

Open 0k1 opened 2 years ago

0k1 commented 2 years ago

Hello -

I've been trying to use the latest MRTK from release 2.0 branch. Built from source with echo cancellation params added per previous comments in #157. Still the UWP app seems to send audio with echo to the unity app running on Unity 2020.3.19f1. The audio renderer in unity shows that the echo is indeed from the source. Is there a way to stop the echo from the source itself ?

I've used echo cancellation at unity's side to reduce the effects but if built for HoloLens 2 the effects can still be disturbing to the user.

Repro steps :

Run the MRTK WebRTC Test UWP app and try to establish connection with a unity player running the Unity version of MRTK WebRTC.

@djee-ms @jessemcculloch