diff --git a/client.go b/client.go index 876f01d..3780c19 100644 --- a/client.go +++ b/client.go @@ -99,7 +99,7 @@ type clientMessage struct { Candidate *webrtc.ICECandidateInit `json:"candidate,omitempty"` Del bool `json:"del,omitempty"` AudioRate int `json:"audiorate,omitempty"` - VideoRate int `json:"audiorate,omitempty"` + VideoRate int `json:"videorate,omitempty"` } type closeMessage struct {