= null) {
    Janus.debug(&quot;  -- Audio tracks:&quot; + stream.getAudioTracks().toString());
    Janus.debug(&quot;  -- Video tracks:&quot; + stream.getVideoTracks().toString());
  }
  &#47;&#47; We&#39;re now capturing the new stream: check if we&#39;re updating or if it&#39;s a new thing
  bool addTracks = false;
  if (pluginHandle.myStream == null ||
      !media[&#39;update&#39;] ||
      pluginHandle.streamExternal) {
    pluginHandle.myStream = stream;
    addTracks = true;
  } else {
    &#47;&#47