File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2,21 +2,21 @@ import '../flutter_webrtc.dart';
2
2
3
3
class MediaDevices {
4
4
@Deprecated (
5
- 'Use the navigator.mediaDevices.getUserMedia(Map<String, dynamic>) provide from the facrory instead' )
5
+ 'Use the navigator.mediaDevices.getUserMedia(Map<String, dynamic>) provide from the factory instead' )
6
6
static Future <MediaStream > getUserMedia (
7
7
Map <String , dynamic > mediaConstraints) async {
8
8
return navigator.mediaDevices.getUserMedia (mediaConstraints);
9
9
}
10
10
11
11
@Deprecated (
12
- 'Use the navigator.mediaDevices.getDisplayMedia(Map<String, dynamic>) provide from the facrory instead' )
12
+ 'Use the navigator.mediaDevices.getDisplayMedia(Map<String, dynamic>) provide from the factory instead' )
13
13
static Future <MediaStream > getDisplayMedia (
14
14
Map <String , dynamic > mediaConstraints) async {
15
15
return navigator.mediaDevices.getDisplayMedia (mediaConstraints);
16
16
}
17
17
18
18
@Deprecated (
19
- 'Use the navigator.mediaDevices.getSources() provide from the facrory instead' )
19
+ 'Use the navigator.mediaDevices.getSources() provide from the factory instead' )
20
20
static Future <List <dynamic >> getSources () {
21
21
return navigator.mediaDevices.getSources ();
22
22
}
You can’t perform that action at this time.
0 commit comments