all: init TURN and ICE

This commit is contained in:
Aleksandr Razumov
2016-05-16 20:56:43 +03:00
parent a7c6a6b516
commit 593d01bc3a
4 changed files with 70 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ const (
CodeUnauthorised ErrorCode = 401
CodeUnknownAttribute ErrorCode = 420
CodeStaleNonce ErrorCode = 428
CodeRoleConflict ErrorCode = 478
CodeServerError ErrorCode = 500
)
@@ -28,6 +29,8 @@ func (c ErrorCode) Reason() string {
return "Stale Nonce"
case CodeServerError:
return "Server Error"
case CodeRoleConflict:
return "Role conflict"
default:
return "Unknown Error"
}