-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
documentation for realtime-api entities (#296)
* documentation for realtime-api entities * recordings * videoMember * minor tweak * value -> volume * SameOf * update typedoc-readme-api-theme * fixes * refactoring * videoRoomSession * RoomSession * changeset * remove date info * misc * rename SameOf -> AssertSameType * typo
- Loading branch information
Showing
14 changed files
with
561 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@signalwire/core': patch | ||
'@signalwire/realtime-api': patch | ||
--- | ||
|
||
Updated the documentation [docs] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,33 @@ | ||
/** | ||
* You can use the realtime SDK to listen for and react to events from | ||
* SignalWire's RealTime APIs. | ||
* | ||
* To get started, create a realtime client with {@link createClient} and listen | ||
* for events. For example: | ||
* | ||
* ```typescript | ||
* import { createClient } from '@signalwire/realtime-api' | ||
* | ||
* const client = await createClient({ | ||
* project: '<project-id>', | ||
* token: '<project-token>' | ||
* }) | ||
* | ||
* client.video.on('room.started', async (roomSession) => { | ||
* console.log("Room started") | ||
* | ||
* roomSession.on('member.joined', async (member) => { | ||
* await member.videoMute() | ||
* }) | ||
* | ||
* await roomSession.subscribe() | ||
* } | ||
* | ||
* await client.connect() | ||
* ``` | ||
* | ||
* @module | ||
*/ | ||
|
||
export * from './createClient' | ||
export * as Video from './video/Video' |
Oops, something went wrong.