Skip to content
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

初始化报错 #1

Open
zhanglijie5997 opened this issue Jun 21, 2021 · 0 comments
Open

初始化报错 #1

zhanglijie5997 opened this issue Jun 21, 2021 · 0 comments

Comments

@zhanglijie5997
Copy link

Updating selectors after delegate removal failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 87 named com.apple.commcenter.coretelephony.xpc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service on pid 87 named com.apple.commcenter.coretelephony.xpc was invalidated from this process.}

	Future _create() async {
	      RtcEngine engine = await RtcEngine.create('771d911fad6380e5ad3c558380267e08');
	      print(engine);
	      engine.setEventHandler(RtcEngineEventHandler(
	          error: (err) {
	            print('报错了___$err');
	          },
	          joinChannelSuccess: (String channel, String uid, int elapsed) {
	            print('joinChannelSuccess ${channel} ${uid}');
	            setState(() {
	              // _joined = true;
	            });
	          }, userJoined: (String uid, int elapsed) {
	        // print('userJoined ${uid}');
	        setState(() {
	          // _remoteUid = uid;
	        });
	      }, userOffline: (String uid, UserOfflineReason reason) {
	        // print('userOffline ${uid}');
	        setState(() {
	          // _remoteUid = null;
	        });
	      }));
      
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant