Live video on the AT Protocol
79
fork

Configure Feed

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

at v0.8.18 39 lines 1.0 kB view raw
1package main 2 3import ( 4 "stream.place/streamplace/pkg/streamplace" 5 6 cbg "github.com/whyrusleeping/cbor-gen" 7) 8 9func main() { 10 genCfg := cbg.Gen{ 11 MaxStringLength: 1_000_000, 12 } 13 14 if err := genCfg.WriteMapEncodersToFile("pkg/streamplace/cbor_gen.go", "streamplace", 15 streamplace.Key{}, 16 streamplace.Livestream{}, 17 streamplace.Livestream_NotificationSettings{}, 18 streamplace.Segment{}, 19 streamplace.Segment_Audio{}, 20 streamplace.Segment_Video{}, 21 streamplace.Segment_Framerate{}, 22 streamplace.ChatMessage{}, 23 streamplace.RichtextFacet{}, 24 streamplace.ChatProfile{}, 25 streamplace.ChatProfile_Color{}, 26 streamplace.ChatMessage_ReplyRef{}, 27 streamplace.ServerSettings{}, 28 streamplace.ChatGate{}, 29 streamplace.BroadcastOrigin{}, 30 streamplace.BroadcastSyndication{}, 31 streamplace.MetadataConfiguration{}, 32 streamplace.MetadataDistributionPolicy{}, 33 streamplace.MetadataContentRights{}, 34 streamplace.MetadataContentWarnings{}, 35 streamplace.LiveRecommendations{}, 36 ); err != nil { 37 panic(err) 38 } 39}