ZEGOCLOUD / zego_uikit_prebuilt_call_flutter

MIT License
16 stars 13 forks source link

onOnlySelfInRoom callback is not working when the user is alone in the room #3

Closed navidanchitrali closed 1 year ago

navidanchitrali commented 1 year ago

i am trying with this code

      config: ZegoUIKitPrebuiltCallConfig.oneOnOneVideoCall()
        ..onOnlySelfInRoom = (context) async {
          await Future.delayed(Duration(seconds: 10));
          Navigator.pop(context);
        },

I want to exit from the room after a few seconds when the user is alone in the one-o-one video calling room, but onOnlySelfInRoom function is not working for this

navidanchitrali commented 1 year ago

@yoer

yoer commented 1 year ago

image

yoer commented 1 year ago

no reply, temporarily closed. If you're still having trouble, please describe in detail the configuration and context you're using