ApiRTC / reactNativeApiRTC

Demo application of ApiRTC with react-native
https://apirtc.com/
2 stars 0 forks source link

The stream from the mobile device automatically changes in size #1

Open Schayimerdan opened 7 months ago

Schayimerdan commented 7 months ago

When we receive the video stream from the mobile device (which uses reactNativeApiRTC) to our web app (which uses react-lib), it automatically changes in size, sometimes larger and sometimes smaller, even when a fixed size is specified. This dynamic resizing complicates the current design.

Upon reviewing the documentation and code, it appears that the applyConstraints() function is not yet supported. This lack of support for applyConstraints() likely contributes to the difficulty in maintaining a consistent stream size.

We expect the stream size to remain consistent, regardless of the device or its orientation, when a fixed size is specified. Is there any solution for this?