full diff

place.stream.segment

stream.place +0 −0
From
bafyreicl63iio5bncr5ijec3j5yppulmfvpvgezn6xjlqzdz5c5o6yzgmq indexed 2026-11-04 01:29 UTC View this version
To
bafyreicl63iio5bncr5ijec3j5yppulmfvpvgezn6xjlqzdz5c5o6yzgmq indexed 2026-11-04 01:29 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "audio": {
55 "properties": {
66 "channels": {
77 "type": "integer"
88 },
99 "codec": {
1010 "enum": [
1111 "opus",
1212 "aac"
1313 ],
1414 "type": "string"
1515 },
1616 "rate": {
1717 "type": "integer"
1818 }
1919 },
2020 "required": [
2121 "codec",
2222 "rate",
2323 "channels"
2424 ],
2525 "type": "object"
2626 },
2727 "framerate": {
2828 "properties": {
2929 "den": {
3030 "type": "integer"
3131 },
3232 "num": {
3333 "type": "integer"
3434 }
3535 },
3636 "required": [
3737 "num",
3838 "den"
3939 ],
4040 "type": "object"
4141 },
4242 "main": {
4343 "description": "Media file representing a segment of a livestream",
4444 "key": "tid",
4545 "record": {
4646 "properties": {
4747 "audio": {
4848 "items": {
4949 "ref": "#audio",
5050 "type": "ref"
5151 },
5252 "type": "array"
5353 },
5454 "contentRights": {
5555 "ref": "place.stream.metadata.contentRights",
5656 "type": "ref"
5757 },
5858 "contentWarnings": {
5959 "ref": "place.stream.metadata.contentWarnings",
6060 "type": "ref"
6161 },
6262 "creator": {
6363 "format": "did",
6464 "type": "string"
6565 },
6666 "distributionPolicy": {
6767 "ref": "place.stream.metadata.distributionPolicy",
6868 "type": "ref"
6969 },
7070 "duration": {
7171 "description": "The duration of the segment in nanoseconds",
7272 "type": "integer"
7373 },
7474 "id": {
7575 "description": "Unique identifier for the segment",
7676 "type": "string"
7777 },
7878 "signingKey": {
7979 "description": "The DID of the signing key used for this segment",
8080 "type": "string"
8181 },
8282 "size": {
8383 "description": "The size of the segment in bytes",
8484 "type": "integer"
8585 },
8686 "startTime": {
8787 "description": "When this segment started",
8888 "format": "datetime",
8989 "type": "string"
9090 },
9191 "video": {
9292 "items": {
9393 "ref": "#video",
9494 "type": "ref"
9595 },
9696 "type": "array"
9797 }
9898 },
9999 "required": [
100100 "id",
101101 "signingKey",
102102 "startTime",
103103 "creator"
104104 ],
105105 "type": "object"
106106 },
107107 "type": "record"
108108 },
109109 "segmentView": {
110110 "properties": {
111111 "cid": {
112112 "format": "cid",
113113 "type": "string"
114114 },
115115 "record": {
116116 "type": "unknown"
117117 }
118118 },
119119 "required": [
120120 "cid",
121121 "record"
122122 ],
123123 "type": "object"
124124 },
125125 "video": {
126126 "properties": {
127127 "bframes": {
128128 "type": "boolean"
129129 },
130130 "codec": {
131131 "enum": [
132132 "h264"
133133 ],
134134 "type": "string"
135135 },
136136 "framerate": {
137137 "ref": "#framerate",
138138 "type": "ref"
139139 },
140140 "height": {
141141 "type": "integer"
142142 },
143143 "width": {
144144 "type": "integer"
145145 }
146146 },
147147 "required": [
148148 "codec",
149149 "width",
150150 "height"
151151 ],
152152 "type": "object"
153153 }
154154 },
155155 "id": "place.stream.segment",
156156 "lexicon": 1
157157}