steep-balloon-41261
05/04/2023, 10:53 AMpolite-kilobyte-67570
05/04/2023, 11:03 AMwooden-park-67608
05/04/2023, 11:07 AMbrief-refrigerator-69901
05/04/2023, 12:55 PMpolite-kilobyte-67570
05/04/2023, 1:19 PMwooden-park-67608
05/04/2023, 2:00 PMbrief-refrigerator-69901
05/04/2023, 2:02 PMwooden-park-67608
05/04/2023, 2:04 PMbrief-refrigerator-69901
05/04/2023, 2:04 PMwooden-park-67608
05/04/2023, 2:06 PMbrief-refrigerator-69901
05/04/2023, 2:07 PMbrief-refrigerator-69901
05/04/2023, 2:11 PMwooden-park-67608
05/04/2023, 2:15 PMbrief-refrigerator-69901
05/04/2023, 2:25 PMpolite-kilobyte-67570
05/04/2023, 2:39 PMThe idea is for the streamers to switch, first one would sit down and tell stories, and then when one leaves, another would sit in his place.I’m not sure I follow. This sounds like the fact that a streamer leaving and having permissions reset to viewer-only is actually a good thing for your use case? 1. Alice joins with subscribe only permissions 2. App grants alice publish permissions when it’s her streaming slot is available 3. Alice disconnects, App grants publish permissions to someone else 4. Alice connects again and has to wait again until publishing rights are granted in order to stream
polite-kilobyte-67570
05/04/2023, 2:41 PMbut I noticed that the SetValidFor method doesn’t work quite as I expected. For example, I set the lifetime of the token to SetValidFor(30 * time.Second), but the token still lived for one minute.Yeah, this is currently expected, the team discussed internally already whether it would be a good idea to lower this leeway (the leeway being 60 seconds right now)
wooden-park-67608
05/04/2023, 2:51 PMwooden-park-67608
05/04/2023, 2:52 PMgrant := &auth.VideoGrant{
RoomCreate: false,
Room: roomName,
RoomJoin: true,
}
brief-refrigerator-69901
05/04/2023, 2:53 PMbrief-refrigerator-69901
05/04/2023, 2:54 PMwooden-park-67608
05/04/2023, 4:09 PM