e-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">streamsDone(int handleId, RTCSessionDescription jsep, Map media, callbacks,
    MediaStream stream) async {
  Plugin pluginHandle = this.pluginHandles[handleId.toString()];
  if (pluginHandle == null) {
    Janus.warn(&quot;Invalid handle&quot;);
    callbacks.error(&quot;Invalid handle&quot;);
    return;
  }
  Janus.debug(&quot;streamsDone:&quot; + stream.toString());
  if (stream !