-
-
Notifications
You must be signed in to change notification settings - Fork 88
/
m.room.message#m.video
66 lines (66 loc) · 2.06 KB
/
m.room.message#m.video
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
allOf:
- $ref: core-event-schema/room_event.yaml
description: This message represents a single video clip.
properties:
content:
properties:
body:
description: "A description of the video e.g. 'Gangnam style', or some kind of content description for accessibility e.g. 'video attachment'."
type: string
info:
description: Metadata about the video clip referred to in ``url``.
properties:
duration:
description: The duration of the video in milliseconds.
type: integer
h:
description: The height of the video in pixels.
type: integer
w:
description: The width of the video in pixels.
type: integer
mimetype:
description: The mimetype of the video e.g. ``video/mp4``.
type: string
size:
description: The size of the video in bytes.
type: integer
thumbnail_url:
description: The URL to an image thumbnail of the video clip.
type: string
thumbnail_file:
description: |-
Information on the encrypted thumbnail file, as specified in
|encrypted_files|_.
title: EncryptedFile
type: object
thumbnail_info:
allOf:
- $ref: core-event-schema/msgtype_infos/thumbnail_info.yaml
description: Metadata about the image referred to in ``thumbnail_url``.
title: VideoInfo
type: object
msgtype:
enum:
- m.video
type: string
url:
description: Required if the file is unencrypted. The URL to the video clip.
type: string
file:
description: |-
Required if the file is encrypted. Information on the encrypted
file, as specified in |encrypted_files|_.
title: EncryptedFile
type: object
required:
- msgtype
- body
type: object
type:
enum:
- m.room.message
type: string
title: VideoMessage
type: object