GetStream / stream-video-flutter

Flutter Video SDK - Build your own video app experience using Dart, Flutter and the Stream Video Messaging API.
https://getstream.io/video/docs/flutter/
Other
47 stars 23 forks source link

Investigate FPS drop on Sony Xperia 10 #315

Closed kanat closed 1 year ago

kanat commented 1 year ago

FPS drops down to 0-3 frames per second on Sony Xperia 10 IV (Android 13)

https://user-images.githubusercontent.com/1286516/231890151-b9c38742-6f4f-4dfa-b50c-cc844b6dc62b.mp4

kanat commented 1 year ago

flutter-webrtc library refers to this pre-compiled webrtc version, which is a bit outdated and does not contain fixes for H264 codec.

If we update flutter-webrtc's Android project with Stream's pre-compiled webrtc lib, then FPS drop issue disappears.

Proper fixes can be found in the following branches:

In the meantime this issue will be fixed by prioritizing VP8 over H264 on android devices.