Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
yoryer committed Feb 4, 2022
2 parents 246d550 + 71fc237 commit e6ca035
Show file tree
Hide file tree
Showing 3 changed files with 2,008 additions and 1,259 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)
Loading

0 comments on commit e6ca035

Please sign in to comment.