diff --git a/website/docs/browser-sdk/_common/_method_off.mdx b/website/docs/browser-sdk/_common/_method_off.mdx
index 582ed3542..697f4b829 100644
--- a/website/docs/browser-sdk/_common/_method_off.mdx
+++ b/website/docs/browser-sdk/_common/_method_off.mdx
@@ -1,6 +1,6 @@
import { GetListOfAvailableEventsDescription } from "./utils";
-▸ **off**(`event`, `fn?`)
+- **off**(`event`, `fn?`)
Remove an event handler.
diff --git a/website/docs/browser-sdk/_common/_method_on.mdx b/website/docs/browser-sdk/_common/_method_on.mdx
index d328e7ff8..5976c6a74 100644
--- a/website/docs/browser-sdk/_common/_method_on.mdx
+++ b/website/docs/browser-sdk/_common/_method_on.mdx
@@ -1,6 +1,6 @@
import { GetListOfAvailableEventsDescription } from "./utils";
-▸ **on**(`event`, `fn`)
+- **on**(`event`, `fn`)
Attaches an event handler to the specified event.
diff --git a/website/docs/browser-sdk/_common/_method_once.mdx b/website/docs/browser-sdk/_common/_method_once.mdx
index 0a90df806..32f68cc38 100644
--- a/website/docs/browser-sdk/_common/_method_once.mdx
+++ b/website/docs/browser-sdk/_common/_method_once.mdx
@@ -1,6 +1,6 @@
import { GetListOfAvailableEventsDescription } from "./utils";
-▸ **once**(`event`, `fn`)
+- **once**(`event`, `fn`)
Attaches an event handler to the specified event. The handler will fire only once.
diff --git a/website/docs/browser-sdk/_common/_method_removealllisteners.mdx b/website/docs/browser-sdk/_common/_method_removealllisteners.mdx
index cd76ac292..55581c7f4 100644
--- a/website/docs/browser-sdk/_common/_method_removealllisteners.mdx
+++ b/website/docs/browser-sdk/_common/_method_removealllisteners.mdx
@@ -1,6 +1,6 @@
import { GetListOfAvailableEventsDescription } from "./utils";
-▸ **removeAllListeners**(`event?`)
+- **removeAllListeners**(`event?`)
Detaches all event listeners for the specified event.
diff --git a/website/docs/browser-sdk/tech-ref/SignalWire Client/client/address.mdx b/website/docs/browser-sdk/tech-ref/SignalWire Client/client/address.mdx
index ce820ece6..2b9afc1c2 100644
--- a/website/docs/browser-sdk/tech-ref/SignalWire Client/client/address.mdx
+++ b/website/docs/browser-sdk/tech-ref/SignalWire Client/client/address.mdx
@@ -42,7 +42,7 @@ Here is an example of an `Address` object:
### getAddresses
-▸ **getAddresses**(`options`): `Promise<{ data: Address[], hasNext, hasPrev }>`
+- **getAddresses**(`options`): `Promise<{ data: Address[], hasNext, hasPrev }>`
Returns a list of Addresses.
@@ -99,7 +99,7 @@ await client.address.getAddresses();
### getAddress
-▸ **getAddress**(`options`): `Promise
`
+- **getAddress**(`options`): `Promise`
Get the details of a particular address ID.
diff --git a/website/docs/browser-sdk/tech-ref/SignalWire Client/client/chat.mdx b/website/docs/browser-sdk/tech-ref/SignalWire Client/client/chat.mdx
index f4894a76b..79bde2f46 100644
--- a/website/docs/browser-sdk/tech-ref/SignalWire Client/client/chat.mdx
+++ b/website/docs/browser-sdk/tech-ref/SignalWire Client/client/chat.mdx
@@ -36,7 +36,7 @@ Here is an example of a `ConversationChatMessage` object:
### getMessages
-▸ **getMessages**(`options`): `Promise<{ data: ConversationChatMessage[], hasNext, hasPrev, nextPage(), prevPage() }>`
+- **getMessages**(`options`): `Promise<{ data: ConversationChatMessage[], hasNext, hasPrev, nextPage(), prevPage() }>`
Returns the list of chat messages for a given `addressId`.
@@ -60,7 +60,7 @@ await client.chat.getMessages({ addressId: "9dbe9e94-c797-461e-b5a3-af6d095deaf4
### subscribe
-▸ **subscribe**(`options`): `{cancel()}`
+- **subscribe**(`options`): `{cancel()}`
Returns a list of Addresses.
@@ -91,7 +91,7 @@ cancel();
### sendMessage
-▸ **sendMessage**(`options`): `Promise`
+- **sendMessage**(`options`): `Promise`
Send a Chat Message to a given Address ID. If no Conversation exists with that Address ID, one will be created.
This is the same function as [`conversation.sendMessage`](/sdks/browser-sdk/signalwire-client/client/conversation#sendmessage).
@@ -117,7 +117,7 @@ await client.chat.sendMessage({
### join
-▸ **join**(`options`): `Promise`
+- **join**(`options`): `Promise`
Joins a conversation given an address without having to send a message. Does nothing if you
were already joined to the conversation. This is the same function as [`conversation.join`](/sdks/browser-sdk/signalwire-client/client/conversation#join).
diff --git a/website/docs/browser-sdk/tech-ref/SignalWire Client/client/conversation.mdx b/website/docs/browser-sdk/tech-ref/SignalWire Client/client/conversation.mdx
index 22492d201..5e769298b 100644
--- a/website/docs/browser-sdk/tech-ref/SignalWire Client/client/conversation.mdx
+++ b/website/docs/browser-sdk/tech-ref/SignalWire Client/client/conversation.mdx
@@ -62,7 +62,7 @@ Here is an example of a `ConversationMessage` object:
### getConversations
-▸ **getConversations**(): `Promise<{ data: Conversation[], hasNext, hasPrev }>` -
+- **getConversations**(): `Promise<{ data: Conversation[], hasNext, hasPrev }>` -
Returns a list of Conversation objects.
@@ -96,7 +96,7 @@ await client.conversation.getConversations();
### getConversationMessages
-▸ **getConversationMessages**(`options`): `Promise<{ data: ConversationMessage[], hasNext, hasPrev }>`
+- **getConversationMessages**(`options`): `Promise<{ data: ConversationMessage[], hasNext, hasPrev }>`
Returns a list of ConversationMessage objects inside a Conversation with an Address ID.
@@ -145,7 +145,7 @@ await client.conversation.getConversationMessages({
### getMessages
-▸ **getMessages**(`options`): `Promise<{ data: ConversationMessage[], hasNext, hasPrev }>`
+- **getMessages**(`options`): `Promise<{ data: ConversationMessage[], hasNext, hasPrev }>`
Returns a list of ConversationMessage objects without filtering by Address ID.
@@ -191,7 +191,7 @@ await client.conversation.getMessages();
### subscribe
-▸ **subscribe**(): `Promise`
+- **subscribe**(): `Promise`
Subscribe to receive new ConversationMessage objects as they happen.
@@ -231,7 +231,7 @@ client.conversation.subscribe((conversationMessage) => {
### sendMessage
-▸ **sendMessage**(`options`): `Promise`
+- **sendMessage**(`options`): `Promise`
Sends a Chat Message to the Conversation. This is the same function as [`chat.sendMessage`](/sdks/browser-sdk/signalwire-client/client/chat#sendmessage).
@@ -255,7 +255,7 @@ await conversation.sendMessage({
### join
-▸ **join**(`options`): `Promise`
+- **join**(`options`): `Promise`
Joins a conversation given an address, without having to send a message. Does nothing if you
were already joined to the conversation. This is the same function as [`chat.join`](/sdks/browser-sdk/signalwire-client/client/chat#join).
diff --git a/website/docs/browser-sdk/tech-ref/SignalWire Client/client/index.mdx b/website/docs/browser-sdk/tech-ref/SignalWire Client/client/index.mdx
index 8596e650f..bbd80e575 100644
--- a/website/docs/browser-sdk/tech-ref/SignalWire Client/client/index.mdx
+++ b/website/docs/browser-sdk/tech-ref/SignalWire Client/client/index.mdx
@@ -60,7 +60,7 @@ export default function App() {
## **Parameters**
-▸ **SignalWire**(`options`): `Promise`
+- **SignalWire**(`options`): `Promise`
| Name | Type | Required? | Description |
| :----------------------------- | :----------------------- | :-------- | :---------------------------------------------------------------------- |
@@ -149,7 +149,7 @@ export default function App() {
### httpHost
-• `Readonly` **httpHost**: `string`
+- `Readonly` **httpHost**: `string`
Returns the URL of the host that the client will use to make HTTP requests (like querying the
list of addresses or conversations).
@@ -165,7 +165,7 @@ console.log(client.httpHost());
### dial
-▸ **dial**(`{to: string, nodeId ?: string}`): `Promise`
+- **dial**(`{to: string, nodeId ?: string}`): `Promise`
Dials to the address specified in the `to` parameter, and returns a `Call` object if successful.
@@ -198,7 +198,7 @@ Promise to a Call object that describes the ongoing call, and provides handles f
### online
-▸ **online**(`options`): `Promise`
+- **online**(`options`): `Promise`
Set the client to be online so it can receive call invites via WebRTC.
The call invites can be accepted or rejected as per user input.
@@ -257,13 +257,13 @@ window.reject = async () => {
### offline
-▸ **offline**(): `void`
+- **offline**(): `void`
Set the client to be offline so it doesn't receive call invites via WebRTC.
### getSubscriberInfo
-▸ **getSubscriberInfo**(): `void`
+- **getSubscriberInfo**(): `void`
Get information about the subscriber that is currently logged in.
@@ -294,7 +294,7 @@ console.log(await client.getSubscriberInfo())
### connect
-▸ **connect**()
+- **connect**()
Connects to the WebSocket client. SignalWire manages the WebSocket connection
automatically in most cases, so you'll only need to use `connect` in the rare edge
@@ -302,7 +302,7 @@ cases when you need to manually manage the connection.
### disconnect
-▸ **disconnect**()
+- **disconnect**()
Disconnects from the WebSocket client. SignalWire manages the WebSocket connection
automatically in most cases.
@@ -313,7 +313,7 @@ Nothing
### updateToken
-▸ **updateToken**(token:`string`): `Promise`
+- **updateToken**(token:`string`): `Promise`
Update the auth token being used by the client.
For example, in case when the old token is about to expire and you have
diff --git a/website/docs/browser-sdk/tech-ref/SignalWire Client/utils.mdx b/website/docs/browser-sdk/tech-ref/SignalWire Client/utils.mdx
index c9eedb2bf..9a920fda9 100644
--- a/website/docs/browser-sdk/tech-ref/SignalWire Client/utils.mdx
+++ b/website/docs/browser-sdk/tech-ref/SignalWire Client/utils.mdx
@@ -7,7 +7,7 @@ slug: /signalwire-client/utils
## `buildVideoElement`
-▸ **buildVideoElement**(`options`): `Promise`
+- **buildVideoElement**(`options`): `Promise`
A function that creates and optionally injects a video DOM element for a given Call or Room object.
diff --git a/website/docs/browser-sdk/tech-ref/chat/chat-client.mdx b/website/docs/browser-sdk/tech-ref/chat/chat-client.mdx
index 3d0ebdb24..1d357822e 100644
--- a/website/docs/browser-sdk/tech-ref/chat/chat-client.mdx
+++ b/website/docs/browser-sdk/tech-ref/chat/chat-client.mdx
@@ -40,7 +40,7 @@ await chatClient.publish({
### constructor
-• **new Client**(`chatOptions`)
+- **new Client**(`chatOptions`)
Creates a new Chat client.
@@ -65,7 +65,7 @@ const chatClient = new Chat.Client({
### disconnect
-▸ **disconnect**(): `void`
+- **disconnect**(): `void`
Disconnects this client. The client will stop receiving events and you will need to create a new instance if you want to use it again.
@@ -83,7 +83,7 @@ client.disconnect();
### getAllowedChannels
-▸ **getAllowedChannels**(): `Promise`
+- **getAllowedChannels**(): `Promise`
Returns the channels that the current token allows you to subscribe to.
@@ -116,7 +116,7 @@ console.log(channels);
### getMemberState
-▸ **getMemberState**(`params`): `Promise<{ channels: Record }>`
+- **getMemberState**(`params`): `Promise<{ channels: Record }>`
Returns the states of a member in the specified channels.
@@ -148,7 +148,7 @@ s.channels.chan1.state; // the state object for chan1
### getMembers
-▸ **getMembers**(`params`): `Promise<{ members: ChatMemberEntity[] }>` - See [ChatMemberEntity documentation](/sdks/browser-sdk/chat/member-entity) for more details.
+- **getMembers**(`params`): `Promise<{ members: ChatMemberEntity[] }>` - See [ChatMemberEntity documentation](/sdks/browser-sdk/chat/member-entity) for more details.
Returns the list of members in the given channel.
@@ -177,7 +177,7 @@ m.members[0]; // { id: ..., channel: ..., state: ... }
### getMessages
-▸ **getMessages**(`params`): `Promise<{ cursor: PagingCursor; messages: ChatMessageEntity[] }>`
+- **getMessages**(`params`): `Promise<{ cursor: PagingCursor; messages: ChatMessageEntity[] }>`
See [PagingCursor documentation](#paginationcursor) and [ChatMessageEntity documentation](/sdks/browser-sdk/chat/message-entity) for more details.
@@ -245,7 +245,7 @@ const next = await chatClient.getMessages({
### publish
-▸ **publish**(`params`): `Promise`
+- **publish**(`params`): `Promise`
Publish a message into the specified channel.
@@ -295,7 +295,7 @@ await chatClient.publish({
### setMemberState
-▸ **setMemberState**(`params`): `Promise`
+- **setMemberState**(`params`): `Promise`
Sets a state object for a member, for the specified channels. The previous state object will be completely replaced.
@@ -328,7 +328,7 @@ await chatClient.setMemberState({
### subscribe
-▸ **subscribe**(`channels`): `Promise`
+- **subscribe**(`channels`): `Promise`
List of channels for which you want to receive messages. You can only subscribe to those channels for which your token has read permission.
@@ -361,7 +361,7 @@ await chatClient.subscribe(["chan-2", "chan-3"]);
### unsubscribe
-▸ **unsubscribe**(`channels`): `Promise`
+- **unsubscribe**(`channels`): `Promise`
List of channels from which you want to unsubscribe.
@@ -386,7 +386,7 @@ await chatClient.unsubscribe(["chan-2", "chan-3"]);
### updateToken
-▸ **updateToken**(`token`): `Promise`
+- **updateToken**(`token`): `Promise`
Replaces the token used by the client with a new one. You can use this method to replace the token when, for example, it is expiring, in order to keep the session alive.
@@ -420,7 +420,7 @@ chatClient.on('session.expiring', async () => {
### member.joined
-• **member.joined**(`member`)
+- **member.joined**(`member`)
A new member joined the chat.
@@ -434,7 +434,7 @@ A new member joined the chat.
### member.left
-• **member.left**(`member`)
+- **member.left**(`member`)
A member left the chat.
@@ -448,7 +448,7 @@ A member left the chat.
### member.updated
-• **member.updated**(`member`)
+- **member.updated**(`member`)
A member updated its state.
@@ -462,7 +462,7 @@ A member updated its state.
### message
-• **message**(`message`)
+- **message**(`message`)
A new message has been received.
@@ -476,7 +476,7 @@ A new message has been received.
### session.expiring
-• **session.expiring**()
+- **session.expiring**()
The session is going to expire. Use the `updateToken` method to refresh your token.
diff --git a/website/docs/browser-sdk/tech-ref/chat/chatmemberentity.mdx b/website/docs/browser-sdk/tech-ref/chat/chatmemberentity.mdx
index 6face9a67..2dcac63e3 100644
--- a/website/docs/browser-sdk/tech-ref/chat/chatmemberentity.mdx
+++ b/website/docs/browser-sdk/tech-ref/chat/chatmemberentity.mdx
@@ -9,7 +9,7 @@ An object representing a Chat Member with only the state properties of [`ChatMem
### channel
-• `Readonly` **channel**: `string`
+- `Readonly` **channel**: `string`
The channel of this member.
@@ -17,7 +17,7 @@ The channel of this member.
### id
-• `Readonly` **id**: `string`
+- `Readonly` **id**: `string`
The id of this member.
@@ -25,6 +25,6 @@ The id of this member.
### state
-• `Readonly` **state**: `Record`
+- `Readonly` **state**: `Record`
The state of this member.
diff --git a/website/docs/browser-sdk/tech-ref/chat/chatmessageentity.mdx b/website/docs/browser-sdk/tech-ref/chat/chatmessageentity.mdx
index 123b72314..d2655d666 100644
--- a/website/docs/browser-sdk/tech-ref/chat/chatmessageentity.mdx
+++ b/website/docs/browser-sdk/tech-ref/chat/chatmessageentity.mdx
@@ -9,7 +9,7 @@ An object representing a Chat Message with only the state properties of [`ChatMe
### content
-• `Readonly` **content**: `any`
+- `Readonly` **content**: `any`
The content of this message. This can be any JSON-serializable object or value.
@@ -17,7 +17,7 @@ The content of this message. This can be any JSON-serializable object or value.
### id
-• `Readonly` **id**: `string`
+- `Readonly` **id**: `string`
The id of this message.
@@ -25,7 +25,7 @@ The id of this message.
### member
-• `Readonly` **member**: [`ChatMember`](/sdks/browser-sdk/chat/member)
+- `Readonly` **member**: [`ChatMember`](/sdks/browser-sdk/chat/member)
The member which sent this message.
@@ -33,7 +33,7 @@ The member which sent this message.
### meta
-• `Readonly` **meta?**: `any`
+- `Readonly` **meta?**: `any`
Any metadata associated with this message.
@@ -41,6 +41,6 @@ Any metadata associated with this message.
### publishedAt
-• `Readonly` **publishedAt**: `Date`
+- `Readonly` **publishedAt**: `Date`
The date and time at which this message was published.
diff --git a/website/docs/browser-sdk/tech-ref/pubsub/pubsub-client.mdx b/website/docs/browser-sdk/tech-ref/pubsub/pubsub-client.mdx
index 2a3a4177d..7fe4c9a00 100644
--- a/website/docs/browser-sdk/tech-ref/pubsub/pubsub-client.mdx
+++ b/website/docs/browser-sdk/tech-ref/pubsub/pubsub-client.mdx
@@ -40,7 +40,7 @@ await pubSubClient.publish({
### constructor
-• **new Client**(`pubSubOptions`)
+- **new Client**(`pubSubOptions`)
Creates a new PubSub client.
@@ -65,7 +65,7 @@ const pubSubClient = new PubSub.Client({
### disconnect
-▸ **disconnect**(): `void`
+- **disconnect**(): `void`
Disconnects this client. The client will stop receiving events and you will need to create a new instance if you want to use it again.
@@ -83,7 +83,7 @@ client.disconnect();
### getAllowedChannels
-▸ **getAllowedChannels**(): `Promise`
+- **getAllowedChannels**(): `Promise`
Returns the channels that the current token allows you to subscribe to.
@@ -134,7 +134,7 @@ console.log(channels);
### publish
-▸ **publish**(`params`): `Promise`
+- **publish**(`params`): `Promise`
Publish a message into the specified channel.
@@ -184,7 +184,7 @@ await pubSub.publish({
### subscribe
-▸ **subscribe**(`channels`): `Promise`
+- **subscribe**(`channels`): `Promise`
List of channels for which you want to receive messages. You can only subscribe to those channels for which your token has read permission.
@@ -217,7 +217,7 @@ await pubSub.subscribe(["chan-2", "chan-3"]);
### unsubscribe
-▸ **unsubscribe**(`channels`): `Promise`
+- **unsubscribe**(`channels`): `Promise`
List of channels from which you want to unsubscribe.
@@ -242,7 +242,7 @@ await pubSub.unsubscribe(["chan-2", "chan-3"]);
### updateToken
-▸ **updateToken**(`token`): `Promise`
+- **updateToken**(`token`): `Promise`
Replaces the token used by the client with a new one. You can use this method to replace the token when, for example, it is expiring, in order to keep the session alive.
@@ -276,7 +276,7 @@ pubSubClient.on('session.expiring', async () => {
### message
-• **message**(`message`)
+- **message**(`message`)
A new message has been received.
@@ -290,6 +290,6 @@ A new message has been received.
### session.expiring
-• **session.expiring**()
+- **session.expiring**()
The session is going to expire. Use the [updateToken](#updatetoken) method to refresh your token.
diff --git a/website/docs/browser-sdk/tech-ref/video/index.mdx b/website/docs/browser-sdk/tech-ref/video/index.mdx
index 79de5a1a8..b673ed25a 100644
--- a/website/docs/browser-sdk/tech-ref/video/index.mdx
+++ b/website/docs/browser-sdk/tech-ref/video/index.mdx
@@ -28,7 +28,7 @@ Functions directly on the Video namespace have been **deprecated**. Please use t
### ~~createRoomObject~~
-▸ `Const` **createRoomObject**(`roomOptions`): `Promise`
+- `Const` **createRoomObject**(`roomOptions`): `Promise`
> ⚠️ **Deprecated**
>
@@ -67,7 +67,7 @@ try {
### ~~joinRoom~~
-▸ `Const` **joinRoom**(`roomOptions`): `Promise`
+- `Const` **joinRoom**(`roomOptions`): `Promise`
> ⚠️ Deprecated.
>
diff --git a/website/docs/browser-sdk/tech-ref/video/video-roomsession.mdx b/website/docs/browser-sdk/tech-ref/video/video-roomsession.mdx
index 088b58d50..6ae69223d 100644
--- a/website/docs/browser-sdk/tech-ref/video/video-roomsession.mdx
+++ b/website/docs/browser-sdk/tech-ref/video/video-roomsession.mdx
@@ -34,7 +34,7 @@ Please refer to the [Simple Video Demo](/video/getting-started/simple-video-demo
### constructor
-• **new RoomSession**(`opts`)
+- **new RoomSession**(`opts`)
Creates a new RoomSession. Note that the room will not be joined until [join](#join) has been called.
@@ -68,7 +68,7 @@ const roomSession = new SignalWire.Video.RoomSession({
### active
-• `Readonly` **active**: `boolean`
+- `Readonly` **active**: `boolean`
Whether the connection is currently active.
@@ -76,7 +76,7 @@ Whether the connection is currently active.
### cameraId
-• `Readonly` **cameraId**: `null` \| `string`
+- `Readonly` **cameraId**: `null` \| `string`
The id of the video device, or null if not available.
@@ -84,7 +84,7 @@ The id of the video device, or null if not available.
### cameraLabel
-• `Readonly` **cameraLabel**: `null` \| `string`
+- `Readonly` **cameraLabel**: `null` \| `string`
The label of the video device, or null if not available.
@@ -92,7 +92,7 @@ The label of the video device, or null if not available.
### deviceList
-• `Readonly` **deviceList**: [`RoomSessionDevice`](/sdks/browser-sdk/video/room-session-device)[]
+- `Readonly` **deviceList**: [`RoomSessionDevice`](/sdks/browser-sdk/video/room-session-device)[]
Contains any additional devices added via [addCamera](/sdks/browser-sdk/video/room-session#addcamera), [addMicrophone](/sdks/browser-sdk/video/room-session#addmicrophone), or [addDevice](/sdks/browser-sdk/video/room-session#adddevice).
@@ -100,7 +100,7 @@ Contains any additional devices added via [addCamera](/sdks/browser-sdk/video/ro
### interactivityMode
-• `Readonly` **interactivityMode**: `"audience"`|`"member"`
+- `Readonly` **interactivityMode**: `"audience"`|`"member"`
The current interactivity mode (_member_ or _audience_) for the local member.
@@ -112,7 +112,7 @@ can only view and/or listen. See [join](#join).
### localAudioTrack
-• `Readonly` **localAudioTrack**: `null` \| `MediaStreamTrack`
+- `Readonly` **localAudioTrack**: `null` \| `MediaStreamTrack`
Provides access to the local audio [MediaStreamTrack](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack).
@@ -120,7 +120,7 @@ Provides access to the local audio [MediaStreamTrack](https://developer.mozilla.
### localStream
-• `Readonly` **localStream**: `undefined` \| `MediaStream`
+- `Readonly` **localStream**: `undefined` \| `MediaStream`
Provides access to the local [MediaStream](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream).
@@ -128,7 +128,7 @@ Provides access to the local [MediaStream](https://developer.mozilla.org/en-US/d
### localVideoTrack
-• `Readonly` **localVideoTrack**: `null` \| `MediaStreamTrack`
+- `Readonly` **localVideoTrack**: `null` \| `MediaStreamTrack`
Provides access to the local video [MediaStreamTrack](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack).
@@ -136,7 +136,7 @@ Provides access to the local video [MediaStreamTrack](https://developer.mozilla.
### localOverlay
-• `Readonly` **localOverlay**: [`LocalOverlay`](/sdks/browser-sdk/video/local-overlay)
+- `Readonly` **localOverlay**: [`LocalOverlay`](/sdks/browser-sdk/video/local-overlay)
Provides access to the local video overlay. Use this for example to mirror the local video.
@@ -145,7 +145,7 @@ Provides access to the local video overlay. Use this for example to mirror the l
### memberId
-• `Readonly` **memberId**: `string`
+- `Readonly` **memberId**: `string`
The id of the current member within the room.
@@ -153,7 +153,7 @@ The id of the current member within the room.
### microphoneId
-• `Readonly` **microphoneId**: `null` \| `string`
+- `Readonly` **microphoneId**: `null` \| `string`
The id of the audio input device, or null if not available.
@@ -161,7 +161,7 @@ The id of the audio input device, or null if not available.
### microphoneLabel
-• `Readonly` **microphoneLabel**: `null` \| `string`
+- `Readonly` **microphoneLabel**: `null` \| `string`
The label of the audio input device, or null if not available.
@@ -169,7 +169,7 @@ The label of the audio input device, or null if not available.
### permissions
-• `Readonly` **permissions**: `string[]`
+- `Readonly` **permissions**: `string[]`
The list of permissions currently available to the local member.
@@ -177,7 +177,7 @@ The list of permissions currently available to the local member.
### previewUrl
-• `Optional` `Readonly` **previewUrl**: `string`
+- `Optional` `Readonly` **previewUrl**: `string`
If the Room has been created with the property `enable_room_previews` set to `true`, this field contains the URL to the room preview.
@@ -185,7 +185,7 @@ If the Room has been created with the property `enable_room_previews` set to `tr
### remoteStream
-• `Readonly` **remoteStream**: `undefined` \| `MediaStream`
+- `Readonly` **remoteStream**: `undefined` \| `MediaStream`
Provides access to the remote [MediaStream](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream).
@@ -193,7 +193,7 @@ Provides access to the remote [MediaStream](https://developer.mozilla.org/en-US/
### roomId
-• `Readonly` **roomId**: `string`
+- `Readonly` **roomId**: `string`
The unique identifier for the room.
@@ -201,7 +201,7 @@ The unique identifier for the room.
### roomSessionId
-• `Readonly` **roomSessionId**: `string`
+- `Readonly` **roomSessionId**: `string`
The unique identifier for the room session.
@@ -209,7 +209,7 @@ The unique identifier for the room session.
### screenShareList
-• `Readonly` **screenShareList**: [`RoomSessionScreenShare`](/sdks/browser-sdk/video/room-session-screenshare)[]
+- `Readonly` **screenShareList**: [`RoomSessionScreenShare`](/sdks/browser-sdk/video/room-session-screenshare)[]
Contains any local screen shares added to the room via [startScreenShare](/sdks/browser-sdk/video/room-session#startscreenshare).
@@ -219,7 +219,7 @@ Contains any local screen shares added to the room via [startScreenShare](/sdks/
### addCamera
-▸ **addCamera**(`opts`): `Promise` - See [RoomSessionDevice documentation](/sdks/browser-sdk/video/room-session-device) for more details.
+- **addCamera**(`opts`): `Promise` - See [RoomSessionDevice documentation](/sdks/browser-sdk/video/room-session-device) for more details.
Adds a camera device to the room. Using this method, a user can stream multiple video sources at the same time.
@@ -270,7 +270,7 @@ await roomDev.join();
### addDevice
-▸ **addDevice**(`opts`): `Promise` - See [RoomSessionDevice documentation](/sdks/browser-sdk/video/room-session-device) for more details.
+- **addDevice**(`opts`): `Promise` - See [RoomSessionDevice documentation](/sdks/browser-sdk/video/room-session-device) for more details.
Adds a device to the room. Using this method, a user can stream multiple sources at the same time. If you need to add a camera device or a microphone device, you can alternatively use the more specific methods [addCamera](/sdks/browser-sdk/video/room-session#addcamera) and [addMicrophone](/sdks/browser-sdk/video/room-session#addmicrophone).
@@ -305,7 +305,7 @@ await roomSession.addDevice({ audio: true });
### addMicrophone
-▸ **addMicrophone**(`opts`): `Promise` - See [RoomSessionDevice documentation](/sdks/browser-sdk/video/room-session-device) for more details.
+- **addMicrophone**(`opts`): `Promise` - See [RoomSessionDevice documentation](/sdks/browser-sdk/video/room-session-device) for more details.
Adds a microphone device to the room. Using this method, a user can stream multiple audio sources at the same time.
@@ -355,7 +355,7 @@ await roomDev.join();
### audioMute
-▸ **audioMute**(`params?`): `Promise`
+- **audioMute**(`params?`): `Promise`
Puts the microphone on mute. The other participants will not hear audio from the muted participant anymore. You can use this method to mute either yourself or another participant in the room.
@@ -396,7 +396,7 @@ await roomSession.audioMute({ memberId: id });
### audioUnmute
-▸ **audioUnmute**(`params?`): `Promise`
+- **audioUnmute**(`params?`): `Promise`
Unmutes the microphone if it had been previously muted. You can use this method to unmute either yourself or another participant in the room.
@@ -437,7 +437,7 @@ await roomSession.audioUnmute({ memberId: id });
### ~~createScreenShareObject~~
-▸ **createScreenShareObject**(`opts`): `Promise` - See [RoomSessionScreenShare documentation](/sdks/browser-sdk/video/room-session-screenshare) for more details.
+- **createScreenShareObject**(`opts`): `Promise` - See [RoomSessionScreenShare documentation](/sdks/browser-sdk/video/room-session-screenshare) for more details.
> ⚠️ Deprecated.
@@ -477,7 +477,7 @@ await roomSession.createScreenShareObject({ audio: true, video: true });
### deaf
-▸ **deaf**(`params?`): `Promise`
+- **deaf**(`params?`): `Promise`
Mutes the incoming audio. The affected participant will not hear audio from the other participants anymore. You can use this method to make deaf either yourself or another participant in the room.
@@ -520,7 +520,7 @@ await roomSession.deaf({ memberId: id });
### deleteMemberMeta
-▸ **deleteMemberMeta**(`params`): `Promise`
+- **deleteMemberMeta**(`params`): `Promise`
Deletes the specified keys from the metadata for the specified member.
@@ -564,7 +564,7 @@ await roomSession.deleteMemberMeta({ memberId: "...", keys: ["foo"] });
### deleteMeta
-▸ **deleteMeta**(`keys`): `Promise`
+- **deleteMeta**(`keys`): `Promise`
Deletes the specified keys from the metadata for this RoomSession.
@@ -603,7 +603,7 @@ await roomSession.deleteMeta(["foo"]);
### demote
-▸ **demote**(`params`): `Promise`
+- **demote**(`params`): `Promise`
Demotes a participant from "member" to "audience". See [join](#join) and [promote](#promote).
@@ -638,7 +638,7 @@ await roomSession.demote({
### destroy
-▸ **destroy**(): `void`
+- **destroy**(): `void`
Destroys the room object. This only destroys the JavaScript object: it has no effect on the server-side room.
@@ -650,7 +650,7 @@ Destroys the room object. This only destroys the JavaScript object: it has no ef
### getLayouts
-▸ **getLayouts**(): `Promise<{ layouts: string[] }>`
+- **getLayouts**(): `Promise<{ layouts: string[] }>`
Returns a list of available layouts for the room.
@@ -682,7 +682,7 @@ await roomSession.getLayouts()
### getMembers
-▸ **getMembers**(): `Promise<{ members: VideoMemberEntity[] }>`
+- **getMembers**(): `Promise<{ members: VideoMemberEntity[] }>`
Returns a list of members currently in the room.
@@ -733,7 +733,7 @@ await roomSession.getMembers()
### getMemberMeta
-▸ **getMemberMeta**(): `Promise<{ meta: Object }>`
+- **getMemberMeta**(): `Promise<{ meta: Object }>`
Returns the metadata assigned to the specified member.
@@ -759,7 +759,7 @@ console.log(meta);
### getMeta
-▸ **getMeta**(): `Promise<{ meta`: `Object` }\>
+- **getMeta**(): `Promise<{ meta`: `Object` }\>
Returns the metadata assigned to this Room Session.
@@ -778,7 +778,7 @@ console.log(meta);
### getPlaybacks
-▸ **getPlaybacks**(): `Promise<{ playbacks: RoomSessionPlayback }>` - See [RoomSessionPlayback documentation](/sdks/browser-sdk/video/room-session-playback) for more details.
+- **getPlaybacks**(): `Promise<{ playbacks: RoomSessionPlayback }>` - See [RoomSessionPlayback documentation](/sdks/browser-sdk/video/room-session-playback) for more details.
Obtains a list of recordings for the current room session.
@@ -807,7 +807,7 @@ if (pl.playbacks.length > 0) {
### getRecordings
-▸ **getRecordings**(): `Promise<{ recordings: RoomSessionRecording}>` - See [RoomSessionRecording documentation](/sdks/browser-sdk/video/room-session-recording) for more details.
+- **getRecordings**(): `Promise<{ recordings: RoomSessionRecording}>` - See [RoomSessionRecording documentation](/sdks/browser-sdk/video/room-session-recording) for more details.
Obtains a list of recordings for the current room session. To download the actual mp4 file, please use the [REST API](/rest).
@@ -843,7 +843,7 @@ curl --request GET \
### getStreams
-▸ **getStreams**(): `Promise<{ streams: RoomSessionStream}>` - See [RoomSessionStream documentation](/sdks/browser-sdk/video/room-session-stream) for more details.
+- **getStreams**(): `Promise<{ streams: RoomSessionStream}>` - See [RoomSessionStream documentation](/sdks/browser-sdk/video/room-session-stream) for more details.
Obtains a list of active streams for this RoomSession. These are RTMP streams of
the audio/video content of this room, which will be sent to an external party
@@ -870,7 +870,7 @@ for (const stream of s.streams) {
### hangupAll
-▸ **hangupAll**(): `Promise`
+- **hangupAll**(): `Promise`
Hangs up the active calls in the `RoomSession` and will send a `REJECT_ALL` message to the rejected participant(s).
@@ -915,7 +915,7 @@ await roomSession.hangupAll();
### ~~hideVideoMuted~~
-▸ **hideVideoMuted**(): `Promise`
+- **hideVideoMuted**(): `Promise`
> ⚠️ Deprecated.
> Use [setHideVideoMuted](/sdks/browser-sdk/video/room-session#sethidevideomuted) instead.
@@ -943,7 +943,7 @@ await roomSession.hideVideoMuted();
### join
-▸ **join**(): `Promise`
+- **join**(): `Promise`
Joins the room session.
@@ -970,7 +970,7 @@ as a _member_ or as an _audience_ participant.
### leave
-▸ **leave**(): `Promise`
+- **leave**(): `Promise`
Leaves the room. This detaches all the locally originating streams from the room.
@@ -982,7 +982,7 @@ Leaves the room. This detaches all the locally originating streams from the room
### lock
-▸ **lock**(`params`): `Promise`
+- **lock**(`params`): `Promise`
Locks the room. This prevents new participants from joining the room.
@@ -1019,7 +1019,7 @@ await roomSession.lock();
### play
-▸ **play**(`params`): `Promise` - See [RoomSessionPlayback documentation](/sdks/browser-sdk/video/room-session-playback) for more details.
+- **play**(`params`): `Promise` - See [RoomSessionPlayback documentation](/sdks/browser-sdk/video/room-session-playback) for more details.
Starts a playback in the room. You can use the returned [RoomSessionPlayback](/sdks/browser-sdk/video/room-session-playback) object to control the playback (e.g., pause, resume, setVolume and stop).
@@ -1055,7 +1055,7 @@ await playback.stop();
### promote
-▸ **promote**(`params`): `Promise`
+- **promote**(`params`): `Promise`
Promotes a participant from "audience" to "member". See [join](#join) and [demote](#demote).
@@ -1107,7 +1107,7 @@ await roomSession.promote({
### removeAllMembers
-▸ **removeAllMembers**(): `Promise`
+- **removeAllMembers**(): `Promise`
Removes all the members from this room session. The room session will end.
@@ -1131,7 +1131,7 @@ await roomSession.removeAllMembers();
### removeMember
-▸ **removeMember**(`params`): `Promise`
+- **removeMember**(`params`): `Promise`
Removes a specific participant from the room.
@@ -1164,7 +1164,7 @@ await roomSession.removeMember({ memberId: id });
### sendDigits
-▸ **sendDigits**(`string`): `Promise`
+- **sendDigits**(`string`): `Promise`
Sends DTMF digits to the room. The digits will be sent to the RoomSession.
@@ -1189,7 +1189,7 @@ await roomSession.sendDigits("1");
### setHideVideoMuted
-▸ **setHideVideoMuted**(`value`): `Promise`
+- **setHideVideoMuted**(`value`): `Promise`
Show or hide muted videos in the room layout. Members that have been muted via [videoMute](/sdks/browser-sdk/video/room-session#videomute) will not appear in the video stream, instead of appearing as a mute image, if this setting is enabled.
@@ -1222,7 +1222,7 @@ await roomSession.setHideVideoMuted(false);
### setInputSensitivity
-▸ **setInputSensitivity**(`params`): `Promise`
+- **setInputSensitivity**(`params`): `Promise`
Sets the input level at which the participant is identified as currently speaking. You can use this method to set the input sensitivity for either yourself or another participant in the room.
@@ -1264,7 +1264,7 @@ await roomSession.setInputSensitivity({ memberId: id, value: 80 });
### setInputVolume
-▸ **setInputVolume**(`params`): `Promise`
+- **setInputVolume**(`params`): `Promise`
Sets the input volume level (e.g. for the microphone). You can use this method to set the input volume for either yourself or another participant in the room.
@@ -1306,7 +1306,7 @@ await roomSession.setInputVolume({ memberId: id, volume: -10 });
### setLayout
-▸ **setLayout**(`params`): `Promise`
+- **setLayout**(`params`): `Promise`
Sets a layout for the room. You can obtain a list of available layouts with [getLayouts](/sdks/browser-sdk/video/room-session#getlayouts).
@@ -1341,7 +1341,7 @@ await roomSession.setLayout({ name: "6x6" });
### setLocalStream
-▸ **setLocalStream**(`stream`): `void`
+- **setLocalStream**(`stream`): `void`
Replaces the current local media stream with the one specified as a parameter.
@@ -1391,7 +1391,7 @@ await roomSession.setLocalStream(stream);
### setMemberMeta
-▸ **setMemberMeta**(`params`): `Promise`
+- **setMemberMeta**(`params`): `Promise`
Assigns custom metadata to the specified RoomSession member. You can use this to store metadata whose meaning is entirely defined by your application.
@@ -1443,7 +1443,7 @@ await roomSession.setMemberMeta({
### setMemberPosition
-▸ **setMemberPosition**(`params`): `Promise`
+- **setMemberPosition**(`params`): `Promise`
Assigns a position in the layout to the specified member.
@@ -1479,7 +1479,7 @@ await roomSession.setMemberPosition({
### setMeta
-▸ **setMeta**(`meta`): `Promise`
+- **setMeta**(`meta`): `Promise`
Assigns custom metadata to the RoomSession. You can use this to store metadata whose meaning is entirely defined by your application.
@@ -1511,7 +1511,7 @@ await roomSession.setMeta({ foo: "bar" });
### setOutputVolume
-▸ **setOutputVolume**(`params`): `Promise`
+- **setOutputVolume**(`params`): `Promise`
Sets the output volume level (e.g., for the speaker). You can use this method to set the output volume for either yourself or another participant in the room.
@@ -1553,7 +1553,7 @@ await roomSession.setOutputVolume({ memberId: id, volume: -10 });
### setPositions
-▸ **setPositions**(`params`): `Promise`
+- **setPositions**(`params`): `Promise`
Assigns a position in the layout for multiple members.
@@ -1589,7 +1589,7 @@ await roomSession.setPositions({
### setPrioritizeHandraise
-▸ **setPrioritizeHandraise**(`params`): `Promise`
+- **setPrioritizeHandraise**(`params`): `Promise`
Sets whether to prioritize hand-raise's or not.
@@ -1621,7 +1621,7 @@ await room.setPrioritizeHandraise(false)
### setRaisedHand
-▸ **setRaisedHand**(`params`): `Promise`
+- **setRaisedHand**(`params`): `Promise`
Sets the raised hand status for the current member.
@@ -1659,7 +1659,7 @@ await roomSession.setRaisedHand({
### ~~showVideoMuted~~
-▸ **showVideoMuted**(): `Promise`
+- **showVideoMuted**(): `Promise`
> ⚠️ Deprecated.
> Use [setHideVideoMuted](/sdks/browser-sdk/video/room-session#sethidevideomuted) instead.
@@ -1686,7 +1686,7 @@ await roomSession.showVideoMuted();
### startRecording
-▸ **startRecording**(): `Promise` - See [RoomSessionRecording documentation](/sdks/browser-sdk/video/room-session-recording) for more details.
+- **startRecording**(): `Promise` - See [RoomSessionRecording documentation](/sdks/browser-sdk/video/room-session-recording) for more details.
Starts the recording of the room. You can use the returned [RoomSessionRecording](/sdks/browser-sdk/video/room-session-recording) object to control the recording (e.g., pause, resume, stop).
@@ -1711,7 +1711,7 @@ await rec.stop();
### startScreenShare
-▸ **startScreenShare**(`opts`): `Promise` - See [RoomSessionScreenShare documentation](/sdks/browser-sdk/video/room-session-screenshare) for more details.
+- **startScreenShare**(`opts`): `Promise` - See [RoomSessionScreenShare documentation](/sdks/browser-sdk/video/room-session-screenshare) for more details.
Adds a screen sharing instance to the room. You can create multiple screen sharing instances and add all of them to the room.
@@ -1761,7 +1761,7 @@ await roomSession.startScreenShare({
### startStream
-▸ **startStream**(): `Promise` - See [RoomSessionStream documentation](/sdks/browser-sdk/video/room-session-stream) for more details.
+- **startStream**(): `Promise` - See [RoomSessionStream documentation](/sdks/browser-sdk/video/room-session-stream) for more details.
Starts streaming the audio/video of this room to an external service. You can
use the returned [RoomSessionStream](/sdks/browser-sdk/video/room-session-stream) object to
@@ -1797,7 +1797,7 @@ setTimeout(() => stream.stop(), 60000);
### undeaf
-▸ **undeaf**(`params?`): `Promise`
+- **undeaf**(`params?`): `Promise`
Unmutes the incoming audio. The affected participant will start hearing audio from the other participants again. You can use this method to undeaf either yourself or another participant in the room.
@@ -1840,7 +1840,7 @@ await roomSession.undeaf({ memberId: id });
### updateCamera
-▸ **updateCamera**(`constraints`): `Promise`
+- **updateCamera**(`constraints`): `Promise`
Replaces the current camera stream with the one coming from a different device.
@@ -1868,7 +1868,7 @@ await roomSession.updateCamera({
### updateMemberMeta
-▸ **updateMemberMeta**(`params`): `Promise`
+- **updateMemberMeta**(`params`): `Promise`
Updates a member's metadata in only the specified fields. This is different from
[setMemberMeta](#setmembermeta), which replaces the whole metadata object.
@@ -1916,7 +1916,7 @@ await roomSession.updateMemberMeta({
### updateMeta
-▸ **updateMeta**(`meta`): `Promise`
+- **updateMeta**(`meta`): `Promise`
Updates the RoomSession metadata by only setting the specified fields. This is
different from [setMeta](#setmeta), which replaces the whole metadata object.
@@ -1956,7 +1956,7 @@ await roomSession.updateMeta({ baz: false, t: 10 });
### unlock
-▸ **unlock**(`params`): `Promise`
+- **unlock**(`params`): `Promise`
Unlocks the room if it had been previously locked. This allows new participants to join the room.
@@ -1974,7 +1974,7 @@ await roomSession.unlock();
### updateMicrophone
-▸ **updateMicrophone**(`constraints`): `Promise`
+- **updateMicrophone**(`constraints`): `Promise`
Replaces the current microphone stream with the one coming from a different device.
@@ -2002,7 +2002,7 @@ await roomSession.updateMicrophone({
### updateSpeaker
-▸ **updateSpeaker**(`opts`): `Promise`
+- **updateSpeaker**(`opts`): `Promise`
Replaces the current speaker with a different one.
@@ -2034,7 +2034,7 @@ await roomSession.updateSpeaker({
### videoMute
-▸ **videoMute**(`params?`): `Promise`
+- **videoMute**(`params?`): `Promise`
Puts the video on mute. Participants will see a mute image instead of the video stream. You can use this method to mute either yourself or another participant in the room.
@@ -2075,7 +2075,7 @@ await roomSession.videoMute({ memberId: id });
### videoUnmute
-▸ **videoUnmute**(`params?`): `Promise`
+- **videoUnmute**(`params?`): `Promise`
Unmutes the video if it had been previously muted. Participants will start seeing the video stream again. You can use this method to unmute either yourself or another participant in the room.
@@ -2120,7 +2120,7 @@ List of events emitted by a RoomSession object.
### camera.disconnected
-• **camera.disconnected**(`e`)
+- **camera.disconnected**(`e`)
A camera device was disconnected.
@@ -2136,7 +2136,7 @@ A camera device was disconnected.
### camera.updated
-• **camera.updated**(`e`)
+- **camera.updated**(`e`)
A camera device was updated.
@@ -2156,7 +2156,7 @@ A camera device was updated.
### layout.changed
-• **layout.changed**(`e`)
+- **layout.changed**(`e`)
The layout of the room has changed. This event is not limited to changes
associated to the grid layout of the room: it also includes for example changes
@@ -2179,25 +2179,25 @@ in the position of the participants within the grid of the room.
### media.connected
-• **media.connected**
+- **media.connected**
New media has been connected. There is no payload, as this event is used to troubleshoot advanced use cases when hooking into the media connection.
### media.disconnected
-• **media.disconnected**
+- **media.disconnected**
Media has been disconnected from the session. There is no payload, as this event is used to troubleshoot advanced use cases when hooking into the media connection.
### media.reconnecting
-• **media.reconnecting**
+- **media.reconnecting**
Media is attempting to reconnect to the session. There is no payload, as this event is used to troubleshoot advanced use cases when hooking into the media connection.
### member.demoted
-• **member.demoted**(`e`)
+- **member.demoted**(`e`)
A member has been demoted to audience, for example using [demote](#demote).
@@ -2219,7 +2219,7 @@ to ensure future compatibility.
### member.joined
-• **member.joined**(`e`)
+- **member.joined**(`e`)
A member has joined the room.
@@ -2249,7 +2249,7 @@ A member has joined the room.
### member.left
-• **member.left**(`e`)
+- **member.left**(`e`)
A member has left the room.
@@ -2270,7 +2270,7 @@ A member has left the room.
### member.promoted
-• **member.promoted**(`e`)
+- **member.promoted**(`e`)
An audience participant has been promoted to member, for example using [promote](#promote).
@@ -2292,7 +2292,7 @@ to ensure future compatibility.
### member.talking
-• **member.talking**(`e`)
+- **member.talking**(`e`)
A member is talking or has stopped talking.
@@ -2313,7 +2313,7 @@ A member is talking or has stopped talking.
### member.updated
-• **member.updated**(`e`)
+- **member.updated**(`e`)
A property of a member of the room has been updated.
@@ -2355,7 +2355,7 @@ For example, say `visible` and `video_muted` have been updated. The received obj
### memberList.updated
-• **memberList.updated**(`e`)
+- **memberList.updated**(`e`)
The set of members or one or more properties of a member have changed.
@@ -2370,7 +2370,7 @@ The set of members or one or more properties of a member have changed.
### microphone.disconnected
-• **microphone.disconnected**(`e`)
+- **microphone.disconnected**(`e`)
A microphone device was disconnected.
@@ -2386,7 +2386,7 @@ A microphone device was disconnected.
### microphone.updated
-• **microphone.updated**(`e`)
+- **microphone.updated**(`e`)
A microphone device was updated.
@@ -2406,7 +2406,7 @@ A microphone device was updated.
### playback.ended
-• **playback.ended**
+- **playback.ended**
A playback has ended. You only receive this event if your token has the `room.playback` permission. The event handler receives a [RoomSessionPlayback](/sdks/browser-sdk/video/room-session-playback) object.
@@ -2414,7 +2414,7 @@ A playback has ended. You only receive this event if your token has the `room.pl
### playback.started
-• **playback.started**
+- **playback.started**
A playback has been started. You only receive this event if your token has the `room.playback` permission. The event handler receives a [RoomSessionPlayback](/sdks/browser-sdk/video/room-session-playback) object.
@@ -2422,7 +2422,7 @@ A playback has been started. You only receive this event if your token has the `
### playback.updated
-• **playback.updated**
+- **playback.updated**
A playback has been updated. You only receive this event if your token has the `room.playback` permission. The event handler receives a [RoomSessionPlayback](./video-roomsessionplayback.md) object.
@@ -2430,7 +2430,7 @@ A playback has been updated. You only receive this event if your token has the `
### recording.ended
-• **recording.ended**
+- **recording.ended**
An active recording has been stopped. You only receive this event if your token has the `room.recording` permission. The event handler receives a [RoomSessionRecording](/sdks/browser-sdk/video/room-session-recording) object.
@@ -2438,7 +2438,7 @@ An active recording has been stopped. You only receive this event if your token
### recording.started
-• **recording.started**
+- **recording.started**
A recording has been started in the room. You only receive this event if your token has the `room.recording` permission. The event handler receives a [RoomSessionRecording](/sdks/browser-sdk/video/room-session-recording) object.
@@ -2446,7 +2446,7 @@ A recording has been started in the room. You only receive this event if your to
### recording.updated
-• **recording.updated**
+- **recording.updated**
An active recording has been updated. You only receive this event if your token has the `room.recording` permission. The event handler receives a [RoomSessionRecording](/sdks/browser-sdk/video/room-session-recording) object.
@@ -2454,7 +2454,7 @@ An active recording has been updated. You only receive this event if your token
### room.audience_count
-• **room.audience_count**(`e`)
+- **room.audience_count**(`e`)
This event is received periodically, and contains a total count of audience members.
@@ -2473,7 +2473,7 @@ Audience members joining and leaving trigger this event.
### room.joined
-• **room.joined**(`e`)
+- **room.joined**(`e`)
The current client joined the room session. The event handler receives objects that contain information about the room and all its members (including the current client).
@@ -2503,7 +2503,7 @@ The current client joined the room session. The event handler receives objects t
### room.left
-• **room.left**(`e`)
+- **room.left**(`e`)
The current client left the room session.
@@ -2518,7 +2518,7 @@ The current client left the room session.
### room.updated
-• **room.updated**(`e`)
+- **room.updated**(`e`)
The properties of the room have been updated.
@@ -2555,7 +2555,7 @@ For example, if `hide_video_muted` has been updated, the received object will be
### speaker.disconnected
-• **speaker.disconnected**(`e`)
+- **speaker.disconnected**(`e`)
A speaker device was disconnected.
@@ -2571,7 +2571,7 @@ A speaker device was disconnected.
### speaker.updated
-• **speaker.updated**(`e`)
+- **speaker.updated**(`e`)
A speaker device was updated.
@@ -2591,7 +2591,7 @@ A speaker device was updated.
### stream.ended
-• **stream.ended**(`stream`)
+- **stream.ended**(`stream`)
A stream ended (e.g., it was stopped).
@@ -2605,7 +2605,7 @@ A stream ended (e.g., it was stopped).
### stream.started
-• **stream.started**(`stream`)
+- **stream.started**(`stream`)
A new stream started.
diff --git a/website/docs/browser-sdk/tech-ref/video/video-roomsessionstream.mdx b/website/docs/browser-sdk/tech-ref/video/video-roomsessionstream.mdx
index 6a91a3a08..49831f811 100644
--- a/website/docs/browser-sdk/tech-ref/video/video-roomsessionstream.mdx
+++ b/website/docs/browser-sdk/tech-ref/video/video-roomsessionstream.mdx
@@ -14,7 +14,7 @@ You can start a stream with [RoomSession.startStream](/sdks/browser-sdk/video/ro
### duration
-• `Optional` **duration**: `number`
+- `Optional` **duration**: `number`
Total seconds of time spent streaming, if available. This is equal to (`endedAt` - `startedAt`).
@@ -22,7 +22,7 @@ Total seconds of time spent streaming, if available. This is equal to (`endedAt`
### endedAt
-• `Optional` **endedAt**: `Date`
+- `Optional` **endedAt**: `Date`
End time, if available.
@@ -30,7 +30,7 @@ End time, if available.
### id
-• **id**: `string`
+- **id**: `string`
The unique id of this stream.
@@ -38,7 +38,7 @@ The unique id of this stream.
### roomSessionId
-• **roomSessionId**: `string`
+- **roomSessionId**: `string`
The id of the room session associated to this stream.
@@ -46,7 +46,7 @@ The id of the room session associated to this stream.
### startedAt
-• **startedAt**: `Date`
+- **startedAt**: `Date`
Start time, if available.
@@ -54,7 +54,7 @@ Start time, if available.
### state
-• **state**: `"streaming"` \| `"completed"`
+- **state**: `"streaming"` \| `"completed"`
Current state of the stream.
@@ -62,7 +62,7 @@ Current state of the stream.
### url
-• **url**: `string`
+- **url**: `string`
The RTMP URL of the stream.
@@ -70,7 +70,7 @@ The RTMP URL of the stream.
### stop
-▸ **stop**(): `Promise`
+- **stop**(): `Promise`
Stops the stream.
diff --git a/website/docs/browser-sdk/tech-ref/webrtc/index.mdx b/website/docs/browser-sdk/tech-ref/webrtc/index.mdx
index 0b9dccb08..28f216a3d 100644
--- a/website/docs/browser-sdk/tech-ref/webrtc/index.mdx
+++ b/website/docs/browser-sdk/tech-ref/webrtc/index.mdx
@@ -12,7 +12,7 @@ The WebRTC namespace includes functions that give you access to the input and ou
### checkCameraPermissions
-▸ `Const` **checkCameraPermissions**(): `Promise`
+- `Const` **checkCameraPermissions**(): `Promise`
Asynchronously returns whether we have permissions to access the camera.
@@ -31,7 +31,7 @@ await SignalWire.WebRTC.checkCameraPermissions();
### checkMicrophonePermissions
-▸ `Const` **checkMicrophonePermissions**(): `Promise`
+- `Const` **checkMicrophonePermissions**(): `Promise`
Asynchronously returns whether we have permissions to access the microphone.
@@ -50,7 +50,7 @@ await SignalWire.WebRTC.checkMicrophonePermissions();
### checkPermissions
-▸ `Const` **checkPermissions**(`name?`): `Promise`
+- `Const` **checkPermissions**(`name?`): `Promise`
Asynchronously returns whether we have permissions to access the specified resource. Some common parameter values for `name` are `"camera"`,
`"microphone"`, and `"speaker"`. In those cases, prefer the dedicated methods
@@ -77,7 +77,7 @@ await SignalWire.WebRTC.checkPermissions("camera");
### checkSpeakerPermissions
-▸ `Const` **checkSpeakerPermissions**(): `Promise`
+- `Const` **checkSpeakerPermissions**(): `Promise`
Asynchronously returns whether we have permissions to access the speakers.
@@ -96,7 +96,7 @@ await SignalWire.WebRTC.checkSpeakerPermissions();
### createCameraDeviceWatcher
-▸ `Const` **createCameraDeviceWatcher**(): `Promise>`
+- `Const` **createCameraDeviceWatcher**(): `Promise>`
Asynchronously returns an event emitter that notifies changes in all camera devices. This is equivalent to calling
`createDeviceWatcher({ targets: ['camera'] })`, so refer to
@@ -110,7 +110,7 @@ Asynchronously returns an event emitter that notifies changes in all camera devi
### createDeviceWatcher
-▸ `Const` **createDeviceWatcher**(`options?`): `Promise>`
+- `Const` **createDeviceWatcher**(`options?`): `Promise>`
Asynchronously returns an event emitter that notifies changes in the devices. The possible events are:
@@ -162,7 +162,7 @@ h.on("changed", (c) => console.log(c));
### createMicrophoneAnalyzer
-▸ `Const` **createMicrophoneAnalyzer**(`options`): `Promise`
+- `Const` **createMicrophoneAnalyzer**(`options`): `Promise`
Initializes a microphone analyzer. You can use a MicrophoneAnalyzer to track the input audio volume.
@@ -207,7 +207,7 @@ micAnalyzer.destroy();
### createMicrophoneDeviceWatcher
-▸ `Const` **createMicrophoneDeviceWatcher**(): `Promise>`
+- `Const` **createMicrophoneDeviceWatcher**(): `Promise>`
Asynchronously returns an event emitter that notifies changes in all microphone devices. This is equivalent to calling
`createDeviceWatcher({ targets: ['microphone'] })`, so refer to
@@ -221,7 +221,7 @@ Asynchronously returns an event emitter that notifies changes in all microphone
### createSpeakerDeviceWatcher
-▸ `Const` **createSpeakerDeviceWatcher**(): `Promise>`
+- `Const` **createSpeakerDeviceWatcher**(): `Promise>`
Asynchronously returns an event emitter that notifies changes in all speaker devices. This is equivalent to calling
`createDeviceWatcher({ targets: ['speaker'] })`, so refer to
@@ -235,7 +235,7 @@ Asynchronously returns an event emitter that notifies changes in all speaker dev
### enumerateDevices
-▸ `Const` **enumerateDevices**(): `Promise` - See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details.
+- `Const` **enumerateDevices**(): `Promise` - See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details.
Enumerates the media input and output devices available on this device.
@@ -267,7 +267,7 @@ await SignalWire.WebRTC.enumerateDevices();
### getCameraDevices
-▸ `Const` **getCameraDevices**(): `Promise` - See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details.
+- `Const` **getCameraDevices**(): `Promise` - See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details.
Returns an array of camera devices that can be accessed on this device (for which we have permissions).
@@ -293,7 +293,7 @@ await SignalWire.WebRTC.getCameraDevices();
### getCameraDevicesWithPermissions
-▸ `Const` **getCameraDevicesWithPermissions**(): `Promise` - See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details.
+- `Const` **getCameraDevicesWithPermissions**(): `Promise` - See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details.
> ⚠️ Deprecated.
> Use [getCameraDevices](#getcameradevices) for better cross browser compatibility.
@@ -322,7 +322,7 @@ await SignalWire.WebRTC.getCameraDevicesWithPermissions();
### getDevices
-▸ `Const` **getDevices**(`name?`, `fullList?`): `Promise` - See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details.
+- `Const` **getDevices**(`name?`, `fullList?`): `Promise` - See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details.
Enumerates the media input and output devices available on this machine. If
`name` is provided, only the devices of the specified kind are returned.
@@ -359,7 +359,7 @@ await SignalWire.WebRTC.getDevices("camera", true);
### getDevicesWithPermissions
-▸ `Const` **getDevicesWithPermissions**(`kind?`, `fullList?`): `Promise` - See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details.
+- `Const` **getDevicesWithPermissions**(`kind?`, `fullList?`): `Promise` - See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details.
> ⚠️ Deprecated.
> Use [getDevices](#getdevices) for better cross browser compatibility.
@@ -395,7 +395,7 @@ await SignalWire.WebRTC.getDevicesWithPermissions("camera");
### getDisplayMedia
-▸ `Const` **getDisplayMedia**(`constraints?`): `Promise` - See [MediaStream](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream) for more details.
+- `Const` **getDisplayMedia**(`constraints?`): `Promise` - See [MediaStream](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream) for more details.
Prompts the user to share the screen and asynchronously returns a [MediaStream](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream) object associated with a display or part of it.
@@ -419,7 +419,7 @@ await SignalWire.WebRTC.getDisplayMedia(); // MediaStream {id: "HCXy...", active
### getMicrophoneDevices
-▸ `Const` **getMicrophoneDevices**(): `Promise` - See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details.
+- `Const` **getMicrophoneDevices**(): `Promise` - See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details.
Returns an array of microphone devices that can be accessed on this device (for which we have permissions).
@@ -445,7 +445,7 @@ await SignalWire.WebRTC.getMicrophoneDevices();
### getMicrophoneDevicesWithPermissions
-▸ `Const` **getMicrophoneDevicesWithPermissions**(): `Promise` - See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details.
+- `Const` **getMicrophoneDevicesWithPermissions**(): `Promise` - See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details.
> ⚠️ Deprecated.
> Use [getMicrophoneDevices](#getmicrophonedevices) for better cross browser compatibility.
@@ -474,7 +474,7 @@ await SignalWire.WebRTC.getMicrophoneDevicesWithPermissions();
### getSpeakerDevices
-▸ `Const` **getSpeakerDevices**(): `Promise` - See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details.
+- `Const` **getSpeakerDevices**(): `Promise` - See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details.
Returns an array of speaker devices that can be accessed on this device (for which we have permissions).
@@ -500,7 +500,7 @@ await SignalWire.WebRTC.getSpeakerDevices();
### getSpeakerDevicesWithPermissions
-▸ `Const` **getSpeakerDevicesWithPermissions**(): `Promise` - See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details.
+- `Const` **getSpeakerDevicesWithPermissions**(): `Promise` - See [MediaDeviceInfo](https://developer.mozilla.org/en-US/docs/Web/API/mediadeviceinfo) for more details.
> ⚠️ Deprecated.
> Use [getSpeakerDevices](#getspeakerdevices) for better cross browser compatibility.
@@ -529,7 +529,7 @@ await SignalWire.WebRTC.getSpeakerDevicesWithPermissions();
### getSupportedConstraints
-▸ `Const` **getSupportedConstraints**(): `MediaTrackSupportedConstraints`
+- `Const` **getSupportedConstraints**(): `MediaTrackSupportedConstraints`
Returns a dictionary whose fields specify the constrainable properties the user agent understands.
@@ -555,7 +555,7 @@ SignalWire.WebRTC.getSupportedConstraints();
### getUserMedia
-▸ `Const` **getUserMedia**(`constraints?`): `Promise` - See [MediaStream](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream) for more details.
+- `Const` **getUserMedia**(`constraints?`): `Promise` - See [MediaStream](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream) for more details.
Prompts the user to share one or more media devices and asynchronously returns an associated [MediaStream](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream) object.
@@ -598,7 +598,7 @@ await SignalWire.WebRTC.getUserMedia(constraints);
### requestPermissions
-▸ `Const` **requestPermissions**(`constraints`): `Promise`
+- `Const` **requestPermissions**(`constraints`): `Promise`
Prompts the user to grant permissions for the devices matching the specified set of constraints.
@@ -637,7 +637,7 @@ await SignalWire.WebRTC.requestPermissions(constraints);
### setMediaElementSinkId
-▸ `Const` **setMediaElementSinkId**(`el`, `deviceId`): `Promise`
+- `Const` **setMediaElementSinkId**(`el`, `deviceId`): `Promise`
Assigns the specified audio output device to the specified HTMLMediaElement. The device with id `deviceId` must be an audio output device. Asynchronously returns whether the operation had success.
@@ -669,7 +669,7 @@ await SignalWire.WebRTC.setMediaElementSinkId(el, outDevices[0].deviceId);
### stopStream
-▸ `Const` **stopStream**(`stream?`): `void`
+- `Const` **stopStream**(`stream?`): `void`
Stops all tracks in a specified stream and fires the `ended` event for each.
@@ -687,7 +687,7 @@ Stops all tracks in a specified stream and fires the `ended` event for each.
### stopTrack
-▸ `Const` **stopTrack**(`track`): `void`
+- `Const` **stopTrack**(`track`): `void`
Stops a specified track. This method is similar to [`MediaStreamTrack.stop()`](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/stop) but this method also fires the `ended` event.
@@ -705,7 +705,7 @@ Stops a specified track. This method is similar to [`MediaStreamTrack.stop()`](h
### supportsGetDisplayMedia
-▸ `Const` **supportsGetDisplayMedia**(): `boolean`
+- `Const` **supportsGetDisplayMedia**(): `boolean`
Returns whether the current environment supports [`getDisplayMedia`](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia).
@@ -717,7 +717,7 @@ Returns whether the current environment supports [`getDisplayMedia`](https://dev
### supportsGetUserMedia
-▸ `Const` **supportsGetUserMedia**(): `boolean`
+- `Const` **supportsGetUserMedia**(): `boolean`
Returns whether the current environment supports [`getUserMedia`](https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia).
@@ -729,7 +729,7 @@ Returns whether the current environment supports [`getUserMedia`](https://develo
### supportsMediaDevices
-▸ `Const` **supportsMediaDevices**(): `boolean`
+- `Const` **supportsMediaDevices**(): `boolean`
Returns whether the current environment supports the media devices API.
@@ -741,7 +741,7 @@ Returns whether the current environment supports the media devices API.
### supportsMediaOutput
-▸ `Const` **supportsMediaOutput**(): `boolean`
+- `Const` **supportsMediaOutput**(): `boolean`
Returns whether the current environment supports the selection of a media output device.
diff --git a/website/docs/main/compatibility-api/guides/voice/nodejs/realtime-streaming-to-openai/index.mdx b/website/docs/main/compatibility-api/guides/voice/nodejs/realtime-streaming-to-openai/index.mdx
index 409b4310d..27d632049 100644
--- a/website/docs/main/compatibility-api/guides/voice/nodejs/realtime-streaming-to-openai/index.mdx
+++ b/website/docs/main/compatibility-api/guides/voice/nodejs/realtime-streaming-to-openai/index.mdx
@@ -740,12 +740,12 @@ Refer to this table if you encounter issues running the application.
| Issue | Cause | Solution |
|-------|-------|----------|
-| No audio from AI | Codec mismatch or incorrect codec configuration | • Check `AUDIO_FORMAT` environment variable • Verify SignalWire and application codec match |
-| Invalid AUDIO_FORMAT error | Invalid environment variable value | • Verify `AUDIO_FORMAT` is either `g711_ulaw` or `pcm16` • Check for typos or extra whitespace • Remove the variable to use default (`g711_ulaw`) |
-| Server fails to start | Port 5050 already in use | • Check what's running on port 5050: `lsof -i :5050` • Stop the conflicting application or use a different port with `PORT=5051 npm start` |
-| Health check failing | Server crashed or not responding | • Check server logs for error messages • Verify all configuration is correct • Try accessing `/health` endpoint directly in browser |
-| Missing OPENAI_API_KEY | Configuration error | • Verify `OPENAI_API_KEY` in `.env` file (local) • Verify Docker secrets are configured (Docker) |
-| Calls not connecting after ngrok restart | ngrok URL changed | • ngrok generates a new URL each time you restart • Update the webhook URL in SignalWire Dashboard with the new ngrok URL • Restart ngrok and update SignalWire before testing |
+| No audio from AI | Codec mismatch or incorrect codec configuration | - Check `AUDIO_FORMAT` environment variable - Verify SignalWire and application codec match |
+| Invalid AUDIO_FORMAT error | Invalid environment variable value | - Verify `AUDIO_FORMAT` is either `g711_ulaw` or `pcm16` - Check for typos or extra whitespace - Remove the variable to use default (`g711_ulaw`) |
+| Server fails to start | Port 5050 already in use | - Check what's running on port 5050: `lsof -i :5050` - Stop the conflicting application or use a different port with `PORT=5051 npm start` |
+| Health check failing | Server crashed or not responding | - Check server logs for error messages - Verify all configuration is correct - Try accessing `/health` endpoint directly in browser |
+| Missing OPENAI_API_KEY | Configuration error | - Verify `OPENAI_API_KEY` in `.env` file (local) - Verify Docker secrets are configured (Docker) |
+| Calls not connecting after ngrok restart | ngrok URL changed | - ngrok generates a new URL each time you restart - Update the webhook URL in SignalWire Dashboard with the new ngrok URL - Restart ngrok and update SignalWire before testing |
## Resources
diff --git a/website/docs/main/home/calling/ai/get-started/capabilities/_mermaid/traditional-ivr-flow.mdx b/website/docs/main/home/calling/ai/get-started/capabilities/_mermaid/traditional-ivr-flow.mdx
index fcb53dc51..cf69fd2a6 100644
--- a/website/docs/main/home/calling/ai/get-started/capabilities/_mermaid/traditional-ivr-flow.mdx
+++ b/website/docs/main/home/calling/ai/get-started/capabilities/_mermaid/traditional-ivr-flow.mdx
@@ -32,5 +32,5 @@ sequenceDiagram
C->>I: Presses or says "1"
Note over I: End Input Collection Appointment Confirmed
I->>C: "Your appointment is scheduled for Tuesday at 9AM with Dr. Smith."
- Note over C,I: 9 menu selections • Each question requires new menu • Linear path only • Inflexible conversation
+ Note over C,I: 9 menu selections - Each question requires new menu - Linear path only - Inflexible conversation
```
\ No newline at end of file
diff --git a/website/docs/realtime-sdk/tech-ref/chat/chat-client.mdx b/website/docs/realtime-sdk/tech-ref/chat/chat-client.mdx
index 71cccd211..b53b34047 100644
--- a/website/docs/realtime-sdk/tech-ref/chat/chat-client.mdx
+++ b/website/docs/realtime-sdk/tech-ref/chat/chat-client.mdx
@@ -39,7 +39,7 @@ const chatClient = client.chat;
### getMemberState
-▸ **getMemberState**(`params`): `Promise<\{ channels: Record \}>`
+- **getMemberState**(`params`): `Promise<\{ channels: Record \}>`
Returns the states of a member in the specified channels.
@@ -89,7 +89,7 @@ console.log(`The state of ${usesId} is: ${JSON.stringify(s.channels.channel1.sta
### getMembers
-▸ **getMembers**(`params`): `Promise<{ members: ChatMemberEntity[] }>`
+- **getMembers**(`params`): `Promise<{ members: ChatMemberEntity[] }>`
Returns the list of members in the given channel.
@@ -130,7 +130,7 @@ The list of members are: ${m.members.map(m => m.id).join(", ")}`);
### getMessages
-▸ **getMessages**(`params`): `Promise<{ cursor: PaginationCursor, messages: ChatMessageEntity[] }>`
+- **getMessages**(`params`): `Promise<{ cursor: PaginationCursor, messages: ChatMessageEntity[] }>`
Returns the list of messages that were sent to the specified channel.
@@ -193,7 +193,7 @@ while (true) {
### listen
-▸ **listen**(`{ event: Callback }`): `Promise`
+- **listen**(`{ event: Callback }`): `Promise`
Listen for events on the specified channels.
@@ -241,7 +241,7 @@ await chatClient.listen({
### publish
-▸ **publish**(`params`): `Promise`
+- **publish**(`params`): `Promise`
Publish a message into the specified channel.
@@ -306,7 +306,7 @@ await chatClient.publish({
### setMemberState
-▸ **setMemberState**(`params`): `Promise`
+- **setMemberState**(`params`): `Promise`
Sets a state object for a member, for the specified channels. The previous state object will be completely replaced.
@@ -373,7 +373,7 @@ console.log(`The state of ${usesId} is: ${JSON.stringify(s.channels.channel1.sta
### onMemberJoined
-• **client.chat.listen**(`{ onMemberJoined: Callback }`)
+- **client.chat.listen**(`{ onMemberJoined: Callback }`)
Emitted when a new member joins the chat. Your event handler will be called with an instance of [`ChatMember`][chatmember].
@@ -385,7 +385,7 @@ Emitted when a new member joins the chat. Your event handler will be called with
### onMemberLeft
-• **client.chat.listen**(`{ onMemberLeft: Callback }`)
+- **client.chat.listen**(`{ onMemberLeft: Callback }`)
Emitted when a member leaves the chat. Your event handler will be called with an instance of [`ChatMember`][chatmember].
@@ -397,7 +397,7 @@ Emitted when a member leaves the chat. Your event handler will be called with an
### onMemberUpdated
-• **client.chat.listen**(`{ onMemberUpdated: Callback }`)
+- **client.chat.listen**(`{ onMemberUpdated: Callback }`)
Emitted when a member updates its state. Your event handler will be called with an instance of [`ChatMember`][chatmember].
@@ -409,7 +409,7 @@ Emitted when a member updates its state. Your event handler will be called with
### onMessageReceived
-• **client.chat.listen**(`{ onMessageReceived: Callback}`)
+- **client.chat.listen**(`{ onMessageReceived: Callback}`)
Emitted when a message is received. Your event handler will be called with an instance of [`ChatMessage`][chatmessage].
@@ -427,15 +427,15 @@ An object representing a Chat Member with only the state properties of [`ChatMem
#### Properties
-• `Readonly` **channel**: `string`
+- `Readonly` **channel**: `string`
The channel of this member.
-• `Readonly` **id**: `string`
+- `Readonly` **id**: `string`
The id of this member.
-• `Readonly` **state**: `Record`
+- `Readonly` **state**: `Record`
The state of this member.
@@ -447,23 +447,23 @@ An object representing a Chat Message with only the state properties of [`ChatMe
#### Properties
-• `Readonly` **content**: `any`
+- `Readonly` **content**: `any`
The content of this message.
-• `Readonly` **id**: `string`
+- `Readonly` **id**: `string`
The id. of this message
-• `Readonly` **member**: [`ChatMember`][chatmember]
+- `Readonly` **member**: [`ChatMember`][chatmember]
The member which sent this message.
-• `Readonly` **meta?**: `any`
+- `Readonly` **meta?**: `any`
Any metadata associated with this message.
-• `Readonly` **publishedAt**: `Date`
+- `Readonly` **publishedAt**: `Date`
The date and time at which this message was published.
@@ -476,11 +476,11 @@ It is specifically used in conjunction with the [getMessages][getmessages] metho
#### Properties
-• `Readonly` **after?**: `string`
+- `Readonly` **after?**: `string`
This property signifies the cursor for the subsequent page.
-• `Readonly` **before?**: `string`
+- `Readonly` **before?**: `string`
This property signifies the cursor for the preceding page.
diff --git a/website/docs/realtime-sdk/tech-ref/messaging/messaging-client.mdx b/website/docs/realtime-sdk/tech-ref/messaging/messaging-client.mdx
index 079f25bb9..561d0abd2 100644
--- a/website/docs/realtime-sdk/tech-ref/messaging/messaging-client.mdx
+++ b/website/docs/realtime-sdk/tech-ref/messaging/messaging-client.mdx
@@ -34,7 +34,7 @@ This example demonstrates how to set up a messaging client using the SignalWire
### listen
-▸ **listen**(`{ event: Callback }`): `Promise`
+- **listen**(`{ event: Callback }`): `Promise`
Listens for message events.
@@ -79,7 +79,7 @@ await client.messaging.listen({
### send
-▸ **send**(`params`): `Promise`
+- **send**(`params`): `Promise`
Send an outbound SMS or MMS message.
@@ -152,7 +152,7 @@ try {
### onMessageReceived
-• **client.messaging.listen**(`{onMessageReceived: Callback}`)
+- **client.messaging.listen**(`{onMessageReceived: Callback}`)
Emitted whenever a message is received. Your event handler will be called with an instance of [`MessageContract`][messagecontract].
@@ -164,7 +164,7 @@ Emitted whenever a message is received. Your event handler will be called with a
### onMessageUpdated
-• **client.messaging.listen**(`{onMessageUpdated: Callback}`)
+- **client.messaging.listen**(`{onMessageUpdated: Callback}`)
Emitted when the status of a message is updated. You can use this event to track the different stages that an outbound message goes through for delivery.
Your event handler will be called with an instance of [`MessageContract`][messagecontract].
diff --git a/website/docs/realtime-sdk/tech-ref/pubsub/pubsub-client.mdx b/website/docs/realtime-sdk/tech-ref/pubsub/pubsub-client.mdx
index 40e43c144..b58354ac8 100644
--- a/website/docs/realtime-sdk/tech-ref/pubsub/pubsub-client.mdx
+++ b/website/docs/realtime-sdk/tech-ref/pubsub/pubsub-client.mdx
@@ -31,7 +31,7 @@ const pubSubClient = client.pubSub;
### listen
-▸ **listen**(`{ event: Callback }`): `Promise`
+- **listen**(`{ event: Callback }`): `Promise`
Listen for events on the specified channel.
@@ -82,7 +82,7 @@ In this example:
### publish
-▸ **publish**(`params`): `Promise`
+- **publish**(`params`): `Promise`
Publish a message into the specified channel.
@@ -149,7 +149,7 @@ await pubSubClient.publish({
### onMessageReceived
-• **client.pubSub.listen**(`{ onMessageReceived: Callback }`)
+- **client.pubSub.listen**(`{ onMessageReceived: Callback }`)
Emitted when a message is received on a channel. Your event handler will be called with an instance of [`PubSubMessage`][pubsubmessage].
diff --git a/website/docs/realtime-sdk/tech-ref/realtime-client/index.mdx b/website/docs/realtime-sdk/tech-ref/realtime-client/index.mdx
index 9e9427b1e..76bd276eb 100644
--- a/website/docs/realtime-sdk/tech-ref/realtime-client/index.mdx
+++ b/website/docs/realtime-sdk/tech-ref/realtime-client/index.mdx
@@ -20,7 +20,7 @@ It provides methods to connect to the Realtime service, authenticate, and subscr
## **Constructor**
-▸ **SignalWire(`options`)**: `Promise`
+- **SignalWire(`options`)**: `Promise`
Create a new Client instance.
@@ -68,7 +68,7 @@ const client = await SignalWire({ project: "ProjectID Here", token: "Token Here"
### connect
-▸ **connect()**: `Promise`
+- **connect()**: `Promise`
:::note
The client will automatically connect when it is created. You only need to call this method if you have previously [`disconnected`][link].
@@ -92,7 +92,7 @@ await client.connect().then(() => {
### disconnect
-▸ **disconnect()**: `Promise`
+- **disconnect()**: `Promise`
Disconnects this client. The client will stop receiving events and you will need to create a new instance if you want to use it again.
diff --git a/website/docs/realtime-sdk/tech-ref/task/task-client.mdx b/website/docs/realtime-sdk/tech-ref/task/task-client.mdx
index b4cba558e..e7e536850 100644
--- a/website/docs/realtime-sdk/tech-ref/task/task-client.mdx
+++ b/website/docs/realtime-sdk/tech-ref/task/task-client.mdx
@@ -34,7 +34,7 @@ const taskClient = client.task
### listen
-▸ **listen**(`{ event: Callback }`): `Promise`
+- **listen**(`{ event: Callback }`): `Promise`
Listens for incoming tasks.
@@ -79,7 +79,7 @@ await taskClient.listen({
### send
-▸ `Const` **send**(`params`): `Promise`
+- `Const` **send**(`params`): `Promise`
Send a job to your Task Client in a specific topic.
@@ -138,7 +138,7 @@ const taskSend = await clientTask.send({
### onTaskReceived
-• **client.task.listen**(`{ onTaskReceived: Callback }`)
+- **client.task.listen**(`{ onTaskReceived: Callback }`)
Emitted whenever a task is received. Your event handler receives the payload.
diff --git a/website/docs/realtime-sdk/tech-ref/video/video-client.mdx b/website/docs/realtime-sdk/tech-ref/video/video-client.mdx
index b66dc636e..c3e716728 100644
--- a/website/docs/realtime-sdk/tech-ref/video/video-client.mdx
+++ b/website/docs/realtime-sdk/tech-ref/video/video-client.mdx
@@ -34,7 +34,7 @@ const videoClient = client.video;
### getRoomSessions
-▸ **getRoomSessions**(): `Promise<{ roomSessions: RoomSession[] }>`
+- **getRoomSessions**(): `Promise<{ roomSessions: RoomSession[] }>`
Returns the currently active room sessions.
@@ -66,7 +66,7 @@ console.log(roomSessions.forEach(room => console.log(room.name)));
### getRoomSessionById
-▸ **getRoomSessionById**(`id`): `Promise<{ roomSession: RoomSession }>`
+- **getRoomSessionById**(`id`): `Promise<{ roomSession: RoomSession }>`
Returns a room session given its id. Only in-progress room sessions are currently returned.
@@ -107,7 +107,7 @@ that can be used to access the room session's information and methods.
### listen
-▸ **listen**(`{ event: Callback }`): `Promise`
+- **listen**(`{ event: Callback }`): `Promise`
Listens to events on the `video` client. You can use this method to listen to any of the events listed in the [`Events`][events] section.
@@ -155,7 +155,7 @@ await videoClient.listen({
### onRoomEnded
-• **client.video.listen**(`{ onRoomEnded: Callback }`)
+- **client.video.listen**(`{ onRoomEnded: Callback }`)
Emitted when a room session ends. Your event handler receives an object which is an instance
of [`RoomSessionFullState`][roomsessionfullstate].
@@ -168,7 +168,7 @@ of [`RoomSessionFullState`][roomsessionfullstate].
### onRoomStarted
-• **client.video.listen**( `{ onRoomStarted: Callback }`)
+- **client.video.listen**( `{ onRoomStarted: Callback }`)
Emitted when a room session is started. Your event handler receives an object
which is an instance of [`RoomSessionFullState`][roomsessionfullstate].
diff --git a/website/docs/realtime-sdk/tech-ref/video/video-roomsession.mdx b/website/docs/realtime-sdk/tech-ref/video/video-roomsession.mdx
index eef2517b8..3f08a2a63 100644
--- a/website/docs/realtime-sdk/tech-ref/video/video-roomsession.mdx
+++ b/website/docs/realtime-sdk/tech-ref/video/video-roomsession.mdx
@@ -10,7 +10,7 @@ sidebar_label: RoomSession
### onMemberTalkingEnded
-• **RoomSession.listen**(`{ onMemberTalkingEnded: Callback }`
+- **RoomSession.listen**(`{ onMemberTalkingEnded: Callback }`
[roomsessionmember-28]: ./video-roomsessionmember.md
[roomsessionmember-29]: ./video-roomsessionmember.md |
@@ -18,7 +18,7 @@ sidebar_label: RoomSession
### onPlaybackStarted
-• **RoomSession.listen**(`{ onPlaybackStarted: Callback }`
+- **RoomSession.listen**(`{ onPlaybackStarted: Callback }`
[roomsessionmembers]: ./video-roomsessionmember.md
[roomsessionplayback-12]: ./video-roomsessionplayback.md
@@ -115,7 +115,7 @@ await videoClient.listen({
### audioMute
-▸ **audioMute**(`params`): `Promise`
+- **audioMute**(`params`): `Promise`
Mutes the audio of a given member for all other participants.
@@ -172,7 +172,7 @@ await videoClient.listen({
### audioUnmute
-▸ **audioUnmute**(`params`): `Promise`
+- **audioUnmute**(`params`): `Promise`
Unmutes the microphone of a given member if it had been previously muted.
@@ -234,7 +234,7 @@ await videoClient.listen({
### deaf
-▸ **deaf**(`params`): `Promise`
+- **deaf**(`params`): `Promise`
Mutes the incoming audio for a given member. The affected participant will not hear audio from the other participants anymore.
@@ -290,7 +290,7 @@ await videoClient.listen({
### deleteMemberMeta
-▸ **deleteMemberMeta**(`params`): `Promise`
+- **deleteMemberMeta**(`params`): `Promise`
Deletes the specified keys from the metadata for the specified member.
@@ -374,7 +374,7 @@ await videoClient.listen({
### deleteMeta
-▸ **deleteMeta**(`keys`): `Promise`
+- **deleteMeta**(`keys`): `Promise`
Deletes the specified keys from the metadata for this RoomSession.
@@ -435,7 +435,7 @@ await videoClient.listen({
### demote
-▸ **demote**(`params`): `Promise`
+- **demote**(`params`): `Promise`
Demotes a participant from "member" to "audience". See [promote][link].
@@ -496,7 +496,7 @@ await videoClient.listen({
### getLayouts
-▸ **getLayouts**(): `Promise<\{ layouts: string[] \}>`
+- **getLayouts**(): `Promise<\{ layouts: string[] \}>`
Returns a list of available layouts for the room. To set a room layout, use [`setLayout`][video-roomsession-2].
@@ -535,7 +535,7 @@ await videoClient.listen({
### getMembers
-▸ **getMembers**(): `Promise`\<\{ `members:` [`RoomSessionMember[]`](./video-roomsessionmember.md) }>
+- **getMembers**(): `Promise`\<\{ `members:` [`RoomSessionMember[]`](./video-roomsessionmember.md) }>
Returns a list of members currently in the room.
@@ -577,7 +577,7 @@ await videoClient.listen({
### getMemberMeta
-▸ **getMemberMeta**(): `Promise`\<\{ `meta:` [`RoomSessionMember.meta`][video-roomsessionmember] }>
+- **getMemberMeta**(): `Promise`\<\{ `meta:` [`RoomSessionMember.meta`][video-roomsessionmember] }>
Returns the metadata assigned to the specified member.
@@ -639,7 +639,7 @@ await videoClient.listen({
### getMeta
-▸ **getMeta**(): `Promise`\<\{ `meta:` [`RoomSession.meta`][link-1] }>
+- **getMeta**(): `Promise`\<\{ `meta:` [`RoomSession.meta`][link-1] }>
Returns the metadata assigned to this Room Session.
@@ -690,7 +690,7 @@ await videoClient.listen({
### getPlaybacks
-▸ **getPlaybacks**(): `Promise`\<\{ `playbacks:` [`RoomSessionPlayback`][roomsessionplayback-12] }>
+- **getPlaybacks**(): `Promise`\<\{ `playbacks:` [`RoomSessionPlayback`][roomsessionplayback-12] }>
Obtains a list of playbacks for the current room session.
@@ -760,7 +760,7 @@ await videoClient.listen({
### getRecordings
-▸ **getRecordings**(): `Promise`\<\{ `recordings:` [`RoomSessionRecording`][roomsessionrecording-12] }>
+- **getRecordings**(): `Promise`\<\{ `recordings:` [`RoomSessionRecording`][roomsessionrecording-12] }>
Obtains a list of recordings for the current room session.
@@ -840,7 +840,7 @@ await videoClient.listen({
### getStreams
-▸ **getStreams**(): `Promise<\{ streams: RoomSessionStream \}>`
+- **getStreams**(): `Promise<\{ streams: RoomSessionStream \}>`
Obtains a list of active streams for this RoomSession. These are RTMP streams of
the audio/video content of this room, which will be sent to an external party
@@ -909,7 +909,7 @@ await videoClient.listen({
### listen
-▸ **listen**(`{ event: Callback }`): `Promise`\<[`RoomSession Events`][link-2]>
+- **listen**(`{ event: Callback }`): `Promise`\<[`RoomSession Events`][link-2]>
Enables listening for events on this room session.
@@ -959,7 +959,7 @@ await videoClient.listen({
### lock
-▸ **lock**(`params`): `Promise`
+- **lock**(`params`): `Promise`
Locks the room. This prevents new participants from joining the room.
@@ -993,7 +993,7 @@ await videoClient.listen({
### play
-▸ **play**(`params`): `Promise`\<[`RoomSessionPlayback`][roomsessionplayback-12]>
+- **play**(`params`): `Promise`\<[`RoomSessionPlayback`][roomsessionplayback-12]>
Start a playback in the room. You can use the returned [RoomSessionPlayback][roomsessionplayback-4]
object to control the playback (e.g., pause, resume, setVolume and stop).
@@ -1084,7 +1084,7 @@ await videoClient.listen({
### promote
-▸ **promote**(`params`): `Promise`
+- **promote**(`params`): `Promise`
Promotes a participant from "audience" to "member". See [demote][link-3].
@@ -1180,7 +1180,7 @@ await videoClient.listen({
### removeAllMembers
-▸ **removeAllMembers**(): `Promise`
+- **removeAllMembers**(): `Promise`
Removes all the members from this room session. The room session will end.
@@ -1221,7 +1221,7 @@ await videoClient.listen({
### removeMember
-▸ **removeMember**(`params`): `Promise`
+- **removeMember**(`params`): `Promise`
Removes a specific participant from the room.
@@ -1282,7 +1282,7 @@ await videoClient.listen({
### setHideVideoMuted
-▸ **setHideVideoMuted**(`value`): `Promise`
+- **setHideVideoMuted**(`value`): `Promise`
Show or hide muted videos in the room layout. Members that have been muted via [`videoMute`][video-roomsession-3] will not appear in the video stream, instead of appearing as a mute image, if this setting is enabled.
@@ -1335,7 +1335,7 @@ await videoClient.listen({
### setInputSensitivity
-▸ **setInputSensitivity**(`params`): `Promise`
+- **setInputSensitivity**(`params`): `Promise`
Sets the input level at which the participant is identified as currently speaking.
@@ -1400,7 +1400,7 @@ await videoClient.listen({
### setInputVolume
-▸ **setInputVolume**(`params`): `Promise`
+- **setInputVolume**(`params`): `Promise`
Sets the input volume for a given member (e.g., the microphone input level).
@@ -1463,7 +1463,7 @@ await videoClient.listen({
### setLayout
-▸ **setLayout**(`params`): `Promise`
+- **setLayout**(`params`): `Promise`
Sets a layout for the room. You can obtain a list of available layouts with [`getLayouts`][video-roomsession-4].
@@ -1524,7 +1524,7 @@ await videoClient.listen({
### setMemberMeta
-▸ **setMemberMeta**(`params`): `Promise`
+- **setMemberMeta**(`params`): `Promise`
Assigns custom metadata to the specified [`RoomSessionMember`][roomsessionmember-28]. You can use this to store metadata whose meaning is entirely defined by your application.
@@ -1596,7 +1596,7 @@ await videoClient.listen({
### setMemberPosition
-▸ **setMemberPosition**(`params`): `Promise`
+- **setMemberPosition**(`params`): `Promise`
Assigns a position in the layout to the specified member.
@@ -1670,7 +1670,7 @@ await videoClient.listen({
### setMeta
-▸ **setMeta**(`meta`): `Promise`
+- **setMeta**(`meta`): `Promise`
Assigns custom metadata to the RoomSession. You can use this to store metadata whose meaning is entirely defined by your application.
@@ -1728,7 +1728,7 @@ await videoClient.listen({
### setOutputVolume
-▸ **setOutputVolume**(`params`): `Promise`
+- **setOutputVolume**(`params`): `Promise`
Sets the output volume for the member (e.g., the speaker output level).
@@ -1794,7 +1794,7 @@ await videoClient.listen({
### setPositions
-▸ **setPositions**(`params`): `Promise`
+- **setPositions**(`params`): `Promise