This message was deleted.
# announcements
s
This message was deleted.
a
Which sdk are you using? The recorder participant should be invisible
r
https://example.livekit.io/#/ I joined the video chat here
livekit-server log shows
livekit	rtc/room.go:229	new participant joined	{"room": "room2022", "roomID": "RM_3cRhQ6SSQf2G", "pID": "PA_pDurrh4qdJHG", "participant": "RR_uUCp6fgNp6v5", "protocol": 4, "options": {"AutoSubscribe":true}}
I think
options
missed something
livekit-recorder log shows
Copy code
json
{
  "exp": 1648190912,
  "iss": "APISMgsXoajDrTf",
  "jti": "RR_BLoV6Fk9mzB2",
  "nbf": 1648104512,
  "sub": "RR_BLoV6Fk9mzB2",
  "video": {
    "canPublish": false,
    "canPublishData": false,
    "canSubscribe": true,
    "hidden": true,
    "recorder": true,
    "room": "room2022",
    "roomJoin": true
  }
}
add log at https://github.com/livekit/livekit-server/blob/f293de054df603af5ab3c1ff7c0eda18bf73dbab/pkg/routing/redisrouter.go#L260
{"Identity":"RR_FJF8rBJi2bGZ","Name":"","Metadata":"","Reconnect":false,"Permission":{"can_subscribe":true},"AutoSubscribe":true,"Hidden":true,"Recorder":true,"Client":{"sdk":1,"version":"0.13.4","protocol":4,"os":"Linux","device_model":"Other","browser":"Chrome","browser_version":"98.0.4758","address":"127.0.0.1:33622"},"Grants":{"video":{"roomJoin":true,"room":"room2022","canPublish":false,"canSubscribe":true,"canPublishData":false,"hidden":true,"recorder":true}}}
looks good here
if alice is hidden, the other players should not subscribe alice, where is this logic, https://github.com/livekit/livekit-server/blob/61655c6ff05625ecd86557711cec38a4a9f7167d/pkg/rtc/participant.go#L243 , I can not tell difference between visible ones and invisible ones.
it will trigger sending offer sdp regardless self is visible or not