Skip to content

Commit

Permalink
Merge pull request #365 from dyte-io/docs/add-linking-between-dytesel…
Browse files Browse the repository at this point in the history
…f-dyteselfmedia

docs(dyteself-dyteselfmedia): added linking between dyteself and dyteselfmedia
  • Loading branch information
palashgo authored May 10, 2024
2 parents e18a320 + 8ced06e commit d651754
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/react-web-core/reference/DyteSelf.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@ The DyteSelf module represents the current user, and allows to modify the state
of the user in the meeting. The audio and video streams of the user can be retrieved from
this module.

:::tip Note
DyteSelf extends [DyteSelfMedia](./DyteSelfMedia) therefore all the methods & variables exposed by DyteSelfMedia are also available on DyteSelf.

Few examples:
```tsx
meeting.self.rawAudioTrack;
meeting.self.rawVideoTrack;
meeting.self.audioEnabled;
meeting.self.videoEnabled;
await meeting.self.getAudioDevices();
await meeting.self.getVideoDevices();
```
:::


* [DyteSelf](#module_DyteSelf)
* [.roomState](#module_DyteSelf+roomState)
Expand Down
13 changes: 13 additions & 0 deletions docs/web-core/reference/DyteSelf.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@ The DyteSelf module represents the current user, and allows to modify the state
of the user in the meeting. The audio and video streams of the user can be retrieved from
this module.

:::tip Note
DyteSelf extends [DyteSelfMedia](./DyteSelfMedia) therefore all the methods & variables exposed by DyteSelfMedia are also available on DyteSelf.

Few examples:
```tsx
meeting.self.rawAudioTrack;
meeting.self.rawVideoTrack;
meeting.self.audioEnabled;
meeting.self.videoEnabled;
await meeting.self.getAudioDevices();
await meeting.self.getVideoDevices();
```
:::

* [DyteSelf](#module_DyteSelf)
* [.roomState](#module_DyteSelf+roomState)
Expand Down

0 comments on commit d651754

Please sign in to comment.