UNPKG

sinch-rtc

Version:

RTC JavaScript/Web SDK

18 lines 1.11 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TerminationCause = void 0; var TerminationCause; (function (TerminationCause) { TerminationCause[TerminationCause["None"] = 0] = "None"; TerminationCause[TerminationCause["Timeout"] = 1] = "Timeout"; TerminationCause[TerminationCause["Canceled"] = 2] = "Canceled"; // `Error` termination cause is expected only for non established sessions i.e. once the session is established // and the call fails for any reason this value should not be used. TerminationCause[TerminationCause["Error"] = 3] = "Error"; TerminationCause[TerminationCause["Denied"] = 4] = "Denied"; TerminationCause[TerminationCause["HungUp"] = 5] = "HungUp"; TerminationCause[TerminationCause["OtherPeerAccepted"] = 6] = "OtherPeerAccepted"; TerminationCause[TerminationCause["Inactive"] = 7] = "Inactive"; TerminationCause[TerminationCause["IceFailedToConnect"] = 8] = "IceFailedToConnect"; })(TerminationCause || (exports.TerminationCause = TerminationCause = {})); //# sourceMappingURL=TerminationCause.js.map