uginHandle.remoteStream = stream;
      pluginHandle.onRemoteStream(stream);

      &#47;&#47; FIX ME no equivalent call exists in flutter_webrtc
      &#47;&#47; if (event.track.onended) return;
      &#47;&#47; Janus.log(&quot;Adding onended callback to track:&quot; + event.track);
      &#47;&#47; event.track.onended = (ev) {
      &#47;&#47;   Janus.log(&quot;Remote track muted&#47;removed:&quot; + ev);
      &#47;&#47;   if (pluginHandle.remoteStream) {
      &#47;&#47;     pluginHandle.remoteStream.re