Implement Voice Broadcast recording (#9307)
* Implement VoiceBroadcastRecording * Implement PR feedback * Add voice broadcast recording stores * Refactor startNewVoiceBroadcastRecording * Refactor VoiceBroadcastRecordingsStore to VoiceBroadcastRecording * Rename VoiceBroadcastRecording to VoiceBroadcastRecorder * Return remaining chunk on stop * Extract createVoiceMessageContent * Implement recording * Replace dev value with config * Fix clientInformation-test * Refactor VoiceBroadcastRecording * Fix VoiceBroadcastRecording types * Re-order getter * Mark voice_broadcast config as optional * Merge voice-broadcast modules * Remove underscore props * Add Optional types * Add return types everywhere * Remove test casts * Add magic comments * Trigger CI * Switch VoiceBroadcastRecorder to TypedEventEmitter * Trigger CI * Add voice broadcast chunk event content Co-authored-by: Travis Ralston <travisr@matrix.org>
This commit is contained in:
parent
03182d03be
commit
bac6e12946
19 changed files with 773 additions and 104 deletions
|
@ -76,7 +76,7 @@ describe("VoiceBroadcastRecordingsStore", () => {
|
|||
});
|
||||
|
||||
it("should return it as current", () => {
|
||||
expect(recordings.current).toBe(recording);
|
||||
expect(recordings.getCurrent()).toBe(recording);
|
||||
});
|
||||
|
||||
it("should return it by id", () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue