Skip to content

feat: add a video track dimensions event #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Jul 25, 2025
Merged

Conversation

santhoshvai
Copy link
Member

@santhoshvai santhoshvai commented Jul 9, 2025

Adds a way to detect dimensions change for local and remote tracks on every frame update and then emit to JS.

And in JS we store the dimensions in the settings.

# Conflicts:
#	package-lock.json
#	package.json
@santhoshvai santhoshvai merged commit 6fe29e4 into master Jul 25, 2025
3 checks passed
@santhoshvai santhoshvai deleted the dimensions-change branch July 25, 2025 08:52
santhoshvai added a commit to GetStream/stream-video-js that referenced this pull request Jul 25, 2025
### 💡 Overview

Uses the new webrtc change for getting dimensions natively without
stats.
This enables to wait for valid dimensions for setting objectFit natively
as well.

Depends on: GetStream/react-native-webrtc#14
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