Skip to content

Commit 735bd62

Browse files
committed
chore: change MediaStream.clone to async.
1 parent 0a3dcb2 commit 735bd62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/media_stream.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ abstract class MediaStream {
5555
}
5656

5757
/// Clones the given [MediaStream] and all its tracks.
58-
MediaStream clone();
58+
Future<MediaStream> clone();
5959

6060
Future<void> dispose() async {
6161
return Future.value();

0 commit comments

Comments
 (0)