You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature Request: Optional Aspect Ratio Handling in RTCVideoView
if I use this on full screen it will zoom In and it will cut the outside video, so i have remove the aspect ratio
and starch video width and height.
as i use it for streaming my screen i create my own source.
What I Did
I modified the RTCVideoView widget to allow full-screen rendering without being constrained by the video's aspect ratio. The original implementation used a SizedBox with dimensions based on the aspectRatio, which made it difficult to achieve flexible layouts like full-screen views.
In my customized version, I removed the aspect ratio logic and instead used the full available height and width from LayoutBuilder. I replaced the internal sizing logic with this:
Feature Request: Optional Aspect Ratio Handling in RTCVideoView
if I use this on full screen it will zoom In and it will cut the outside video, so i have remove the aspect ratio
and starch video width and height.
as i use it for streaming my screen i create my own source.
What I Did
I modified the
RTCVideoView
widget to allow full-screen rendering without being constrained by the video's aspect ratio. The original implementation used aSizedBox
with dimensions based on theaspectRatio
, which made it difficult to achieve flexible layouts like full-screen views.In my customized version, I removed the aspect ratio logic and instead used the full available height and width from
LayoutBuilder
. I replaced the internal sizing logic with this:The text was updated successfully, but these errors were encountered: