fork
Configure Feed
Select the types of activity you want to include in your feed.
Live video on the AT Protocol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1package mistclient
2
3type MistStreamInfoTrack struct {
4 Codec string `json:"codec,omitempty"`
5 Firstms int64 `json:"firstms,omitempty"`
6 Idx int `json:"idx,omitempty"`
7 Init string `json:"init,omitempty"`
8 Lastms int64 `json:"lastms,omitempty"`
9 Maxbps int `json:"maxbps,omitempty"`
10 Trackid int `json:"trackid,omitempty"`
11 Type string `json:"type,omitempty"`
12 Bps int `json:"bps,omitempty"`
13
14 // Audio Only Fields
15 Channels int `json:"channels,omitempty"`
16 Rate int `json:"rate,omitempty"`
17 Size int `json:"size,omitempty"`
18
19 // Video Only Fields
20 Bframes int `json:"bframes,omitempty"`
21 Fpks int `json:"fpks,omitempty"`
22 Height int `json:"height,omitempty"`
23 Width int `json:"width,omitempty"`
24}
25
26type MistPush struct {
27 ID int64
28 Stream string
29 OriginalURL string
30 EffectiveURL string
31 Stats *MistPushStats
32}
33
34type MistPushStats struct {
35 ActiveSeconds int64 `json:"active_seconds"`
36 Bytes int64 `json:"bytes"`
37 MediaTime int64 `json:"mediatime"`
38 Tracks []int `json:"tracks"`
39}