Open
Description
Hello, I noticed that on some Android (Samsung) phones, the VideoTrackRenderer
renders a video almost completely blown out white when the device is in light mode, but correct when in dark mode.
To Reproduce
The error happens:
- so far we reproduced it on Samsung S20, Samsung A14 and Samsung A41
- AND when device is in light mode - actually when
VideoTrackRenderer
is surrounded by a widget with bright color, for example aColoredBox
The error does not happen:
- on other devices (iPhones, Web, Windows, other Androids like Samsung S10, Huawei, Xiaomi)
- when we surround
VideoTrackRenderer
with a blackColoredBox
(any device)
// this works, but we dont always want black background
ColoredBox(
color: Colors.black,
child: VideoTrackRenderer(
callContent.videoTrack!,
mirrorMode: VideoViewMirrorMode.auto,
fit: RTCVideoViewObjectFit.RTCVideoViewObjectFitContain,
))
So my guess is that it has something to do with the renderer specifically on Samsung devices. Mayba alpha channel?
Expected behavior
VideoTrackRenderer
should be indifferent to background color and theme mode.
Platform information
- Flutter version: 3.27.3
- Plugin version: 2.3.5
- Flutter target OS: Android, especially Samsung
- Flutter target OS version: observed it on Android 12
Metadata
Metadata
Assignees
Labels
No labels