0

Support framerate to be a float. For #378

This commit is contained in:
Gabe Kangas 2020-11-17 21:21:19 -08:00
parent 437b3063f8
commit 09b570d64c

View File

@ -12,7 +12,7 @@ type Broadcaster struct {
type InboundStreamDetails struct {
Width int `json:"width"`
Height int `json:"height"`
VideoFramerate int `json:"framerate"`
VideoFramerate float32 `json:"framerate"`
VideoBitrate int `json:"videoBitrate"`
VideoCodec string `json:"videoCodec"`
AudioBitrate int `json:"audioBitrate"`
@ -26,7 +26,7 @@ type RTMPStreamMetadata struct {
Height int `json:"height"`
VideoBitrate float32 `json:"videodatarate"`
VideoCodec interface{} `json:"videocodecid"`
VideoFramerate int `json:"framerate"`
VideoFramerate float32 `json:"framerate"`
AudioBitrate float32 `json:"audiodatarate"`
AudioCodec interface{} `json:"audiocodecid"`
Encoder string `json:"encoder"`