Skip to content

Commit

Permalink
Update EVENTS.md
Browse files Browse the repository at this point in the history
  • Loading branch information
edospadoni authored Mar 7, 2024
1 parent 8121ff2 commit 6447fab
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docs/EVENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,28 +87,44 @@ eventDispatch(`<event-name>`, `<data-object>`)
"deviceId": "2d331f699ec92b95000f3a656ab1d6ff9f17b3c9502c4a8db1d3f91905b5743f" // string - The output deviceId obtained by getUserMediaDevices
}
```
- `phone-island-theme-change` The event to change phone-island theme

```json
{
"selectedTheme": "light | dark"
}
```

## Dispatch Phone-Island Events - phone-island-*

- `phone-island-attached` The dispatch of initialize webrtc with phone-island (switch to webrtc device)

```json
{}
```

- `phone-island-detached` The dispatch of destroy webrtc instance with phone-island (switch to physical device)

```json
{}
```

- `phone-island-audio-input-changed` The dispatch of change default audio input device for phone island

```json
{}
```

- `phone-island-audio-output-changed` The dispatch of change default audio output device for phone island

```json
{}
```
- `phone-island-theme-changed-` The dispatch of change phone-island theme

```json
{}
```


## Listen Call Events - phone-island-call-*
Expand Down Expand Up @@ -700,4 +716,4 @@ eventDispatch(`<event-name>`, `<data-object>`)

```json
{}
```
```

0 comments on commit 6447fab

Please sign in to comment.