async function handleContactEnded()

in agent/src/agent/index.js [89:97]


async function handleContactEnded(contact) {
  if (contact) {
    console.log("[contact.onEnded] Contact has ended.");
  } else {
    console.log("[contact.onEnded] Contact has ended. Null contact passed to event handler");
  }
  await endMeeting(meeting);
  leave();
}