Skip to content

place.stream.metadata.distributionPolicy

Lexicon Version: 1

Type: object

Distribution and rebroadcast policy.

Properties:

NameTypeReq’dDescriptionConstraints
deleteAfterintegerDuration in seconds after which segments should be deleted. Each segment will expire N seconds after its creation time. -1 to allow indefinite archival.
allowedBroadcastersArray of stringList of did:webs of the broadcasters you want to allow to distribute your content. ”*” allows anyone. Starting a line with a ”!” bans that broadcaster.

{
"lexicon": 1,
"id": "place.stream.metadata.distributionPolicy",
"defs": {
"main": {
"type": "object",
"description": "Distribution and rebroadcast policy.",
"properties": {
"deleteAfter": {
"type": "integer",
"description": "Duration in seconds after which segments should be deleted. Each segment will expire N seconds after its creation time. -1 to allow indefinite archival."
},
"allowedBroadcasters": {
"type": "array",
"description": "List of did:webs of the broadcasters you want to allow to distribute your content. \"*\" allows anyone. Starting a line with a \"!\" bans that broadcaster.",
"items": {
"type": "string"
}
}
}
}
}
}