Merge pull request #6710 from matrix-org/travis/voice-messages/audio-queue
Add autoplay for voice messages
This commit is contained in:
commit
c749492b9c
7 changed files with 236 additions and 11 deletions
|
@ -179,7 +179,7 @@ export default class VoiceRecordComposerTile extends React.PureComponent<IProps,
|
|||
|
||||
try {
|
||||
// stop any noises which might be happening
|
||||
await PlaybackManager.instance.playOnly(null);
|
||||
await PlaybackManager.instance.pauseAllExcept(null);
|
||||
|
||||
const recorder = VoiceRecordingStore.instance.startRecording();
|
||||
await recorder.start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue