-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] ParticipantWidget.widgetFor Repeated display will cause image lag #644
Comments
|
ios 16.7.10 |
`import 'package:flutter/material.dart'; import 'no_video.dart'; abstract class ParticipantWidget extends StatefulWidget { // Must be implemented by child class const ParticipantWidget({this.quality = VideoQuality.MEDIUM, super.key}); class LocalParticipantWidget extends ParticipantWidget { const LocalParticipantWidget( @OverRide class RemoteParticipantWidget extends ParticipantWidget { @OverRide const RemoteParticipantWidget( @OverRide abstract class _ParticipantWidgetState VideoTrack? get activeVideoTrack; AudioTrack? get activeAudioTrack; TrackPublication? get videoPublication; TrackPublication? get audioPublication; bool get isScreenShare => widget.type == ParticipantTrackType.kScreenShare; @OverRide
} @OverRide @OverRide // Notify Flutter that UI re-build is required, but we don't set anything here // Widgets to show above the info bar @OverRide class _LocalParticipantWidgetState @OverRide @OverRide @OverRide class _RemoteParticipantWidgetState @OverRide @OverRide @OverRide @OverRide class RemoteTrackPublicationMenuWidget extends StatelessWidget { const RemoteTrackPublicationMenuWidget({ @OverRide class RemoteTrackFPSMenuWidget extends StatelessWidget { const RemoteTrackFPSMenuWidget({ @OverRide class RemoteTrackQualityMenuWidget extends StatelessWidget { const RemoteTrackQualityMenuWidget({ @OverRide |
` Widget getLocalFullScreen(bool isLocal, {Widget? noVideoWidget, Key? key}) {
}` |
During the switching process, the frame rate kept decreasing, causing the screen to lag |
Describe the bug
In the floating window function, local or remote images will be repeatedly obtained and given to different parent widgets. When obtaining multiple times, the view will freeze.
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.1.1 24B91 darwin-arm64, locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
Android Studio (version 2024.1)
Xcode - develop for iOS and macOS (Xcode 16.0)
The text was updated successfully, but these errors were encountered: