Commit f358f76
authored
fix: clip hard edge on web's rtc_video_view (flutter-webrtc#1936)
This PR fixes an issue where iOS Safari video box renders would exceed
the boundaries set by the
`RTCVideoViewObjectFit.RTCVideoViewObjectFitContain` and
`RTCVideoViewObjectFit.RTCVideoViewObjectFitCover` guidelines.
In the following examples (iOS Safari), I have specified the following:
```dart
rtc.RTCVideoView(
_renderer! as rtc.RTCVideoRenderer,
mirror: true,
filterQuality: FilterQuality.medium,
objectFit: RTCVideoViewObjectFit.RTCVideoViewObjectFitCover,
);
```
**Before this PR**


**After this PR**

1 parent 362619a commit f358f76
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
| |||
0 commit comments