2018-09-13 23:04:55 +03:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2013-10-14 20:53:56 +04:00
|
|
|
/* 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/.
|
|
|
|
*
|
|
|
|
* This is in a separate file so it can be shared with unittests.
|
|
|
|
*/
|
|
|
|
|
|
|
|
enum PCObserverStateType {
|
|
|
|
"None",
|
2013-11-14 02:53:30 +04:00
|
|
|
"IceConnectionState",
|
|
|
|
"IceGatheringState",
|
2013-10-14 20:53:56 +04:00
|
|
|
"SignalingState"
|
|
|
|
};
|
2019-04-02 16:08:18 +03:00
|
|
|
|
|
|
|
enum PCError {
|
|
|
|
"UnknownError",
|
|
|
|
"InvalidAccessError",
|
|
|
|
"InvalidStateError",
|
|
|
|
"InvalidModificationError",
|
|
|
|
"OperationError",
|
|
|
|
"NotSupportedError",
|
|
|
|
"SyntaxError",
|
|
|
|
"NotReadableError",
|
|
|
|
"TypeError",
|
|
|
|
"RangeError",
|
|
|
|
"InvalidCharacterError"
|
|
|
|
};
|