由于Maui Blazor中界面是由WebView渲染,所以在使用Android的摄像头时无法去获取:因为原生的摄像头需要绑定界面组件。我找到了其他的实现方式,通过WebView使用js调用设备摄像头,支持多平台兼容,目前测试了Android 和PC, 由于没有ios和macOS无法测试,大概率是兼容的,可能需要动态申请权限。
The SignalR circuit fails to initialize with an error on the client: Circuit host not initialized. The reconnection UI on the client appears when the circuit fails. Recovery isn't possible.To resolve the problem, use either of the following approaches:...
796Z] Error: The circuit failed to initialize. e.log @ blazor.server.js:15 blazor.server.js:1 [2020-05-26T16:16:11.798Z] Information: Connection disconnected. blazor.server.js:1 Uncaught (in promise) Error: Invocation canceled due to the underlying connection being closed. at e.connection...