Codec for marmot.group.encrypted-media.v1 (0x8008) — the group's
encrypted-media policy: the media format, the allowed blob locator kinds, and
the default blob-store endpoints.
Wire (Marmot binary profile):
opaque media_format; // must be "encrypted-media-v1"
opaque allowed_locator_kinds; // concat of opaque kind
opaque default_blob_endpoints; // concat of opaque endpoint
// each endpoint = opaque locator_kind ++ opaque base_url
Locator kinds are normalized (trim, ASCII-lowercase, [a-z0-9-], ≤64 bytes)
and deduped; endpoint URLs are validated + normalized (loopback http
allowed). At least one allowed kind and one endpoint are required.
Codec for
marmot.group.encrypted-media.v1(0x8008) — the group's encrypted-media policy: the media format, the allowed blob locator kinds, and the default blob-store endpoints.Wire (Marmot binary profile): opaque media_format; // must be "encrypted-media-v1"
opaque allowed_locator_kinds; // concat of opaque kind
opaque default_blob_endpoints; // concat of opaque endpoint
// each endpoint = opaque locator_kind ++ opaque base_url
Locator kinds are normalized (trim, ASCII-lowercase,
[a-z0-9-], ≤64 bytes) and deduped; endpoint URLs are validated + normalized (loopbackhttpallowed). At least one allowed kind and one endpoint are required.