fix: make group call stuff async, let clients await what they need
This commit is contained in:
parent
2d0fd9c393
commit
9cb99377fb
|
|
@ -1,9 +1,10 @@
|
|||
import 'dart:async';
|
||||
|
||||
import 'package:matrix/matrix.dart';
|
||||
import 'package:random_string/random_string.dart';
|
||||
import 'package:webrtc_interface/webrtc_interface.dart';
|
||||
|
||||
import 'package:matrix/matrix.dart';
|
||||
|
||||
Future<void> stopMediaStream(MediaStream? stream) async {
|
||||
if (stream != null) {
|
||||
for (final track in stream.getTracks()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue