Live video on the AT Protocol
1package constants
2
3var PLACE_STREAM_KEY = "place.stream.key" //nolint:all
4var PLACE_STREAM_LIVESTREAM = "place.stream.livestream" //nolint:all
5var PLACE_STREAM_CHAT_MESSAGE = "place.stream.chat.message" //nolint:all
6var PLACE_STREAM_CHAT_PROFILE = "place.stream.chat.profile" //nolint:all
7var PLACE_STREAM_SERVER_SETTINGS = "place.stream.server.settings" //nolint:all
8var PLACE_STREAM_LIVE_TELEPORT = "place.stream.live.teleport" //nolint:all
9var PLACE_STREAM_MODERATION_PERMISSION = "place.stream.moderation.permission" //nolint:all
10var STREAMPLACE_SIGNING_KEY = "signingKey" //nolint:all
11var APP_BSKY_GRAPH_FOLLOW = "app.bsky.graph.follow" //nolint:all
12var APP_BSKY_FEED_POST = "app.bsky.feed.post" //nolint:all
13var APP_BSKY_GRAPH_BLOCK = "app.bsky.graph.block" //nolint:all
14var PLACE_STREAM_CHAT_GATE = "place.stream.chat.gate" //nolint:all
15var PLACE_STREAM_DEFAULT_METADATA = "place.stream.metadata.configuration" //nolint:all
16var PLACE_STREAM_LIVE_RECOMMENDATIONS = "place.stream.live.recommendations" //nolint:all
17
18const DID_KEY_PREFIX = "did:key" //nolint:all
19const ADDRESS_KEY_PREFIX = "0x" //nolint:all
20
21// Streamplace metadata license values
22const (
23 LicenseCC0_1_0 = "place.stream.metadata.contentRights#cc0_1__0"
24 LicenseCCBy_4_0 = "place.stream.metadata.contentRights#cc-by_4__0"
25 LicenseCCBySA_4_0 = "place.stream.metadata.contentRights#cc-by-sa_4__0"
26 LicenseCCByNC_4_0 = "place.stream.metadata.contentRights#cc-by-nc_4__0"
27 LicenseCCByNCSA_4_0 = "place.stream.metadata.contentRights#cc-by-nc-sa_4__0"
28 LicenseCCByND_4_0 = "place.stream.metadata.contentRights#cc-by-nd_4__0"
29 LicenseCCByNCND_4_0 = "place.stream.metadata.contentRights#cc-by-nc-nd_4__0"
30 LicenseAllRightsReserved = "place.stream.metadata.contentRights#all-rights-reserved"
31)
32
33// License URLs for C2PA manifests
34const (
35 LicenseURLCC0_1_0 = "http://creativecommons.org/publicdomain/zero/1.0/"
36 LicenseURLCCBy_4_0 = "http://creativecommons.org/licenses/by/4.0/"
37 LicenseURLCCBySA_4_0 = "http://creativecommons.org/licenses/by-sa/4.0/"
38 LicenseURLCCByNC_4_0 = "http://creativecommons.org/licenses/by-nc/4.0/"
39 LicenseURLCCByNCSA_4_0 = "http://creativecommons.org/licenses/by-nc-sa/4.0/"
40 LicenseURLCCByND_4_0 = "http://creativecommons.org/licenses/by-nd/4.0/"
41 LicenseURLCCByNCND_4_0 = "http://creativecommons.org/licenses/by-nc-nd/4.0/"
42)
43
44// Streamplace metadata warning labels
45const (
46 WarningDeath = "place.stream.metadata.contentWarnings#death"
47 WarningDrugUse = "place.stream.metadata.contentWarnings#drugUse"
48 WarningFantasyViolence = "place.stream.metadata.contentWarnings#fantasyViolence"
49 WarningFlashingLights = "place.stream.metadata.contentWarnings#flashingLights"
50 WarningLanguage = "place.stream.metadata.contentWarnings#language"
51 WarningNudity = "place.stream.metadata.contentWarnings#nudity"
52 WarningPII = "place.stream.metadata.contentWarnings#PII"
53 WarningSexuality = "place.stream.metadata.contentWarnings#sexuality"
54 WarningSuffering = "place.stream.metadata.contentWarnings#suffering"
55 WarningViolence = "place.stream.metadata.contentWarnings#violence"
56)
57
58// Content warning C2PA codes for manifests
59const (
60 WarningC2PADeath = "cwarn:death"
61 WarningC2PADrugUse = "cwarn:drugUse"
62 WarningC2PAFantasyViolence = "cwarn:fantasyViolence"
63 WarningC2PAFlashingLights = "cwarn:flashingLights"
64 WarningC2PALanguage = "cwarn:language"
65 WarningC2PANudity = "cwarn:nudity"
66 WarningC2PAPII = "cwarn:PII"
67 WarningC2PASexuality = "cwarn:sexuality"
68 WarningC2PASuffering = "cwarn:suffering"
69 WarningC2PAViolence = "cwarn:violence"
70)