Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -30,7 +30,7 @@ class MobileScannerWebPlugin { | @@ -30,7 +30,7 @@ class MobileScannerWebPlugin { | ||
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | // Controller to send events back to the framework | 32 | // Controller to send events back to the framework |
| 33 | - StreamController controller = StreamController(); | 33 | + StreamController controller = StreamController.broadcast(); |
| 34 | 34 | ||
| 35 | // The video stream. Will be initialized later to see which camera needs to be used. | 35 | // The video stream. Will be initialized later to see which camera needs to be used. |
| 36 | html.MediaStream? _localStream; | 36 | html.MediaStream? _localStream; |
-
Please register or login to post a comment