# callproto::ParsedMessage

<a id="parsedmessage"></a>

# ParsedMessage

```cpp
#include <src/webrtc/support/src/callprotocol.h>

struct ParsedMessage
```

[Defined in src/webrtc/support/src/callprotocol.h:34](https://github.com/auscaster/icey/blob/main/src/webrtc/support/src/callprotocol.h#L34)

A call signalling message read from a Symple message: its kind, peer address and action, with the SDP, ICE candidate or control reason it carries.

## Public Attributes

| Return | Name | Description |
|--------|------|-------------|
| `Kind` | [`kind`](#kind)  |  |
| `std::string` | [`peerAddress`](#peeraddress-7)  |  |
| `std::string` | [`action`](#action-4)  |  |
| `std::string` | [`sdpType`](#sdptype)  |  |
| `std::string` | [`sdp`](#sdp)  |  |
| `std::string` | [`candidate`](#candidate-1)  |  |
| `std::string` | [`mid`](#mid-1)  |  |
| `std::string` | [`reason`](#reason-2)  |  |

---

<a id="kind"></a>

### kind

```cpp
Kind kind = Kind::Control
```

Type: `Kind`

[Defined in src/webrtc/support/src/callprotocol.h:36](https://github.com/auscaster/icey/blob/main/src/webrtc/support/src/callprotocol.h#L36)

---

<a id="peeraddress-7"></a>

### peerAddress

```cpp
std::string peerAddress
```

[Defined in src/webrtc/support/src/callprotocol.h:37](https://github.com/auscaster/icey/blob/main/src/webrtc/support/src/callprotocol.h#L37)

---

<a id="action-4"></a>

### action

```cpp
std::string action
```

[Defined in src/webrtc/support/src/callprotocol.h:38](https://github.com/auscaster/icey/blob/main/src/webrtc/support/src/callprotocol.h#L38)

---

<a id="sdptype"></a>

### sdpType

```cpp
std::string sdpType
```

[Defined in src/webrtc/support/src/callprotocol.h:39](https://github.com/auscaster/icey/blob/main/src/webrtc/support/src/callprotocol.h#L39)

---

<a id="sdp"></a>

### sdp

```cpp
std::string sdp
```

[Defined in src/webrtc/support/src/callprotocol.h:40](https://github.com/auscaster/icey/blob/main/src/webrtc/support/src/callprotocol.h#L40)

---

<a id="candidate-1"></a>

### candidate

```cpp
std::string candidate
```

[Defined in src/webrtc/support/src/callprotocol.h:41](https://github.com/auscaster/icey/blob/main/src/webrtc/support/src/callprotocol.h#L41)

---

<a id="mid-1"></a>

### mid

```cpp
std::string mid
```

[Defined in src/webrtc/support/src/callprotocol.h:42](https://github.com/auscaster/icey/blob/main/src/webrtc/support/src/callprotocol.h#L42)

---

<a id="reason-2"></a>

### reason

```cpp
std::string reason
```

[Defined in src/webrtc/support/src/callprotocol.h:43](https://github.com/auscaster/icey/blob/main/src/webrtc/support/src/callprotocol.h#L43)
