michael@0: /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: * michael@0: * This is in a separate file so it can be shared with unittests. michael@0: */ michael@0: michael@0: enum PCImplReadyState { michael@0: "New", michael@0: "Negotiating", michael@0: "Active", michael@0: "Closing", michael@0: "Closed" michael@0: }; michael@0: michael@0: /* Must be in the same order as comparable fsmdef_states_t in fsmdef_states.h */ michael@0: enum PCImplSignalingState { michael@0: "SignalingInvalid", michael@0: "SignalingStable", michael@0: "SignalingHaveLocalOffer", michael@0: "SignalingHaveRemoteOffer", michael@0: "SignalingHaveLocalPranswer", michael@0: "SignalingHaveRemotePranswer", michael@0: "SignalingClosed", michael@0: }; michael@0: michael@0: enum PCImplSipccState { michael@0: "Idle", michael@0: "Starting", michael@0: "Started" michael@0: }; michael@0: michael@0: enum PCImplIceConnectionState { michael@0: "new", michael@0: "checking", michael@0: "connected", michael@0: "completed", michael@0: "failed", michael@0: "disconnected", michael@0: "closed" michael@0: }; michael@0: michael@0: // Deliberately identical to the values specified in webrtc michael@0: enum PCImplIceGatheringState { michael@0: "new", michael@0: "gathering", michael@0: "complete" michael@0: }; michael@0: