ionorg / ion-sdk-go

ion sdk for golang
MIT License
55 stars 46 forks source link

Audio is totally distorted when using ion-sfu-load-tool #44

Open namvdo opened 3 years ago

namvdo commented 3 years ago

Your environment.

What did you do?

I try to use the ion-sfu-load-tool to measure the SFU performance on my CPU. I run the server with this following command:

./allrpc -c config.toml -gaddr "0.0.0.0:8000" -jaddr "0.0.0.0:7000" -maddr "0.0.0.0:9000" -paddr "0.0.0.0:6060"

Then I use 2 clients to join the session:

./ion-sfu-load-tool -file test..webm -clients 2 -role pubsub -gaddr "localhost:8000" -session 'test' -log debug -cycle 1000

Test file properties: video_properties

What did you expect?

I expect both audio and video are in sync and the audio to be hearable.

What happened?

The video is ok, but the audio is totally distorted and I cannot hear anything. Here is the media file I use to publish media from peers: https://user-images.githubusercontent.com/34415207/121658721-ceb3e500-cacb-11eb-958f-3c5cdc029bb3.mp4

Here is my recording when joining a session: https://user-images.githubusercontent.com/34415207/121658305-62d17c80-cacb-11eb-87f0-ea1f81b39786.mp4