Implements protocol 3 speaker updates (#120)

* Disallow AddTrack from participants that don't have the permission

* Support protocol 3 speaker updates, client info

* update protocol

* Disallow AddTrack from participants that don't have the permission

* increase wait time for GH to pass
This commit is contained in:
David Zhao
2021-09-17 11:47:13 -07:00
committed by GitHub
parent abde72a907
commit ff47301820
12 changed files with 192 additions and 139 deletions
+4 -2
View File
@@ -227,10 +227,12 @@ func (r *LocalRoomManager) StartSession(ctx context.Context, roomName string, pi
"room", roomName,
"nodeID", r.currentNode.Id,
"participant", pi.Identity,
"protocol", pi.ProtocolVersion,
"sdk", pi.Client.Sdk,
"sdkVersion", pi.Client.Version,
"protocol", pi.Client.Protocol,
)
pv := types.ProtocolVersion(pi.ProtocolVersion)
pv := types.ProtocolVersion(pi.Client.Protocol)
rtcConf := *r.rtcConfig
rtcConf.SetBufferFactory(room.GetBufferFactor())
participant, err = rtc.NewParticipant(rtc.ParticipantParams{