Skip to content

Commit

Permalink
Modified the SESSION_UPDATED event and the related documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
yoryer committed Feb 4, 2022
1 parent ceec61e commit 71fc237
Show file tree
Hide file tree
Showing 24 changed files with 212 additions and 604 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ Client.on(ClientStatus.INVITE, () => { /* Your code here */ })
The **Session Updated** event is emitted when a call session changed. This event give us a session (`tokySession`) of that call and
later we will use it to make other operations
```javascript
Client.on(ClientStatus.SESSION_UPDATED, () => { /* Your code here */ })
Client.on(ClientStatus.SESSION_UPDATED, (data) => {
tokySession = data.session;
/* Your code here */
})
```
### Media status events
```javascript
Expand Down Expand Up @@ -290,4 +293,4 @@ TokyMedia.on(TokyMedia.READY, () => {
```
## License
[`MIT Licence`](./LICENSE) © [Toky](https://toky.co)
[`MIT Licence`](./LICENSE) © [Toky](https://toky.co)
1 change: 0 additions & 1 deletion dist/BRANCH

This file was deleted.

1 change: 0 additions & 1 deletion dist/COMMITHASH

This file was deleted.

1 change: 0 additions & 1 deletion dist/LASTCOMMITDATETIME

This file was deleted.

1 change: 0 additions & 1 deletion dist/VERSION

This file was deleted.

2 changes: 0 additions & 2 deletions dist/toky-sdk-alpha.js

This file was deleted.

86 changes: 0 additions & 86 deletions dist/types/src/client.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/types/src/client.d.ts.map

This file was deleted.

72 changes: 0 additions & 72 deletions dist/types/src/constants.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/types/src/constants.d.ts.map

This file was deleted.

17 changes: 0 additions & 17 deletions dist/types/src/helpers.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/types/src/helpers.d.ts.map

This file was deleted.

13 changes: 0 additions & 13 deletions dist/types/src/index.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/types/src/index.d.ts.map

This file was deleted.

111 changes: 0 additions & 111 deletions dist/types/src/interfaces.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/types/src/interfaces.d.ts.map

This file was deleted.

36 changes: 0 additions & 36 deletions dist/types/src/media.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/types/src/media.d.ts.map

This file was deleted.

Loading

0 comments on commit 71fc237

Please sign in to comment.