Skip to content

place.stream.live.subscribeSegments

Lexicon Version: 1

Type: subscription

Subscribe to a stream’s new segments as they come in!

Parameters:

NameTypeReq’dDescriptionConstraints
streamerstringThe DID of the streamer to subscribe to

Message:

  • Schema:

Schema Type: Union of:
  #segment


Type: bytes

MP4 file of a user’s signed livestream segment


{
"lexicon": 1,
"id": "place.stream.live.subscribeSegments",
"defs": {
"main": {
"type": "subscription",
"description": "Subscribe to a stream's new segments as they come in!",
"parameters": {
"type": "params",
"required": ["streamer"],
"properties": {
"streamer": {
"type": "string",
"description": "The DID of the streamer to subscribe to"
}
}
},
"message": {
"schema": {
"type": "union",
"refs": ["#segment"]
}
},
"errors": []
},
"segment": {
"type": "bytes",
"description": "MP4 file of a user's signed livestream segment"
}
}
}