Skip to content

Commit

Permalink
Expose layoutName to RoomSession (#542)
Browse files Browse the repository at this point in the history
* add layoutName to the RoomSessionContract

* changeset
  • Loading branch information
edolix authored May 23, 2022
1 parent ad778c3 commit 875b2bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/bright-parrots-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@signalwire/core': patch
---

Add `layoutName` to the RoomSession interface
2 changes: 2 additions & 0 deletions packages/core/src/types/videoRoomSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ export interface VideoRoomSessionContract {
hideVideoMuted: boolean
/** URL to the room preview. */
previewUrl?: string
/** Current layout name used in the room. */
layoutName: string
/** Metadata associated to this room session. */
meta: Record<string, unknown>

Expand Down

0 comments on commit 875b2bb

Please sign in to comment.