Add voice broadcast recording body (#9316)

* Add voice broadcast recording body

* Change icon element; update css variables

* Update Icon-test snapshots
This commit is contained in:
Michael Weimann 2022-09-26 15:29:38 +02:00 committed by GitHub
parent d077ea1990
commit 8e719d57a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 1059 additions and 7 deletions

View file

@ -14,4 +14,30 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
/**
* Voice Broadcast module
* {@link https://github.com/vector-im/element-meta/discussions/632}
*/
import { RelationType } from "matrix-js-sdk/src/matrix";
export * from "./components";
export * from "./utils";
export const VoiceBroadcastInfoEventType = "io.element.voice_broadcast_info";
export enum VoiceBroadcastInfoState {
Started = "started",
Paused = "paused",
Running = "running",
Stopped = "stopped",
}
export interface VoiceBroadcastInfoEventContent {
state: VoiceBroadcastInfoState;
chunk_length: number;
["m.relates_to"]?: {
rel_type: RelationType;
event_id: string;
};
}