          if ((t[&#39;sender&#39;] &amp;&amp;
                    t[&#39;sender&#39;].track &amp;&amp;
                    t[&#39;sender&#39;].track.kind == &quot;audio&quot;) ||
                (t[&#39;receiver&#39;] &amp;&amp;
                    t[&#39;receiver&#39;].track &amp;&amp;
                    t[&#39;receiver&#39;].track.kind == &quot;audio&quot;)) {
              audioTransceiver = t;
              break;
            }
          }
        }
        if (audioTransceiver != null &amp;&amp; audio