How to get remoteStream for caller?

when Person A calls to Person B, B gets ontrack event and data sets to remoteStream state but A doesn’t get that event in answer, how can I get that remoteSream data for A to set it in the state?

You should be able to listen to peer connection events and trigger different state changes on both ends.