Constant connections state changes for the receive transport

Hi,

I am working on an Android app using mediasoup-client-android. I write to the log on every change of the connection state of the receive transport. Now when I run the app I see a constant stream of log messages showing that the connection state has changed. It goes like:

checking -> connected -> completed -> disconnected

The disconnects happen every 2 seconds. I followed this behavior down into the libwebrtc and it seems to be related to ICE. There are a lot of SDP messages written to the log before a disconnect. Most of the messages contain the line “a=ice-options:renomination”.

I would like to understand this behavior. Could this behavior be related to renomination or is it a NAT problem? Currently, I am not using a STUN server, but I am definitely behind a NAT (consumer-grade home router).

Kind regards,
Jan