Live video on the AT Protocol
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package streamplace
4
5// schema: place.stream.broadcast.origin
6
7import (
8 "github.com/bluesky-social/indigo/lex/util"
9)
10
11func init() {
12 util.RegisterType("place.stream.broadcast.origin", &BroadcastOrigin{})
13} //
14// RECORDTYPE: BroadcastOrigin
15type BroadcastOrigin struct {
16 LexiconTypeID string `json:"$type,const=place.stream.broadcast.origin" cborgen:"$type,const=place.stream.broadcast.origin"`
17 // broadcaster: did of the broadcaster that operates the server syndicating the livestream
18 Broadcaster *string `json:"broadcaster,omitempty" cborgen:"broadcaster,omitempty"`
19 // irohTicket: Iroh ticket that can be used to access the livestream from the server
20 IrohTicket *string `json:"irohTicket,omitempty" cborgen:"irohTicket,omitempty"`
21 // server: did of the server that's currently rebroadcasting the livestream
22 Server string `json:"server" cborgen:"server"`
23 // streamer: DID of the streamer whose livestream is being published
24 Streamer string `json:"streamer" cborgen:"streamer"`
25 // updatedAt: Periodically updated timestamp when this origin last saw a livestream
26 UpdatedAt string `json:"updatedAt" cborgen:"updatedAt"`
27 // websocketURL: URL of the websocket endpoint for the livestream
28 WebsocketURL *string `json:"websocketURL,omitempty" cborgen:"websocketURL,omitempty"`
29}