Skip to content

Conversation

santhoshvai
Copy link
Member

The issue

when getUserMedia is made. native side track is created, and immediately dimensions event is sent
but JS side, the constructor happens after track is created (resulting in not listening to the event)
in the end we never really received the event for the first ever local stream

The fix

listen to the event in JS before track is created by holding a cache

@santhoshvai santhoshvai merged commit f9fa365 into master Aug 4, 2025
3 checks passed
@santhoshvai santhoshvai deleted the dimension-update-race branch August 4, 2025 11:53
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.

3 participants