Audiobridge and crackling noise on clients

Hi, we are using videoroom for video streams and ab in parallel for audio. We are getting random crackling noise on clients from AB. if we publish audio to VR we don’t have this cracklings on client side.

Can you advice how to debug this problem? We don’t have any anomalities in chrome://webrtc-internal when this is happening.

I’m trying to specify audiobridge parameter default_prebuffering mentioned in audiobridge plugin doc but in janus_audiobridge.c I don’t see any usages of it.
https://groups.google.com/g/meetecho-janus/c/_6BFdoL-ANE?pli=1 this discussion also mentioned this parameter.

That parameter doesn’t exist anymore, since we now use the speex-dsp jitterbuffer.

any advices to debug it?

You can monitor the values of the buffer/queue values when querying the related handle via Admin API, to inspect the internal status of the jitter buffer.

Dear team,

We are working on android and iOS application audio only. We are facing similar kind of audio crackling and clicking issue using janus audioBridge.

I will post my detailed analysis here in terms of audio being received on janus media server as well as after mixing of audio packets.


Tools and Development Setup:

Janus Media Server: Branch: master
Janus version: 1202 (1.2.2)
Janus commit: 15ef4d6cde38ea8d441f7e27eba298265c2a7358
Compiled on: Thu Jan 4 11:14:47 UTC 2024
** AWS EC2 Instance: C5.2xlarge - Mumbai Region **


Android side Janus Payload for Create/Join Room:

Create Room Payload:

createRoom {"janus":"message","body":{"request":"create","is_private":false,"audiolevel_event":true,"audio_level_average":100,"default_expectedloss":20,"audio_active_packets":200,"description":"My awesome room","sampling_rate":48000,"record":true,"record_dir":"\/home\/admin\/janus-record","mjrs":true,"mjrs_dir":"\/home\/admin\/janus-record\/mjrs"},"transaction":"lT6fclBcj9GA","session_id":8573312763821879,"handle_id":7927896452164538}

Join Room Payload:

publisher joiningRoom {"janus":"message","body":{"request":"join","room":"3b3a1de1-7704-4cf0-b896-f4072c9174df","ptype":"publisher","display":"pixel 4a ufone","quality":9,"audio_level_average":100,"audio_active_packets":200,"expected_loss":20,"sampling_rate":48000},"transaction":"h5ajkOi8YEol","session_id":8573312763821879,"handle_id":7927896452164538}

I have obtained the wav files for individual participants as well as after mixed audio wav file from janus server side. Here is the analysis of 1v1 audio call using janus AudioBridge.

I am posting screenshots for better understanding in this google drive link:

Janus AudioBridge | Audio Analysis using Audacity

Here is single screenshot from my above analysis using Audacity tool:

In each of the above screenshot it can be seen that audio which is being sent by android endpoints and being received on janus media server is perfectly clean but after mixing, there are some random delays where mixed audio become disappeared and causing cracking and clicking sounds on android side.

One thing to clear, there is no load on janus media server in terms of concurrent calls and we are not using any video streams at all. This is audio only application for android and during our testing only single audio call was happening. We haven’t changed any janus stack at all.

Can anyone please assist in this regard?

Thanks

Janus AudioBridge | Audio Analysis using Audacity

https://drive.google.com/drive/folders/1ubcQpxr5j2PykffSpXMVpG0KW_AY7iHt?usp=drive_link

@mailtousman did you tried latest janus versions after merging plc support? In our production env all issues with crackling noise is solved now