  	if (pj_ice_sess_create_check_list(rtp->ice, &ufrag, &passwd, ao2_container_count(rtp->remote_candidates), &candidates[0]) == PJ_SUCCESS) {
  		pj_ice_sess_start_check(rtp->ice);
  		pj_timer_heap_poll(timerheap, NULL);
+@@ -891,7 +913,7 @@
+ 		status = pj_ice_sess_on_rx_pkt(rtp->ice, rtcp ? COMPONENT_RTCP : COMPONENT_RTP,
+ 			rtcp ? TRANSPORT_SOCKET_RTCP : TRANSPORT_SOCKET_RTP, buf, len, &address,
+ 			pj_sockaddr_get_len(&address));
+-		if (status != PJ_SUCCESS) {
++		if (status != PJ_SUCCESS && status != PJ_STUN_ERROR_WEBRTC_NOTREADY) {
+ 			char buf[100];
+ 
+ 			pj_strerror(status, buf, sizeof(buf));

+						    PJ_VERSION_NUM_MINOR, \
+						    PJ_VERSION_NUM_REV, \
+						    PJ_VERSION_NUM_EXTRA)
+#endif
+
 /**

 			pj_turn_sock_set_perm(rtp->turn_rtcp, 1, &candidates[cand_cnt].addr, 1);
 		}
 
+		// WebRTC candidates if at least one candidate is marked as it
+		if(candidate->is_webrtc){
+			is_webrtc = 1;
+		}
