Commit 650c35a
authored
Fix camera lookup to check for physicalId (#792)
* Fix camera lookup to check physicalId
Check `physicalId` in addition to `deviceId` when looking up the camera configuration. This resolves issues on devices where the logical and physical camera IDs may differ.
* Add changeset
* Add physicalId to camera selector1 parent 067935c commit 650c35a
File tree
2 files changed
+15
-2
lines changed- .changeset
- livekit-android-camerax/src/main/java/livekit/org/webrtc
2 files changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
171 | 176 | | |
172 | 177 | | |
173 | 178 | | |
| |||
282 | 287 | | |
283 | 288 | | |
284 | 289 | | |
285 | | - | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
286 | 294 | | |
287 | 295 | | |
288 | 296 | | |
| |||
0 commit comments