diff --git a/lib/ui/screens/call_screen.dart b/lib/ui/screens/call_screen.dart index edfc303..2f11a1c 100644 --- a/lib/ui/screens/call_screen.dart +++ b/lib/ui/screens/call_screen.dart @@ -224,8 +224,8 @@ class _CallScreenState extends SafeState { _peersConnections[memberID] = peerConnection; // Create a renderer - _renderers[memberID] = RTCVideoRenderer() - ..initialize(); // TODO Use await instead for initialize + _renderers[memberID] = RTCVideoRenderer(); + await _renderers[memberID].initialize(); // Register callbacks peerConnection.onIceCandidate =