Skip to content

Mac version of network simulator does not work at 512 kbps bitrate

Basic info

Bug description

For some reason, the Mac (that is, Darwin) version of networkSimulator_g192 gives complaint when inputting at least 512 kbps MASA into it. The complaint is

Frame is too large: size=10240

and that number is nicely 512000/50. This problem does not happen with the Linux version or with lower bitrates.

Ways to reproduce

For example like this on Mac.

./IVAS_cod -masa 2 ../scripts/testv/stv1MASA2TC48n.met 512000 48 ../scripts/testv/stv1MASA2TC48n.wav masa512.bts
../scripts/tools/Darwin/networkSimulator_g192 ../scripts/dly_error_profiles/dly_error_profile_5.dat masa512.bts masa512_jbm5.bts tracefile_sim 2 0