Screenshare causes echo of own voice

I’m using openvidu-lib-angular for my web application. When video calls, it works as expected. But while we sharing the screen in the safari browser, we are facing some issues with a very loud echo of myself.

When you use safari and screen share - the person sharing scren suddenly starts hearing an echo and a sound so bad they cannot use the app. Even when they stop screen sharing - the echo sound continues.

There is no problem with Chrome or Firefox, but I have it just in the safari.

Is there any workaround or fix for this?