I am getting this error “Call initialize before setting the stream” almost every single time when i try to connect to a call. I use the example code from Github to init/show the video track. I use “livekit_client: ^2.8.1” any ideas?
to make this work i also need to import flutter webrtc package to get ahold of that class? I mean, why do i have this issue when i only used the code example from the sdk?
The example you are using is more foundational, to show use of the Flutter SDK itself. The components demo I shared is a bit richer and makes use of our Flutter components library which builds on top of the SDK.
We are just using livekit for video calls, nothing fancy, the first version we added was livekit_client: ^1.3.0 so we have been using it for a long time and also been apart of a lot of problems and issues (which all have been solved <3). We are doing a big migration work which also means that we are using the latest version of everything possible. I am just curious if other people are seeing the same issues as we are, because if they dont, it means that we might have other problems than the SDK itselves?
to me, it feels like a race-condition where we try to show the video track before its ready