We are trying to get screen sharing in our own application and noticed that audio processing in the example is incorrect. The format conversions you are doing lead to sound that is like slowed down by 4 or 6 times. Not sure exactly where the problem is in your code, but sound processing example in ScreenShare for iOS / macOS should definitely be updated.
I have updated the example code so as to enable audio and see screen share from a remote user : https://github.com/AgoraIO/API-Examples/pull/202
We are trying to get screen sharing in our own application and noticed that audio processing in the example is incorrect. The format conversions you are doing lead to sound that is like slowed down by 4 or 6 times. Not sure exactly where the problem is in your code, but sound processing example in ScreenShare for iOS / macOS should definitely be updated.