us.debug(stream);
      if (stream == null) return;
      pluginHandle.remoteStream = stream;
      pluginHandle.onRemoteStream(stream);
    };

    pluginHandle.pc.onRemoveStream = (MediaStream stream) {
      Janus.log(&#39;onRemoveStream event call&#39;);
      Janus.log(stream.toString());
    };

    pluginHandle.pc.onAddTrack =
        (MediaStream stream, MediaStreamTrack track) {
      Janus.log(&quot;Handling Remote Track&quot;);
      Janus.debug(stream);
      if (stream == null) return;
      pl