puppeteer/new-docs/puppeteer.protocol.media.playerscreatedevent.md
2020-07-13 14:01:35 +01:00

21 lines
851 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Media](./puppeteer.protocol.media.md) &gt; [PlayersCreatedEvent](./puppeteer.protocol.media.playerscreatedevent.md)
## Protocol.Media.PlayersCreatedEvent interface
Called whenever a player is created, or when a new agent joins and recieves a list of active players. If an agent is restored, it will recieve the full list of player ids and all events again.
<b>Signature:</b>
```typescript
export interface PlayersCreatedEvent
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [players](./puppeteer.protocol.media.playerscreatedevent.players.md) | [PlayerId](./puppeteer.protocol.media.playerid.md)<!-- -->\[\] | |