chore: Update SDK

This commit is contained in:
Christian Pauly 2022-06-20 15:35:22 +02:00
commit 24ee341670
12 changed files with 94 additions and 46 deletions

View file

@ -193,8 +193,8 @@ class _MyCallingPage extends State<Calling> {
final call = this.call;
if (call == null) return;
call.onCallStateChanged.listen(_handleCallState);
call.onCallEventChanged.listen((event) {
call.onCallStateChanged.stream.listen(_handleCallState);
call.onCallEventChanged.stream.listen((event) {
if (event == CallEvent.kFeedsChanged) {
setState(() {
call.tryRemoveStopedStreams();