Skip to content

Commit

Permalink
Minor fixs to MessagingSession reconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
daviwith committed Aug 17, 2022
1 parent 7ffd1ba commit 00b4824
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Fix `AbortError` when turning video ON in Safari.
- `MessagingSession` reconnects with refreshed endpoint and credentials if needed. EndpointUrl on `MessagingSessionConfiguration` is deprecated as it is resolved by calling `getMessagingSessionEndpoint` internally.
- `MessagingSession` reconnects with refreshed endpoint and credentials if needed. `EndpointUrl` on `MessagingSessionConfiguration` is deprecated as it is resolved by calling `getMessagingSessionEndpoint` internally.

## [3.6.0] - 2022-06-23

Expand Down
1 change: 1 addition & 0 deletions src/messagingsession/DefaultMessagingSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ export default class DefaultMessagingSession implements MessagingSession {
// send artificial close code event so the
// re-connect logic of underlying websocket client is
// triggered in the close handler
this.logger.error(`Messaging Session failed to resolve endpoint: ${e}`);
const closeEvent = new CloseEvent('close', {
wasClean: false,
code: 4999,
Expand Down

0 comments on commit 00b4824

Please sign in to comment.