Display max layer in stats.

This commit is contained in:
Juliusz Chroboczek
2021-05-17 13:51:29 +02:00
parent fd76abb61d
commit 91fa693709
3 changed files with 7 additions and 5 deletions
+2 -1
View File
@@ -47,7 +47,8 @@ func (d *Duration) UnmarshalJSON(buf []byte) error {
}
type Track struct {
Layer *int `json:"layer,omitempty"`
Layer *uint8 `json:"layer,omitempty"`
MaxLayer *uint8 `json:"maxLayer,omitempty"`
Bitrate uint64 `json:"bitrate"`
MaxBitrate uint64 `json:"maxBitrate,omitempty"`
Loss float64 `json:"loss"`