From 38e3260e77ac1fb58007caadd2a77d2e1c39d243 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Sat, 25 Apr 2020 14:45:12 +0200 Subject: [PATCH] Fix typo in bitrate setting. --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {