This is a two part fix: - In the new gum flow, this.getUserMedia supports promises and rejections were not getting caught. So change _newGetUserMediaWithConstraints to be promise based instead of callback. - The error name returned from blocked device permissions is NotAllowedError, as adapter shims PermissionDeniedError to be NotAllowedError.dev1
|
|
||
74 |
|
74 |
|
75 |
|
75 |
|
76 |
|
76 |
|
|
77 |
|
|
77 |
|
78 |
|
78 |
|
79 |
|
79 |
|
80 |
|
|
|
||
1190 |
|
1190 |
|
1191 |
|
1191 |
|
1192 |
|
1192 |
|
1193 |
|
|
|
1194 |
|
|
|
1195 |
|
|
|
|
1193 |
|
|
|
1194 |
|
|
1196 |
|
1195 |
|
1197 |
|
1196 |
|
1198 |
|
1197 |
|
|
|
||
1201 |
|
1200 |
|
1202 |
|
1201 |
|
1203 |
|
1202 |
|
1204 |
|
|
|
1205 |
|
|
|
|
1203 |
|
|
|
1204 |
|
|
1206 |
|
1205 |
|
1207 |
|
1206 |
|
1208 |
|
1207 |
|