You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If RecordPlugin calls the startRecording function first and then the startMic function, the stream that was created by the startRecording call is overwritten by the startMic function call, making the first stream that was created indefinitely.
Therefore, it would be good if you could state in the official document that you need to call startMic before startRecording.
I didn't know these things, so I spent a lot of time trying to solve the issue of audio not shutting down.
If you try the code below, press the micro first button and press the stop audio button, the audio will end normally. However, if you shut down the audio after pressing the recording first button, the audio will not end.
I think adding these warnings to the document will reduce unnecessary time for many people due to this issue.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Problem Description
If RecordPlugin calls the startRecording function first and then the startMic function, the stream that was created by the startRecording call is overwritten by the startMic function call, making the first stream that was created indefinitely.
Therefore, it would be good if you could state in the official document that you need to call startMic before startRecording.
I didn't know these things, so I spent a lot of time trying to solve the issue of audio not shutting down.
If you try the code below, press the
micro first
button and press thestop audio
button, the audio will end normally. However, if you shut down the audio after pressing therecording first
button, the audio will not end.I think adding these warnings to the document will reduce unnecessary time for many people due to this issue.
Environment
Minimal code snippet
Screenshots
2024-04-18.7.10.12.mov
Beta Was this translation helpful? Give feedback.
All reactions