2022-09-19 09:42:29 +03:00
|
|
|
/*
|
|
|
|
Copyright 2022 The Matrix.org Foundation C.I.C.
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2022-09-26 16:29:38 +03:00
|
|
|
/**
|
|
|
|
* Voice Broadcast module
|
|
|
|
* {@link https://github.com/vector-im/element-meta/discussions/632}
|
|
|
|
*/
|
|
|
|
|
2022-12-16 14:01:16 +03:00
|
|
|
export * from "./types";
|
2022-10-14 07:13:17 +03:00
|
|
|
export * from "./models/VoiceBroadcastPlayback";
|
2022-11-10 11:38:48 +03:00
|
|
|
export * from "./models/VoiceBroadcastPreRecording";
|
2022-10-14 07:13:17 +03:00
|
|
|
export * from "./models/VoiceBroadcastRecording";
|
2022-10-12 01:31:28 +03:00
|
|
|
export * from "./audio/VoiceBroadcastRecorder";
|
|
|
|
export * from "./components/VoiceBroadcastBody";
|
|
|
|
export * from "./components/atoms/LiveBadge";
|
2022-10-20 11:04:14 +03:00
|
|
|
export * from "./components/atoms/VoiceBroadcastControl";
|
2023-01-24 13:20:26 +03:00
|
|
|
export * from "./components/atoms/VoiceBroadcastError";
|
2022-10-12 17:00:37 +03:00
|
|
|
export * from "./components/atoms/VoiceBroadcastHeader";
|
2022-12-15 14:43:01 +03:00
|
|
|
export * from "./components/atoms/VoiceBroadcastPlaybackControl";
|
2023-01-17 10:57:59 +03:00
|
|
|
export * from "./components/atoms/VoiceBroadcastRecordingConnectionError";
|
2022-12-06 12:56:29 +03:00
|
|
|
export * from "./components/atoms/VoiceBroadcastRoomSubtitle";
|
2023-03-16 14:07:29 +03:00
|
|
|
export * from "./components/molecules/ConfirmListenBroadcastStopCurrent";
|
2022-10-14 07:13:17 +03:00
|
|
|
export * from "./components/molecules/VoiceBroadcastPlaybackBody";
|
2022-12-15 14:43:01 +03:00
|
|
|
export * from "./components/molecules/VoiceBroadcastSmallPlaybackBody";
|
2022-11-10 11:38:48 +03:00
|
|
|
export * from "./components/molecules/VoiceBroadcastPreRecordingPip";
|
2022-10-12 01:31:28 +03:00
|
|
|
export * from "./components/molecules/VoiceBroadcastRecordingBody";
|
2022-10-14 21:12:26 +03:00
|
|
|
export * from "./components/molecules/VoiceBroadcastRecordingPip";
|
2022-11-10 11:38:48 +03:00
|
|
|
export * from "./hooks/useCurrentVoiceBroadcastPreRecording";
|
|
|
|
export * from "./hooks/useCurrentVoiceBroadcastRecording";
|
2022-12-06 12:56:29 +03:00
|
|
|
export * from "./hooks/useHasRoomLiveVoiceBroadcast";
|
2022-10-14 21:12:26 +03:00
|
|
|
export * from "./hooks/useVoiceBroadcastRecording";
|
2022-10-14 07:13:17 +03:00
|
|
|
export * from "./stores/VoiceBroadcastPlaybacksStore";
|
2022-11-10 11:38:48 +03:00
|
|
|
export * from "./stores/VoiceBroadcastPreRecordingStore";
|
2022-10-12 01:31:28 +03:00
|
|
|
export * from "./stores/VoiceBroadcastRecordingsStore";
|
2022-11-10 11:38:48 +03:00
|
|
|
export * from "./utils/checkVoiceBroadcastPreConditions";
|
2023-01-24 13:58:37 +03:00
|
|
|
export * from "./utils/cleanUpBroadcasts";
|
2022-11-24 11:08:41 +03:00
|
|
|
export * from "./utils/doClearCurrentVoiceBroadcastPlaybackIfStopped";
|
|
|
|
export * from "./utils/doMaybeSetCurrentVoiceBroadcastPlayback";
|
2022-10-20 16:41:10 +03:00
|
|
|
export * from "./utils/getChunkLength";
|
2022-11-10 13:53:49 +03:00
|
|
|
export * from "./utils/getMaxBroadcastLength";
|
2022-10-19 16:01:14 +03:00
|
|
|
export * from "./utils/hasRoomLiveVoiceBroadcast";
|
2023-02-01 15:32:49 +03:00
|
|
|
export * from "./utils/isRelatedToVoiceBroadcast";
|
2022-12-23 18:44:01 +03:00
|
|
|
export * from "./utils/isVoiceBroadcastStartedEvent";
|
2022-10-21 10:30:02 +03:00
|
|
|
export * from "./utils/findRoomLiveVoiceBroadcastFromUserAndDevice";
|
2022-12-22 13:37:07 +03:00
|
|
|
export * from "./utils/retrieveStartedInfoEvent";
|
2022-10-14 07:13:17 +03:00
|
|
|
export * from "./utils/shouldDisplayAsVoiceBroadcastRecordingTile";
|
2022-10-12 01:31:28 +03:00
|
|
|
export * from "./utils/shouldDisplayAsVoiceBroadcastTile";
|
2022-12-12 18:03:56 +03:00
|
|
|
export * from "./utils/shouldDisplayAsVoiceBroadcastStoppedText";
|
2022-10-12 01:31:28 +03:00
|
|
|
export * from "./utils/startNewVoiceBroadcastRecording";
|
2022-12-12 18:03:56 +03:00
|
|
|
export * from "./utils/textForVoiceBroadcastStoppedEvent";
|
2022-12-16 14:01:16 +03:00
|
|
|
export * from "./utils/textForVoiceBroadcastStoppedEventWithoutLink";
|
2022-10-21 10:30:02 +03:00
|
|
|
export * from "./utils/VoiceBroadcastResumer";
|