The remote credentials recorded in the streams should be reset,
in the case the restarted conncheck begins with new remote candidates
*before* the updated remote credentials are received.
* '"ice-ufrag" and "ice-pwd" Attributes', ID-19) */
nice_rng_generate_bytes_print (rng, NICE_STREAM_DEF_UFRAG - 1, stream->local_ufrag);
nice_rng_generate_bytes_print (rng, NICE_STREAM_DEF_PWD - 1, stream->local_password);
+
+ /* reset remote credentials, because we cannot assume that we'll
+ * receive new remote credentials from the SDP before the conncheck
+ * restarts with new inbound STUN requests
+ */
+ stream->remote_ufrag[0] = 0;
+ stream->remote_password[0] = 0;
}
/*