Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
docs: add warning for dropping custom room_id soon (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamciokodzi authored Jun 3, 2024
1 parent 982008a commit a757174
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/getting_started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,14 @@ Example log with and without this option:
<TabItem value="json-log-on" label="true" default>

```json
{"time":"2024-02-20T17:32:32.448Z","severity":"info","message":"Initialize room","metadata":{"room_id":"40"}}
{"time":"2024-02-20T17:32:32.448Z","severity":"info","message":"Initialize room","metadata":{"room_id":"da2e-4a75-95ff-776bad2caf04-666973686a616d4031302e302e302e31"}}
```

</TabItem>
<TabItem value="json-log-off" label="false" default>

```
17:32:32.448 room_id=40 [info] Initialize room
17:32:32.448 room_id=da2e-4a75-95ff-776bad2caf04-666973686a616d4031302e302e302e31 [info] Initialize room
```

</TabItem>
Expand Down
6 changes: 5 additions & 1 deletion docs/getting_started/room.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ The holder for peers and components.

**Optional**

:::caution
Support for custom ID will be dropped soon in favor of IDs generated by the server.

* `roomId` (string, default: null) - Custom ID used for identifying the room within Fishjam.
Must be unique across all rooms. If not provided, a random UUID will be generated.
Must be unique across all rooms. If not provided, a random UUID will be generated.
It may contain only alphanumeric characters, hyphens and underscores.
:::

* `maxPeers` (integer 1.., default: null) - Maximum number of peers allowed in the room.
If set to null (default), the number of peers is unlimited.
Expand Down

0 comments on commit a757174

Please sign in to comment.