Skip to content

Commit

Permalink
fix: delete space
Browse files Browse the repository at this point in the history
  • Loading branch information
bbb169 committed Oct 21, 2023
1 parent f822c0d commit 4ed9186
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/playRoom/hooks/useAudioRTC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ export default function useAudioRTC (socket: Socket | void, startRecord = false,
});

// Get user media
navigator.mediaDevices?
.getUserMedia({ audio: true })
navigator.mediaDevices?.getUserMedia({ audio: true })
.then(async (stream) => {
const getRecorder = new RecordRTCPromisesHandler(stream, { type: 'audio' });
setRecorder(getRecorder);
Expand Down

0 comments on commit 4ed9186

Please sign in to comment.