GetStream / stream-video-android

📲 Android Video SDK. Stream's versatile Core + Compose UI component libraries that allow you to build video calling, audio room, and, live streaming apps based on Webrtc running on Stream's global edge network.
https://getstream.io/video/docs/android
Other
387 stars 39 forks source link

Bugfix/video scaling type #1226

Closed aleksandar-apostolov closed 2 days ago

aleksandar-apostolov commented 3 days ago

🎯 Goal

Fix handling of scaleType for the VideoRenderer

🛠 Implementation details

  1. Remove the fillMaxSize() for the AndroidView modifier.
  2. Add an experimental config API to set the above mentioned and the container (Box) modifier externally.
  3. Add scale type debug menu in order to be able to verify the scale type change.
  4. Propagate the scaleType from the ParticipantVideo downward until the VideoRenderer.