<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [sip.js](./sip.js.md) &gt; [PublisherState](./sip.js.publisherstate.md)

## PublisherState enum

[Publisher](./sip.js.publisher.md) state.

<b>Signature:</b>

```typescript
export declare enum PublisherState 
```

## Enumeration Members

|  Member | Value | Description |
|  --- | --- | --- |
|  Initial | <code>&quot;Initial&quot;</code> |  |
|  Published | <code>&quot;Published&quot;</code> |  |
|  Terminated | <code>&quot;Terminated&quot;</code> |  |
|  Unpublished | <code>&quot;Unpublished&quot;</code> |  |

## Remarks

The [Publisher](./sip.js.publisher.md) behaves in a deterministic manner according to the following Finite State Machine (FSM).

```txt
                 __________________________________________
                |  __________________________              |
Publisher       | |                          v             v
Constructed -> Initial -> Published -> Unpublished -> Terminated
                             |   ^____________|             ^
                             |______________________________|

```

