forked from mozilla-services/loop-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rémy HUBSCHER
committed
Sep 10, 2014
1 parent
5e6716d
commit 06f765b
Showing
6 changed files
with
350 additions
and
285 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* This Source Code Form is subject to the terms of the Mozilla Public | ||
* License, v. 2.0. If a copy of the MPL was not distributed with this | ||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | ||
|
||
"use strict"; | ||
|
||
module.exports = { | ||
CALL_STATES: { | ||
INIT: "init", | ||
HALF_INITIATED: "half-initiated", | ||
ALERTING: "alerting", | ||
CONNECTING: "connecting", | ||
HALF_CONNECTED: "half-connected", | ||
CONNECTED: "connected", | ||
TERMINATED: "terminated" | ||
}, | ||
MESSAGE_EVENTS: { | ||
ACCEPT: "accept", | ||
MEDIA_UP: "media-up", | ||
TERMINATE: "terminate" | ||
}, | ||
MESSAGE_TYPES: { | ||
HELLO: "hello", | ||
ACTION: "action", | ||
PROGRESS: "progress", | ||
ECHO: "echo", | ||
ERROR: "error" | ||
}, | ||
MESSAGE_REASONS: { | ||
BUSY: "busy", | ||
CANCEL: "cancel", | ||
TIMEOUT: "timeout" | ||
}, | ||
ERROR_REASONS: { | ||
BAD_AUTHENTICATION: "bad authentication", | ||
BAD_CALLID: "bad callId" | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.