livekit / client-sdk-flutter

Flutter Client SDK for LiveKit
https://docs.livekit.io
Apache License 2.0
257 stars 127 forks source link

[bug] deliverDecodedFrame failed #274

Open furkanKotic opened 1 year ago

furkanKotic commented 1 year ago

Describe the bug A "deliverDecodedFrame failed" error occurs in the logs of the viewer when the broadcaster closes the broadcast. There are no errors in the publisher's logs, this error only occurs in the viewer.

To Reproduce Broadcaster's close codes:

await room?.localParticipant?.unpublishAllTracks();
await room?.disconnect();
room?.dispose();

Platform information

1 3 0

cloudwebrtc commented 1 year ago

I'm not sure if it has something to do with empty frames being injected by the server, will investigate

cloudwebrtc commented 1 year ago

@furkanKotic Will this issue reproduces on specific devices? I don't reproduce this glitch on android emulator as well as on my Samsung s20u

furkanKotic commented 1 year ago

@cloudwebrtc I just tested it with the devices I have.

Oppo CPH2179 : No error appeared Android emulator : No error appeared Sony Xperia XA Ultra : No error appeared Samsung A51 : Error appeared Samsung S10+ : Error appeared

It's not a serious error, I just wanted to report it because I saw it in the logs.

cloudwebrtc commented 1 year ago

I did several tests and couldn't reproduce it on Samsung s20u, xiaomi k40, and huawei pad 5, this may be a device-related bug that we may not be able to fix for now