Daily.getCallInstance(callClientId?)
Returns a valid daily-js call instance. If callClientId is provided, returns the instance with that ID. If omitted, returns the first instance created. When running multiple call instances simultaneously, always pass a callClientId to avoid ambiguity. Returns undefined if no matching valid instance exists. An instance becomes invalid once destroy() has been called on it.
Parameters
Optional. The
callClientId of the specific instance to retrieve. When running multiple call instances simultaneously, use this to look up a specific one.Return value
Returns the matchingDailyCall instance, or undefined if no valid instance exists for the given ID (or no instance exists at all when called without an argument).