Agora-Flutter-SDK icon indicating copy to clipboard operation
Agora-Flutter-SDK copied to clipboard

Video Freeze on conference call

Open sikandernoori opened this issue 3 years ago • 1 comments

For more than 2 users video streaming freezes for 1 user.

1 to 1 user video call is okay.

3 user in a conference freezes video of 1 users.

4 user in a conference freezes video for at-least 1 and max 2 users.

Sample code:

  Widget build(BuildContext context) {
    return FutureBuilder(
        future: clientInitializer(),
        builder: (context, snapshot) {
          if (snapshot.hasData) {
            return Scaffold(
              body: SafeArea(
                child: Stack(
                  children: [
                    AgoraVideoViewer(
                      client: client,
                      layoutType: Layout.floating,
                    ),
                    AgoraVideoButtons(client: client),
                  ],
                ),
              ),
            );
          } else {
            return const Center(child: CircularProgressIndicator());
          }
        });
  }

Platform Tested: Android 11 & 12. IOS: 15.5

Useful Logs:

[log] Remote audio state changed for 2627863768, state: AudioRemoteState.Stopped and reason: AudioRemoteStateReason.RemoteMuted
[log] Remote video state changed for 2627863768, state: VideoRemoteState.Decoding and reason: VideoRemoteStateReason.NetworkRecovery
[log] Remote video state changed for 2627863768, state: VideoRemoteState.Frozen and reason: VideoRemoteStateReason.NetworkCongestion
[log] Remote video state changed for 2627863768, state: VideoRemoteState.Decoding and reason: VideoRemoteStateReason.NetworkRecovery
[log] Remote video state changed for 2627863768, state: VideoRemoteState.Frozen and reason: VideoRemoteStateReason.NetworkCongestion
[log] Remote video state changed for 2627863768, state: VideoRemoteState.Decoding and reason: VideoRemoteStateReason.NetworkRecovery
[log] Remote video state changed for 2627863768, state: VideoRemoteState.Frozen and reason: VideoRemoteStateReason.NetworkCongestion

Now my concern in case of poor connectivity, video freezing is okay. But it should auto resume when network is better. In my case if video freezes once it stays freeze unless the user turn video OFF and ON again or rejoin channel.

Moreover two devices connected on same Wifi, for one device video is freezing but for other it's not.

sikandernoori avatar Jul 22 '22 05:07 sikandernoori

Can you share user ids of the send and receive client?

littleGnAl avatar Jul 28 '22 06:07 littleGnAl

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.

github-actions[bot] avatar Oct 18 '22 12:10 github-actions[bot]

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.

github-actions[bot] avatar Apr 28 '23 11:04 github-actions[bot]