Live video on the AT Protocol
79
fork

Configure Feed

Select the types of activity you want to include in your feed.

at eli/rtmp-push 19 lines 304 B view raw
1package spid 2 3import ( 4 "crypto/rand" 5 "math/big" 6 7 "github.com/bluesky-social/indigo/atproto/syntax" 8) 9 10var TIDClock *syntax.TIDClock 11 12func init() { 13 id, err := rand.Int(rand.Reader, big.NewInt(1024)) 14 if err != nil { 15 panic(err) 16 } 17 clock := syntax.NewTIDClock(uint(id.Uint64())) 18 TIDClock = &clock 19}