Skip to content

Conversation

@luisrivas
Copy link
Collaborator

Pull Request Details

Jira link(s)

Description

  • Emit initial peer connection states (signaling, iceGathering, iceConnection, connection).
  • Emit closed states manually since browsers update states synchronously without firing events.
  • Remove unused Safari shim in close() for consistency.
  • Log warning when telemetry events are dropped.

Burndown

Before review

  • Updated CHANGELOG.md if necessary
  • Added unit tests if necessary
  • Updated affected documentation
  • Verified locally with npm test
  • Manually sanity tested running locally
  • Included screenshot as PR comment (if needed)
  • Ready for review

- Emit initial peer connection states (signaling, iceGathering, iceConnection, connection)
  - Emit closed states manually in `_close()` since browsers update states synchronously without firing events
  - Remove Safari's setTimeout in close() that caused duplicate telemetry
  - Delay eventPublisher.disconnect() by 50ms to capture final events
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants