whipclientsin excesive latency

If I run the following pipeline in windows

gst_parse_launch("audiotestsrc is-live=true ! "
"whipclientsink signaller::whip-endpoint=http://mediamtx:8889/mystream/whip", &error);

And then I connect from a web browser using whep, I have a jitter buffer around 30ms

But if I run the same c code in android, the latency is over 300ms

I have tried lot of variants, with audiobuffersplit, audioconvert, audioresample, opusenc frame-size and others