Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
myandrienko committed Nov 29, 2024
1 parent 0f77f9b commit 59b7328
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/src/devices/devices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export const getAudioStream = async (
} catch (error) {
if (
error instanceof DOMException &&
error.name === 'OverconstainedError' &&
error.name === 'OverconstrainedError' &&
trackConstraints?.deviceId
) {
const { deviceId, ...relaxedContraints } = trackConstraints;
Expand Down Expand Up @@ -243,7 +243,7 @@ export const getVideoStream = async (
} catch (error) {
if (
error instanceof DOMException &&
error.name === 'OverconstainedError' &&
error.name === 'OverconstrainedError' &&
trackConstraints?.deviceId
) {
const { deviceId, ...relaxedContraints } = trackConstraints;
Expand Down

0 comments on commit 59b7328

Please sign in to comment.