Skip to content

Commit

Permalink
add meta to RoomSession and Member
Browse files Browse the repository at this point in the history
  • Loading branch information
edolix committed Mar 4, 2022
1 parent 98bf55a commit 47200ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/types/videoMember.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const INTERNAL_MEMBER_UPDATABLE_PROPS = {
input_volume: 1,
output_volume: 1,
input_sensitivity: 1,
meta: {},
}
export type InternalVideoMemberUpdatableProps =
typeof INTERNAL_MEMBER_UPDATABLE_PROPS
Expand Down Expand Up @@ -63,6 +64,7 @@ type VideoMemberUpdatableProps = AssertSameType<
* The default value is 30 and the scale goes from 0 (lowest sensitivity,
* essentially muted) to 100 (highest sensitivity). */
inputSensitivity: number
meta: Record<string, unknown>
}
>

Expand Down
1 change: 1 addition & 0 deletions packages/core/src/types/videoRoomSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export interface VideoRoomSessionContract {
hideVideoMuted: boolean
/** URL to the room preview. */
previewUrl?: string
meta: Record<string, unknown>

audioMute(params?: MemberCommandParams): Rooms.AudioMuteMember
audioUnmute(params?: MemberCommandParams): Rooms.AudioUnmuteMember
Expand Down

0 comments on commit 47200ac

Please sign in to comment.