Add voice broadcast recording stores (#9319)

* Add voice broadcast recording stores

* Refactor startNewVoiceBroadcastRecording
This commit is contained in:
Michael Weimann 2022-09-28 10:22:50 +02:00 committed by GitHub
parent c14191bfb6
commit d775e403c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 769 additions and 119 deletions

View file

@ -22,7 +22,9 @@ limitations under the License.
import { RelationType } from "matrix-js-sdk/src/matrix";
export * from "./components";
export * from "./models";
export * from "./utils";
export * from "./stores";
export const VoiceBroadcastInfoEventType = "io.element.voice_broadcast_info";
@ -35,7 +37,7 @@ export enum VoiceBroadcastInfoState {
export interface VoiceBroadcastInfoEventContent {
state: VoiceBroadcastInfoState;
chunk_length: number;
chunk_length?: number;
["m.relates_to"]?: {
rel_type: RelationType;
event_id: string;