persist hidden field to startSession

This commit is contained in:
David Colburn
2021-07-20 17:23:06 -07:00
parent 4bab395ac9
commit d7be9096c6
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ require (
github.com/google/wire v0.5.0
github.com/gorilla/websocket v1.4.2
github.com/jxskiss/base62 v0.0.0-20191017122030-4f11678b909b
github.com/livekit/protocol v0.5.8
github.com/livekit/protocol v0.5.9
github.com/magefile/mage v1.11.0
github.com/maxbrunsfeld/counterfeiter/v6 v6.3.0
github.com/mitchellh/go-homedir v1.1.0
+2 -2
View File
@@ -237,8 +237,8 @@ github.com/lithammer/shortuuid/v3 v3.0.6 h1:pr15YQyvhiSX/qPxncFtqk+v4xLEpOZObbsY
github.com/lithammer/shortuuid/v3 v3.0.6/go.mod h1:vMk8ke37EmiewwolSO1NLW8vP4ZaKlRuDIi8tWWmAts=
github.com/livekit/ion-sfu v1.20.3 h1:1xfWnbg3tgXHLQWDaRQvuD/DtIOp72hAHDaDutP/i6M=
github.com/livekit/ion-sfu v1.20.3/go.mod h1:dEdOG4KSqIftr5HxxqciNKBIdu0v3OD0ZYL7A3J09KA=
github.com/livekit/protocol v0.5.8 h1:gcHZ1afxtmYrs8TvL1HqlRDFrF7SjnTbxCNWZGM5kik=
github.com/livekit/protocol v0.5.8/go.mod h1:wo3CGfYB7XMF8GoVJAfTARrYSP/ombi+sbLl6AYdKP0=
github.com/livekit/protocol v0.5.9 h1:NIA/nX74dv199oVmfGCbBK5qpuHTDu6h0K7DAPiM++w=
github.com/livekit/protocol v0.5.9/go.mod h1:wo3CGfYB7XMF8GoVJAfTARrYSP/ombi+sbLl6AYdKP0=
github.com/lucsky/cuid v1.0.2 h1:z4XlExeoderxoPj2/dxKOyPxe9RCOu7yNq9/XWxIUMQ=
github.com/lucsky/cuid v1.0.2/go.mod h1:QaaJqckboimOmhRSJXSx/+IT+VTfxfPGSo/6mfgUfmE=
github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ=
+2
View File
@@ -160,6 +160,7 @@ func (r *RedisRouter) StartParticipantSignal(roomName string, pi ParticipantInit
ProtocolVersion: pi.ProtocolVersion,
UsePlanB: pi.UsePlanB,
AutoSubscribe: pi.AutoSubscribe,
Hidden: pi.Hidden,
})
if err != nil {
return
@@ -229,6 +230,7 @@ func (r *RedisRouter) startParticipantRTC(ss *livekit.StartSession, participantK
ProtocolVersion: ss.ProtocolVersion,
UsePlanB: ss.UsePlanB,
AutoSubscribe: ss.AutoSubscribe,
Hidden: ss.Hidden,
}
reqChan := r.getOrCreateMessageChannel(r.requestChannels, participantKey)